Skip to main content
Glama

code_lookup

Look up medical codes (ICD-10, CPT, HCPCS) to get descriptions, categories, active status, and related codes for healthcare billing and documentation.

Instructions

Look up medical codes (ICD-10, CPT, HCPCS) by code string. Returns description, category, active status, and related codes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesMedical code to look up (e.g., "M79.3", "99213", "E0601")
codeTypeNoCode system (auto-detected if omitted)
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the return data (description, category, active status, related codes) and mentions auto-detection for codeType, which is useful behavioral context. However, it doesn't cover error handling, rate limits, or authentication needs, leaving gaps for a lookup tool.

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?

The description is a single, well-structured sentence that efficiently covers purpose, input, and output without any wasted words. It's front-loaded with the core action and appropriately sized for the tool's complexity.

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?

Given no annotations and no output schema, the description does a good job explaining what the tool returns. However, as a lookup tool with 2 parameters, it could benefit from more behavioral details like error cases or performance expectations to be fully complete.

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 parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema (e.g., it doesn't explain code format or codeType implications further), meeting the baseline for high schema coverage.

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 clearly states the verb ('look up') and resource ('medical codes'), specifies the code systems (ICD-10, CPT, HCPCS), and distinguishes from siblings like code_suggest (suggestions) and code_validate (validation). It's specific and differentiated.

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 description implies usage for retrieving code details by code string, but doesn't explicitly state when to use this vs. alternatives like code_suggest or code_validate. No exclusions or prerequisites are mentioned, leaving usage context somewhat implied rather than explicit.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OFODevelopment/mymedi-ai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server