{
  "name": "AzrvanAkaranA",
  "kind": "descriptive-site-tool-catalogue",
  "protocol": "WebMCP",
  "specification": "https://webmachinelearning.github.io/webmcp/",
  "currentApi": "document.modelContext",
  "previewApi": "navigator.modelContext",
  "languages": [
    "en",
    "ru",
    "et",
    "de"
  ],
  "execution": "Register tools in the live browser document; this JSON file is documentation, not an HTTP MCP endpoint.",
  "tools": [
    {
      "name": "get_site_info",
      "description": "Read the current page, language, theme, collection controls and links to all site pages and their Markdown versions.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "navigate_site",
      "description": "Navigate the visible website to a collection or homepage. An optional article section ID selects a Wheel of the Year heading.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "string",
            "enum": [
              "home",
              "wheel",
              "horror",
              "reading",
              "music",
              "videos",
              "cooking",
              "science",
              "epub",
              "fungi"
            ],
            "description": "Stable page slug from get_site_info."
          },
          "section": {
            "type": "string",
            "maxLength": 100,
            "description": "Optional Wheel article section ID returned by read_collection."
          }
        },
        "required": [
          "page"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "read_collection",
      "description": "Read a paginated snapshot of the visible collection and its current search/filter state. For a specific entry, pass entryId. Horror entry details include paginated works, original/listed titles, research status, publication metadata and citations. Article results contain sections and text.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0,
            "default": 0,
            "description": "Zero-based result offset."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 20,
            "description": "Maximum results to return, from 1 to 100."
          },
          "entryId": {
            "type": [
              "integer",
              "string"
            ],
            "description": "Optional stable entry ID from a collection listing; article sections use string IDs."
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "search_collection",
      "description": "Update the current collection search and optional filter/scope in the visible UI, then return paginated matches. Horror searches include original and listed aliases. Read valid filters from get_site_info.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "maxLength": 500,
            "description": "Search text; an empty string clears the query."
          },
          "filter": {
            "type": "string",
            "maxLength": 100,
            "description": "Optional stable filter value from get_site_info; all clears the filter."
          },
          "scope": {
            "type": "string",
            "enum": [
              "all",
              "authors",
              "works"
            ],
            "description": "Optional horror-only search scope."
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "default": 0,
            "description": "Zero-based result offset."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 20,
            "description": "Maximum results to return, from 1 to 100."
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "set_site_preferences",
      "description": "Change the visible interface language and/or color theme using the same saved preferences as the header controls. The Wheel page is always dark.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "enum": [
              "en",
              "ru",
              "et",
              "de"
            ],
            "description": "Interface language. Original bibliographic titles retain their original language."
          },
          "theme": {
            "type": "string",
            "enum": [
              "light",
              "dark"
            ],
            "description": "Color theme on pages with theme controls."
          }
        },
        "required": [],
        "additionalProperties": false
      }
    },
    {
      "name": "set_horror_sources",
      "description": "Expand or collapse the source panel beside a visible horror author or work. Use authorId from read_collection and optionally its one-based workIndex. Search for the author first if the current search hides the entry.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "authorId": {
            "type": "integer",
            "minimum": 1,
            "description": "Stable horror author group ID."
          },
          "workIndex": {
            "type": "integer",
            "minimum": 1,
            "description": "Optional one-based work index within that author group."
          },
          "expanded": {
            "type": "boolean",
            "description": "True to show citations and notes; false to collapse them."
          }
        },
        "required": [
          "authorId",
          "expanded"
        ],
        "additionalProperties": false
      }
    }
  ]
}
