Skip to main content
Glama

search_codes

Search medical codes by clinical description. Supports full-text search across ICD-10-CM, ICD-9-CM, and ICD-10-WHO systems.

Instructions

Search codes by clinical description using full-text search.

Args: query: Clinical description or keywords (e.g., 'type 2 diabetes'). system: 'icd10cm', 'icd9cm', or 'icd10who'. Empty = all systems. limit: Max results (default 20, max 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
systemNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that search is full-text, system defaults to all, and limit defaults to 20 with max 50. However, it does not mention case sensitivity, matching behavior, ordering, or whether the search is partial/fuzzy. This is adequate but not rich.

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 concise: one sentence for purpose, followed by a clean parameter list. No redundancy, efficiently front-loaded.

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 the tool has an output schema, the description does not need to detail return structure. It covers required input semantics. Missing some context like sorting, but overall sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description adds thorough semantic meaning: explains 'query' with example, lists allowed 'system' values with note that empty means all, and clarifies 'limit' default and max. This compensates fully for the bare schema.

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 tool's function: 'Search codes by clinical description using full-text search.' It specifies the verb 'Search', the resource 'codes', and the method 'full-text search'. This distinguishes it from siblings like 'browse_category' (browse by category) and 'lookup_code' (lookup specific code).

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

Usage Guidelines2/5

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

The description lacks explicit guidance on when to use this tool vs alternatives. It does not state when to prefer this over 'browse_category', 'get_stats', 'lookup_code', or 'translate_code'. No 'when-to-use' or 'use-this-over' statements are present.

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

Install Server

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/stabgan/mcp-icd10'

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