Skip to main content
Glama

ICF Category Details

icf_lookup
Read-onlyIdempotent

Retrieve official ICF category details—title, definition, inclusions, exclusions, component, and WHO browser link—using a category code or URI, with optional official language translation.

Instructions

Get the official details of ONE ICF category you already have a code or URI for: title, definition, inclusions, exclusions, component and WHO browser link.

Provide code (a component letter b/s/d/e and 1-5 digits, e.g. "d450", "b28013") or uri (an ICF URI a previous answer returned) — at least one is required. Qualifiers such as ".qp8" are not part of the code. Set language for WHO's official translations (e.g. language: "pt").

Returns a single entity. A code WHO does not know comes back as a "not found" error, never an empty record.

When NOT to use: to find a code from words, use icf_search first; for ICD-11 diagnosis codes (like "5A11"), use icd11_lookup.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "icf_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriNoICF entity URI as returned by icf_search or a previous icf_lookup
codeNoICF category code (e.g. "d450", "b28013")
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

Output Schema

NameRequiredDescriptionDefault
uriYesWHO ICF entity URI.
codeYesICF code (e.g. "d450"); null for chapters and blocks, which have a code_range instead.
titleYesOfficial title in the requested language ("Unknown" when the WHO returns none).
componentYesICF component, read from the code letter (b, s, d, e); null when the entity has no code (chapters and blocks).
class_kindYesWHO class kind (e.g. "chapter", "block", "category"); null when the WHO does not state it.
code_rangeYesCode range of a block (e.g. "d450-d469"); null for coded categories.
definitionYesOfficial definition; null when the WHO publishes none.
exclusionsYesExclusion entries (coded elsewhere in ICF), each with its URI and label.
inclusionsYesInclusion entries (what this category covers), each with its URI and label.
provenanceYesProvenance block: source, URL, data vintage, extraction instant, origin diagnostics, citation, license
attributionYesCanonical source URLs of this response (attribution list)
browser_urlYesLink to the entity in the WHO ICF browser; null when the WHO returns none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds the traits that actually matter for calling it: cardinality ("Returns a single entity"), failure semantics (unknown code yields a "not found" error, never an empty record), and a translation policy (official WHO translations only, never machine-translated). It also warns that qualifiers like ".qp8" must be stripped, which is a behavioral gotcha not expressed anywhere in 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.

Conciseness5/5

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

Front-loaded with the purpose and return contents, then input rules, then the exclusion clause. Every sentence carries a distinct operational fact (requirement, format caveat, language behavior, error behavior); there is no filler or repeated annotation text.

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

Completeness5/5

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

With an output schema present and full annotations, the description only needs to cover selection, input shape, and edge cases — all of which it does, including the not-found path and the language fallback. Nothing an agent needs before invoking it correctly appears to be missing.

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

Parameters4/5

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

Schema coverage is 100%, so patterns, the language enum, and defaults are already documented; the description's added value is the constraint that at least one of code/uri must be supplied — a requirement the schema does not encode given zero required fields — plus the rule that qualifiers are not part of the code and that the URI is the one a previous answer returned. It restates the code examples already present in the schema, which keeps it from a 5.

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

Purpose5/5

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

Opens with a specific verb and resource ("Get the official details of ONE ICF category") and immediately scopes the input prerequisite ("you already have a code or URI for"). It lists exactly what comes back (title, definition, inclusions, exclusions, component, WHO link), which separates it cleanly from icf_search and other lookup siblings.

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

Usage Guidelines5/5

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

Contains an explicit "When NOT to use" clause that names both alternatives and the condition selecting each: words-to-code goes to icf_search, ICD-11 diagnosis codes go to icd11_lookup. The input-shape condition ("you already have a code or URI") further pins down eligibility.

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