{
  "name": "metkagram-static-mcp",
  "version": "1.0.0+20260715",
  "description": "MCP-compatible tool specification for the Metkagram static API. No server is required: resolve tool calls by fetching the documented static URLs.",
  "attribution": {
    "source": "Metkagram",
    "source_url": "https://metkagram.github.io",
    "source_repository": "https://github.com/metkagram/metkagram.github.io",
    "creator": "Metkagram",
    "creator_url": "https://github.com/metkagram",
    "maintainer": "Applied Systems Lab at MetalHatsCats",
    "maintainer_url": "https://metalhatscats.com",
    "license": "CC BY-NC 4.0",
    "license_url": "https://creativecommons.org/licenses/by-nc/4.0/",
    "attribution_required": true,
    "attribution_text": "Source: Metkagram — https://metkagram.github.io/",
    "attribution_html": "Source: <a href=\"https://metkagram.github.io/\">Metkagram</a>",
    "terms_url": "https://metkagram.github.io/en/legal/terms/",
    "privacy_url": "https://metkagram.github.io/en/legal/privacy/",
    "contact_url": "https://metalhatscats.com/contact",
    "collaboration_url": "https://metkagram.github.io/en/ai/#collaborate"
  },
  "tools": [
    {
      "name": "metkagram_list_patterns",
      "description": "List all reusable B2–C1 pattern summaries.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "default": 1
          }
        }
      },
      "staticUrl": "https://metkagram.github.io/api/v1/patterns/index.json"
    },
    {
      "name": "metkagram_get_pattern",
      "description": "Get a single pattern by ID.",
      "inputSchema": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string"
          }
        }
      },
      "staticUrlTemplate": "https://metkagram.github.io/api/v1/patterns/{id}.json"
    },
    {
      "name": "metkagram_list_sets",
      "description": "List all study sets.",
      "inputSchema": {
        "type": "object"
      },
      "staticUrl": "https://metkagram.github.io/api/v1/sets.json"
    },
    {
      "name": "metkagram_get_set",
      "description": "Get a study set and its patterns.",
      "inputSchema": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string"
          }
        }
      },
      "staticUrlTemplate": "https://metkagram.github.io/api/v1/sets/{id}.json"
    },
    {
      "name": "metkagram_search_index",
      "description": "Download the static search index (patterns, sets, categories).",
      "inputSchema": {
        "type": "object"
      },
      "staticUrl": "https://metkagram.github.io/api/v1/search-index.json"
    },
    {
      "name": "metkagram_list_annotations",
      "description": "List annotated documents for a target language and collection.",
      "inputSchema": {
        "type": "object",
        "required": [
          "target",
          "collection"
        ],
        "properties": {
          "target": {
            "type": "string",
            "enum": [
              "en",
              "de"
            ]
          },
          "collection": {
            "type": "string",
            "enum": [
              "dialogues",
              "patterns",
              "library"
            ]
          }
        }
      },
      "staticUrlTemplate": "https://metkagram.github.io/api/v1/annotations/{target}/{collection}.json"
    }
  ]
}
