Skip to main content
Glama

MedlinePlus Connect — ICD-9 Code Lookup

medlineplus.clinical.icd9_lookup
Read-onlyIdempotent

Look up patient-friendly health information for an ICD-9-CM diagnosis code via the NLM MedlinePlus Connect service. Returns MedlinePlus topic titles, URLs, and plain-language summaries for conditions matching the code (e.g. 250 → Diabetes mellitus, 410 → Acute myocardial infarction). Useful for legacy EHR systems still using ICD-9-CM coding. Supports English and Spanish responses (language=es). Source: US NLM MedlinePlus Connect — public domain, no auth, unlimited free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesICD-9-CM diagnosis code to look up (e.g. 250 for Diabetes mellitus).
languageNoResponse language: en (English) or es (Spanish). Default: en.en

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds valuable context beyond that: public-domain source, no authentication required, unlimited free use, and supported response languages. It does not discuss no-match behavior, but the safety/cost profile is well covered.

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?

Three sentences deliver action, output details, example mappings, a usage scenario, language support, and source/auth context without filler. The most important information is front-loaded, and each sentence earns its place.

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 read-only lookup with a rich input schema and an output schema present, the description is complete enough to select and invoke correctly. It could add guidance on code format edge cases or no-match handling, but these are minor gaps given the strong schema and annotation 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 fully documents both parameters. The description adds code examples and notes Spanish support, but these largely mirror the schema's own examples and enum. It does not meaningfully extend parameter understanding beyond what the schema already provides.

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 ('Look up'), a precise resource ('ICD-9-CM diagnosis code via the NLM MedlinePlus Connect service'), and concrete outputs ('topic titles, URLs, and plain-language summaries'). It also gives illustrative code-to-condition examples, making the operation unambiguous and easily distinguishable from sibling lookup tools.

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 description gives clear context for when this tool is appropriate: 'Useful for legacy EHR systems still using ICD-9-CM coding.' It does not explicitly name alternatives or state when not to use it, but the ICD-9-CM framing provides enough guidance to route an agent away from ICD-10/RxNorm/SNOMED sibling lookups.

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.