Skip to main content
Glama

KeepMD EOB Decoder

Look up EOB codes

lookup_codes
Read-onlyIdempotent

Checks codes against the current official releases, which change every year, and reports whether each is valid, billable or terminated today. Returns the official descriptor for ICD-10-CM diagnosis codes, HCPCS Level II service/supply/drug codes and HCPCS modifiers found on an Explanation of Benefits or medical bill, plus the chapter, a plain-language note where KeepMD has one, the data version, and licensing notices for CPT, dental, NDC and X12 remark codes (which are recognized but not described). Use it for any code a user asks about, including common ones such as Z00.00, 99213, J0696 or CO-45. Accepts every code from a statement in one call.

Input Schema

NameRequiredDescriptionDefault
codesYesCodes exactly as printed on the statement, for example ["E11.9", "J0696", "99213", "CO-45", "GT"]. Up to 50 per call; one call per statement.
systemNoWhich code set to assume. auto tries ICD-10-CM, HCPCS Level II and the licensed patterns. Use carc or rarc for remark/reason codes, modifier for two-character modifiers.auto

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real context beyond them: codes change yearly, the data version is returned, and CPT/dental/NDC/X12 remark codes are recognized but not described, which warns the agent about coverage gaps. It does not say how unrecognized or malformed codes are reported back, which is the main remaining ambiguity.

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?

Front-loaded with the core check/validity behavior, then systematically covers inputs, coverage, and caveats. It is dense rather than padded, though the inline code examples repeat what the schema already lists and could be trimmed.

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, the description carries the return-value burden and does so reasonably: descriptor, chapter, plain-language note, data version, licensing notices. It still doesn't state the response shape per code (e.g., results aligned with input order, per-code status field), which is the one thing an agent might need to compose a follow-up call.

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 both parameters (codes array with 1-50 items, system enum) are already fully documented, and the description's examples largely duplicate the schema's own examples. It reinforces the "one call per statement" batching intent but adds no new meaning about how system values like 'auto' resolve.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a concrete verb and outcome ("checks codes against the current official releases... reports whether each is valid, billable or terminated today") and enumerates the supported code systems. It is unmistakably a validity lookup rather than a free-text search, but it never names the sibling search_codes, so an agent still has to infer which of the two to pick for a code question.

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?

Gives direct routing guidance: "Use it for any code a user asks about" with concrete examples (Z00.00, 99213, J0696, CO-45) and the batching rule "Accepts every code from a statement in one call." It stops short of explicit when-not-to-use conditions or pointing to search_codes / check_eob_math as alternatives.

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.