Skip to main content
Glama

Search ICF

icf_search
Read-onlyIdempotent

Find WHO ICF codes for functioning, disability, activities, and environmental factors to code rehabilitation and home-care findings that diagnosis codes do not cover.

Instructions

Search the WHO ICF (International Classification of Functioning, Disability and Health) for functioning and disability concepts: body functions (b), body structures (s), activities and participation (d), environmental factors (e).

Use this tool to:

  • Find the ICF code for a function or activity ("walking" → d450 Walking)

  • Code rehabilitation, home-care or disability findings, which ICD-11 (diagnoses) does not cover

  • Search in WHO's official translations — e.g. language: "pt" ("andar" → d450 Andar). Never machine-translated.

  • Search only some branches with within (category codes such as "d450", or ICF URIs; up to 10). The WHO search subtree filter does the bounding; a branch that does not exist is an error, never a silent unbounded search.

Returns matching categories with code, title, ICF component, relevance score and URI, in WHO relevance order. ICF has no category for every measurement: "walking speed" returns d450 Walking (the activity), not a speed category, because ICF classifies functioning, not test results — use loinc_search for the measured observation.

When NOT to use: for diseases and diagnoses use icd11_search; for lab tests and clinical measurements use loinc_search.

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": "icf_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch text (a function, activity, body structure or environmental factor, e.g. "walking")
withinNoOnly search these branches of ICF and their descendants (up to 10): a category code ("d450", "b280") or an ICF 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.
withinYesThe branches that bounded the search, resolved at the WHO; empty when the search was unbounded.
entitiesYesMatching ICF entities in WHO relevance order, at most max_results.
provenanceYesProvenance block: source, URL, data vintage, extraction instant, origin diagnostics, citation, license
attributionYesCanonical source URLs of this response (attribution list)
total_countYesNumber of entities the WHO search returned, before the max_results cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds real operational detail beyond them: results come back in WHO relevance order with code/title/component/score/URI, an unknown `within` branch is an error rather than an unbounded search, and results are never machine-translated. Missing only rate-limit or result-count behavior, which is minor here.

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?

Well front-loaded: the domain, then a bulleted use list, then return shape, then exclusions. Every section is scannable and purposeful. It loses a point because the `within` and `language` bullet points duplicate the schema descriptions almost word for word, which is redundant for an agent that reads both.

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?

For a four-parameter search tool with full schema coverage, annotations, and an output schema, this is complete — domain scope, filtering semantics, language guarantees, ordering, and sibling routing are all present. Nothing needed to invoke it correctly is 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 the baseline is 3, but the description adds concrete meaning: worked examples for `query` ("walking" → d450 Walking), an example for `language` ("andar" → d450 Andar) tying the parameter to official translations, and the error semantics of `within`. The `within` and `language` explanations largely restate the schema text verbatim, which caps it below 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?

The opening sentence names a specific verb (search) and resource (WHO ICF) and enumerates the four components it covers (b, s, d, e). It also distinguishes itself from icd11_search and loinc_search by domain, so an agent can pick it without opening the schema.

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?

Explicit positive cases (finding a code for a function/activity, coding rehabilitation findings ICD-11 cannot express, non-English search) plus an explicit "When NOT to use" routing to icd11_search for diagnoses and loinc_search for measurements. A concrete boundary example ("walking speed" returns d450, not a speed category) resolves the most likely confusion.

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