Skip to main content
Glama

Crypto & Web Data API for Agents

NLM Clinical Tables: ICD-10-CM diagnosis codes by term

science_icd10
Read-only

NLM Clinical Tables: ICD-10-CM diagnosis codes by term. Searches NLM Clinical Tables for ICD-10-CM codes matching a term and returns code, name and total count. Price $0.010 per call (x402: USDC on Base or Solana).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "science_icd10"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesDiagnosis term or code
txNoAlternative to the X-Payment-Tx header
limitNoHow many codes to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 (readOnlyHint, openWorldHint), so the bar is lower. The description nonetheless adds material context the annotations do not carry: a per-call price of $0.010 and the x402 payment mechanism (USDC on Base or Solana), which affects whether an agent should invoke it. It does not discuss rate limits or failure behavior.

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 short sentences, front-loaded with the resource and action, then returns, then cost. The opening clause duplicates the title almost verbatim, which is minor waste, but nothing else is extraneous.

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?

For a simple read-only lookup with three well-documented parameters and no output schema, the description covers what the tool does, what comes back, and the payment cost. The one remaining gap for a paid tool is that it does not say how a payment failure or missing tx is surfaced.

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 q (diagnosis term or code, max 200), tx (payment header alternative), and limit (1-30, default 10). The description adds only the framing 'matching a term' and mentions the payment path indirectly, so 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?

States a specific verb (searches) and resource (ICD-10-CM diagnosis codes in NLM Clinical Tables) and names the return fields (code, name, total count). It is clearly distinguishable from the other science_* siblings, which target papers, genes, drugs, and trials.

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 'by term' phrasing implies the lookup use case (map a diagnosis term to codes), but there is no explicit when-to-use or when-not guidance and no named alternative. An agent must infer that this is the tool for code lookup rather than term lookup.

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