Skip to main content
Glama

Search ICD-11

icd11_search
Read-onlyIdempotent

Search for medical conditions, diseases, and health problems in ICD-11 (International Classification of Diseases, 11th Revision).

Use this tool to:

  • Find ICD-11 codes for diagnoses

  • Search for diseases by name or keyword

  • Look up conditions in multiple languages

Set language for WHO's official translations — e.g. language: "pt" searches and returns the official Portuguese (pt-BR) ICD-11 labels. Never machine-translated.

Set within to search only some branches of ICD-11 (a form field that accepts only one chapter or block): a chapter number ("06", "V"), a block range ("5A10-5A14"), a category code or an entity URI — up to 10. The WHO's own subtree filter does the bounding; the resolved branches come back in within. A branch that does not exist is an error, never a silent unbounded search.

Returns matching entities with codes, titles, and relevance scores.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "icd11_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch text (disease name, symptom, or keyword)
offsetNoNumber of results to skip, to read the next page: pass `next_offset` from the previous answer, keeping the other arguments. Default: 0
withinNoOnly search these branches of ICD-11 and their descendants (up to 10): a chapter number ("06", "V"), a block range ("5A10-5A14"), a category code ("5A11") or an entity URI. Uses the WHO search subtree filter. A branch that does not exist is an error, never a silent unbounded search.
languageNoLanguage code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated.en
max_resultsNoMaximum number of results (1-100). Default: 25

Output Schema

