Skip to main content
Glama
nih-icd10-hcpcs-loinc-codes-mcp

nih-icd10-hcpcs-loinc-codes-mcp

Search ICD-10-CM diagnosis codes

search_icd10_diagnoses
Read-onlyIdempotent

Find ICD-10-CM diagnosis codes and descriptions by condition keyword or code prefix using official NIH Clinical Tables data.

Instructions

Search official NIH Clinical Tables ICD-10-CM diagnosis codes and descriptions by condition keyword or code prefix (e.g. "diabetes", "E11").

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": {
      "terms": "<terms>"
    },
    "name": "search_icd10_diagnoses"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax codes to return (default 15, max 50).
termsYesDiagnosis keyword or ICD-10-CM code prefix (e.g. "diabetes", "J45").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety behavior is covered. The description adds useful provenance (official NIH Clinical Tables) but says nothing about result ordering, matching semantics (prefix vs. substring), or what happens when no codes match.

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?

A single sentence that front-loads the verb and resource, then the search modes and examples. Nothing is wasted and nothing important is buried.

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 simple two-parameter, read-only lookup with rich annotations and full schema coverage, the description covers source, inputs, and examples. The only minor gap is that with no output schema, the shape of returned codes/descriptions is left implicit.

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 coverage is 100% with both parameters documented, including the default of 15 and max of 50 for limit. The description's examples for terms reinforce the schema but add no new semantics beyond it, so the baseline 3 applies.

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?

States a specific verb (Search) plus the exact resource: official NIH Clinical Tables ICD-10-CM diagnosis codes and descriptions. The searchable-by dimension (condition keyword or code prefix) is spelled out with concrete examples, so an agent can instantly tell this apart from the LOINC, HCPCS, or RxTerms siblings.

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?

Clear context for when to use it: looking up diagnosis codes by keyword or code prefix, with examples ("diabetes", "E11") that show both search modes. It offers no explicit exclusions or pointer to a sibling for adjacent needs, so it stops short of a 5.

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