Skip to main content
Glama

NIH RxNorm Drug Terminology MCP

Get FDA NDC codes for an RxCUI

get_ndc_codes
Read-onlyIdempotent

Retrieve active (or historical) FDA National Drug Codes (NDCs) mapped to a clinical drug RxCUI (such as SCD or SBD, e.g. "617314").

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": {
      "rxcui": "<rxcui>"
    },
    "name": "get_ndc_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax NDC codes to return (default 50).
rxcuiYesNumeric RxNorm RxCUI (e.g. "617314" for atorvastatin 10 mg oral tablet).
include_historicalNoInclude historical NDCs via allndcs.json (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds the meaningful behavioral detail that results can include historical NDCs, not just active ones. It does not disclose the upstream source, default behavior when the flag is omitted, or whether results are deduplicated or truncated by the limit.

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?

A single front-loaded sentence with the resource named first, qualified by the active/historical scope, and closed with the input concept and an example. Nothing is redundant or padded.

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

Completeness3/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 full schema coverage and a clear annotation set, the description is adequate but thin: with no output schema, it never says what an entry looks like (NDC, package, labeler) or what happens when an RxCUI has no mapping. Those gaps are minor but real for an agent composing a multi-step drug workflow.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine semantics by restricting rxcui to clinical-drug-level concepts (SCD/SBD) rather than ingredients or branded packs, which is a constraint the schema's example alone only hints at. The parenthetical 'active (or historical)' also explains what toggling historical data means; limit behavior is left entirely to the schema.

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?

The description gives a specific verb and resource (retrieve FDA NDCs mapped to an RxCUI) and narrows the input to clinical-drug concepts (SCD or SBD) with a concrete example. It is unambiguous on its own, but it never distinguishes itself from siblings like get_drug_properties or get_related_drugs, leaving the agent to infer that none of them return NDC codes.

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?

Usage is implied rather than stated: an agent can infer this is the tool for NDC lookups when it already has an RxCUI. There is no explicit when-to-use or when-not guidance, no mention of prerequisites (e.g., you must call lookup_rxcui_by_name first), and no alternatives named.

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.