Skip to main content
Glama

Medical Coding Helper

Suggest ICD-10 Codes

suggest_icd10

Suggest ICD-10-CM codes from a diagnosis description. Returns ranked codes with confidence, reasoning, coding notes, differential alternatives, and missing info. Considers patient age and sex. Useful for healthcare AI agents, medical billing, EMR systems.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patient_ageNoPatient age in years (optional)
patient_sexNoPatient sex: male, female, other (optional)
diagnosis_textYesDiagnosis description (free text)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the return contents (ranked codes with confidence, reasoning, coding notes, differentials, missing info) and that age/sex factor into the suggestion — genuinely useful behavior. However, it omits any caveat that suggestions are advisory/non-authoritative and mentions no constraints, validation, or rate behavior for a clinical-coding tool.

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?

Three sentences, front-loaded with the core action before the output description and audience. The return-contents enumeration is long but informative rather than padded; nothing is redundant.

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?

With no output schema and no annotations, the description compensates well by enumerating the response fields and the inputs that modulate results. The remaining gap is the absence of any advisory/accuracy caveat appropriate to clinical coding.

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. The description adds a little beyond the schema by stating that patient age and sex influence the ranking, clarifying why those optional parameters matter — a marginal but real gain over the field descriptions.

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 (suggest) plus resource (ICD-10-CM codes) and the input it derives them from (a diagnosis description). No siblings to differentiate from, but the purpose is unambiguous and immediately actionable.

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

Usage Guidelines3/5

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

The audience list (healthcare AI agents, medical billing, EMR systems) implies context but never says when to use this vs. not, nor lists any prerequisite or limitation. With no sibling tools, there is nothing to route against, so implied usage is the ceiling here.

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