Skip to main content
Glama

cid10_lookup

Read-onlyIdempotent

Look up a CID-10 code to retrieve its Portuguese name, check existence, and view gender or cause-of-death restriction flags.

Instructions

Look up a specific CID-10 code and return its Portuguese name.

Use this tool to:

  • Resolve a code to its Brazilian description ("I21" → "Infarto agudo do miocárdio")

  • Confirm a 3-char category or 4-char subcategory exists in CID-10

  • Retrieve gender / cause-of-death restriction flags when applicable

Accepts both dotted ("A00.1") and undotted ("A001") forms; returns the canonical display.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesCID-10 code (e.g., "A00", "A00.1", "A001", "I21"). Dotted and undotted forms both accepted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
foundYes
hitYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description does not need to restate safety. It adds value by disclosing input flexibility (accepts dotted/undotted forms), canonical output behavior, and the optional gender/cause-of-death flags. This enriches agent understanding beyond the schema.

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?

Description is compact (two short paragraphs + bullet list) with no wasted words. It front-loads the main action, then lists use cases, and finally a key detail about input formats. Every sentence serves a purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one param, no complex side effects), the description covers all necessary behavioral aspects: what it does, when to use it, input format flexibility, and return characteristics (Portuguese name, flags). An output schema exists for further format details, so the description is 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?

The single parameter 'code' is fully described in the schema (pattern, description). The description reiterates the dotted/undotted acceptance, adding no new parameter-level constraints or semantics. With 100% schema coverage, baseline 3 is appropriate.

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?

Description clearly states the tool resolves CID-10 codes to Portuguese names, with specific examples ("I21" → "Infarto agudo do miocárdio") and scope (3-char categories, 4-char subcategories, restriction flags). The verb 'look up' and resource 'CID-10 code' are precise, and the purpose is distinct from sibling tools like cid10_search (which likely searches by name) by focusing on code lookup.

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?

Bullet-pointed use cases (resolve code, confirm existence, retrieve flags) provide clear guidance on when to use. However, it does not explicitly mention when not to use (e.g., for fuzzy search) or contrast with alternatives like cid10_search. This omission prevents a perfect score.

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/SidneyBissoli/medical-terminologies-mcp'

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