Skip to main content
Glama

ICD-10-CM diagnosis code search: matching codes and their

health_icd10_cm_diagnosis
Read-only

ICD-10-CM diagnosis code search (NLM Clinical Tables, CDC code set): matching codes and their official names, with the total match count. Codes and names only; no cross-walks or clinical descriptions. Up to 20 codes per call. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "term": "<term>"
    },
    "name": "health_icd10_cm_diagnosis"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoHow many codes, 1 to 20 (default 10)
termYesWords to search in code names, 2 to 60 characters

Output Schema

NameRequiredDescriptionDefault
termNo
codesNo
totalNo
sourceNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations it discloses the important operational facts: a hard cap of 20 codes per call, a per-call price ($0.002 per successful call), the payment rail (x402, USDC on Base/Solana and other networks), and that failed calls are not charged. The no-charge-on-failure and payment requirement are exactly the kind of behavior an agent needs before invoking a paid endpoint.

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?

The first sentence front-loads purpose, source, and return content with no filler, and the scope exclusion follows immediately. The pricing sentence is longer than the rest but carries genuinely decision-relevant information, so only minor tightening is possible.

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?

For a two-parameter lookup with an output schema, the description covers source authority, scope limits, result cap, and billing model — everything needed to call it correctly. The only gap is that it does not characterize the matching behavior (prefix vs. substring vs. fuzzy) of the `term` search, which affects how an agent should formulate queries.

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 both `term` (2–60 characters of words to search in code names) and `max` (1–20, default 10). The description only echoes the 20-code ceiling already stated in the schema and adds no matching-mode or format detail, so baseline 3 is right.

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 description names a specific verb and resource — ICD-10-CM diagnosis code search — plus the source (NLM Clinical Tables, CDC code set) and exactly what comes back (matching codes, official names, total match count). Naming the ICD-10-CM diagnosis code set also separates it from sibling code-set tools such as health_loinc_laboratory_codes or health_cpt_hcpcs_procedure.

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?

It clearly bounds the use case with 'Codes and names only; no cross-walks or clinical descriptions', which tells an agent when this tool is the wrong choice. It does not, however, name a specific alternative tool to use instead when cross-walks or clinical detail are needed, so it stops short of full routing guidance.

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.

Resources