NameRequiredDescriptionDefault
queryYesThe search text as submitted.
offsetYesResults skipped before the first one returned (the `offset` asked for).
withinYesThe branches that bounded the search, resolved at the WHO; empty when the search was unbounded.
entitiesYesMatching ICD-11 MMS entities in WHO relevance order, at most max_results, starting after `offset`.
provenanceYesProvenance block: source, URL, data vintage, extraction instant, origin diagnostics, citation, license
attributionYesCanonical source URLs of this response (attribution list)
next_offsetYes`offset` that returns the next page with the same arguments; null when this page reaches the end of the results.
total_countYesNumber of entities the WHO search returned, before the max_results cap; a floor when result_chopped is true.
result_choppedYestrue when the WHO cut the list of matches (the ICD-11 search returns at most 50): total_count is then a floor, the pages end where the WHO cut, and more matches exist out of reach — narrow the query or use `within`. false when the list is complete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Number of results to skip, to read the next page: pass `next_offset` from the previous answer, keeping the other arguments. Default: 0",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / entities / description
      Previous value: -"Matching ICD-11 MMS entities in WHO relevance order, at most max_results."New value: +"Matching ICD-11 MMS entities in WHO relevance order, at most max_results, starting after `offset`."
    • addedOutput schema / properties / next_offset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "`offset` that returns the next page with the same arguments; null when this page reaches the end of the results."
      +}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "description": "Results skipped before the first one returned (the `offset` asked for).",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / result_chopped
      Added value: +{
      +  "description": "true when the WHO cut the list of matches (the ICD-11 search returns at most 50): total_count is then a floor, the pages end where the WHO cut, and more matches exist out of reach — narrow the query or use `within`. false when the list is complete.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / total_count / description
      Previous value: -"Number of entities the WHO search returned, before the max_results cap."New value: +"Number of entities the WHO search returned, before the max_results cap; a floor when result_chopped is true."
    • changedOutput schema / required
      Previous value: -[
      -  "query",
      -  "within",
      -  "total_count",
      -  "entities",
      -  "provenance",
      -  "attribution"
      -]New value: +[
      +  "query",
      +  "within",
      +  "total_count",
      +  "result_chopped",
      +  "offset",
      +  "next_offset",
      +  "entities",
      +  "provenance",
      +  "attribution"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / within
      Added value: +{
      +  "description": "Only search these branches of ICD-11 and their descendants (up to 10): a chapter number (\"06\", \"V\"), a block range (\"5A10-5A14\"), a category code (\"5A11\") or an entity URI. Uses the WHO search subtree filter. A branch that does not exist is an error, never a silent unbounded search.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedOutput schema / properties / within
      Added value: +{
      +  "description": "The branches that bounded the search, resolved at the WHO; empty when the search was unbounded.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "description": "Code of the branch entity (chapter number, block range or category code); null when it has none.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "uri": {
      +        "description": "Entity URI of the branch; null for CID-10 (bundled, no URIs).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "value": {
      +        "description": "The branch as sent in `within`.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "value",
      +      "code",
      +      "title",
      +      "uri"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "query",
      -  "total_count",
      -  "entities",
      -  "provenance",
      -  "attribution"
      -]New value: +[
      +  "query",
      +  "within",
      +  "total_count",
      +  "entities",
      +  "provenance",
      +  "attribution"
      +]
  3. Changed3 schema fields changed
    • addedOutput schema / properties / entities / description
      Added value: +"Matching ICD-11 MMS entities in WHO relevance order, at most max_results."
    • addedOutput schema / properties / query / description
      Added value: +"The search text as submitted."
    • addedOutput schema / properties / total_count / description
      Added value: +"Number of entities the WHO search returned, before the max_results cap."
  4. Changed1 schema field changed
    • changedOutput schema / properties / provenance / properties / notices / description
      Previous value: -"Notices the source publishes alongside the data (license statements, caveats), verbatim. Absent when there is none"New value: +"Caveats the source publishes about the data, verbatim (license statements are not repeated here; see the info://licenses resource). Absent when there is none"
  5. Changed7 schema fields changed
    • changedOutput schema / properties / provenance / description
      Previous value: -"Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license"New value: +"Provenance block: source, URL, data vintage, extraction instant, origin diagnostics, citation, license"
    • addedOutput schema / properties / provenance / properties / derivation_note
      Added value: +{
      +  "description": "What this server computed; present together with derived",
      +  "type": "string"
      +}
    • addedOutput schema / properties / provenance / properties / derived
      Added value: +{
      +  "description": "Present (true) only when this server computed the value (e.g. a ranking or summary statistics) instead of passing on what the source returned",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / provenance / properties / field_sources / description
      Previous value: -"Present only when the response joins parts from different origins or extraction instants (contract v1.2): for each group of fields, its URL, extraction instant and whether it came from cache. Absent in single-origin responses"New value: +"Present only when the response joins parts from different origins or extraction instants: for each group of fields, its URL, extraction instant and whether it came from cache. Absent in single-origin responses"
    • addedOutput schema / properties / provenance / properties / notices
      Added value: +{
      +  "description": "Notices the source publishes alongside the data (license statements, caveats), verbatim. Absent when there is none",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedOutput schema / properties / provenance / properties / retrieval / description
      Previous value: -"Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)"New value: +"Origin diagnostics of THIS source in this call: requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)"
    • addedOutput schema / properties / provenance / properties / revision
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Whether the data can still change at the source: current = the version in force, the source may revise it; provisional = preliminary; final = will not change. Absent when unknown",
      +  "properties": {
      +    "note": {
      +      "description": "O específico da fonte: o que revisa, quando, por quê",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "description": "current = versão vigente, a fonte pode revisá-la; provisional = preliminar, incompleta ou sujeita a mudança (não compare como se fosse fechada); final = não muda mais, declarado pela fonte",
      +      "enum": [
      +        "current",
      +        "provisional",
      +        "final"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "note"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • addedOutput schema / properties / provenance / properties / field_sources
      Added value: +{
      +  "description": "Present only when the response joins parts from different origins or extraction instants (contract v1.2): for each group of fields, its URL, extraction instant and whether it came from cache. Absent in single-origin responses",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "Proveniência de um grupo de campos da resposta: de onde veio e quando foi extraído",
      +    "properties": {
      +      "data_vintage": {
      +        "description": "Vintage/competência da sub-fonte",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "dataset_id": {
      +        "description": "Identificador do conjunto da sub-fonte",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fields": {
      +        "description": "Campos do payload atribuídos a esta sub-fonte",
      +        "items": {
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "retrieved_at": {
      +        "description": "ISO-8601 da extração desta sub-fonte na origem",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "served_from_cache": {
      +        "description": "true se esta sub-fonte veio do cache do servidor (retrieved_at é o da extração original); false se foi buscada nesta chamada; null se o servidor não distingue",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "source_url": {
      +        "description": "URL canônica da sub-fonte que originou estes campos",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "fields",
      +      "source_url",
      +      "dataset_id",
      +      "data_vintage",
      +      "retrieved_at"
      +    ],
      +    "type": "object"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
  7. Changed3 schema fields changed
    • changedOutput schema / properties / provenance / description
      Previous value: -"Provenance block (contract v1.0): source, URL, data vintage, extraction instant, citation, license"New value: +"Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license"
    • addedOutput schema / properties / provenance / properties / retrieval
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "anomalies": {
      +          "description": "Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma",
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "count": {
      +                "description": "Ocorrências desta classe na chamada",
      +                "maximum": 9007199254740991,
      +                "minimum": 1,
      +                "type": "integer"
      +              },
      +              "kind": {
      +                "description": "Classe da anomalia (vocabulário fechado do contrato)",
      +                "enum": [
      +                  "timeout",
      +                  "network",
      +                  "http_4xx",
      +                  "http_5xx",
      +                  "rate_limited",
      +                  "malformed_body"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "count"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "attempts": {
      +          "description": "Tentativas somadas, incluindo as repetidas (>= requests)",
      +          "maximum": 9007199254740991,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "requests": {
      +          "description": "Idas distintas à origem que compõem esta resposta (fatias, páginas)",
      +          "maximum": 9007199254740991,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "unstable": {
      +          "description": "true se houve repetição (attempts > requests) ou alguma anomalia",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "requests",
      +        "attempts",
      +        "anomalies",
      +        "unstable"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)"
      +}
    • changedOutput schema / properties / provenance / required
      Previous value: -[
      -  "source",
      -  "source_url",
      -  "data_vintage",
      -  "retrieved_at",
      -  "citation",
      -  "license"
      -]New value: +[
      +  "source",
      +  "source_url",
      +  "data_vintage",
      +  "retrieved_at",
      +  "retrieval",
      +  "citation",
      +  "license"
      +]
  8. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  9. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description goes further by disclosing real behavior: labels are WHO official translations and never machine-translated, bounding is done by the WHO subtree filter, and a nonexistent branch raises an error instead of silently running unbounded. Return format (codes, titles, relevance scores) is also described; only pagination behavior via `offset` is left to the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose sentence, then a scannable use-case list, then the two non-obvious parameters. It is slightly redundant — the `within` paragraph largely duplicates the schema text and repeats the 'never a silent unbounded search' guarantee already implied — but nothing is truly wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations carry the safety profile, so the description only needs to cover scoping, language semantics, and error behavior, all of which it does. The one mild gap is that pagination is handled only in the schema, but that is acceptable given full schema coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all five parameters including `offset`, `max_results`, and the `language` enum. The description's paragraphs on `language` and `within` restate the schema's wording and examples (chapter "06", block range, entity URI) rather than adding new syntax or edge-case meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — searching ICD-11 for medical conditions, diseases, and health problems — and the bullet list makes the searchable surface explicit. It does not, however, contrast itself with same-family siblings such as icd11_lookup or icd11_hierarchy, so an agent must infer that this is keyword search rather than code lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Use this tool to' bullets give clear contexts (code lookup by diagnosis name, keyword search, multilingual lookup) and the `within` paragraph explains when to scope a search to branches. There are no explicit exclusions or named alternatives, so the when-not-cases are left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.