Skip to main content
Glama

fda_ndc_batch

Read-only

NDC lookup (batch) — Look up up to 20 National Drug Codes in FDA's NDC Directory: accepts hyphenated package or product NDCs, unhyphenated 10-digit, or 11-digit 5-4-2 billing format; returns brand/generic, labeler, form, route, strength, marketing category, application number, DEA schedule, package description, normalized ndc11, and LISTED / NOT_LISTED with a rollup of controlled substances. ndcs = list separated by ,. For pharmacy, PBM and claims agents. Price: $0.02 USDC (Base, via x402).

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": {
      "ndcs": "<ndcs>"
    },
    "name": "fda_ndc_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
ndcsYese.g. 0002-1433-80,58151015577,58151-158

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, open-world profile, so the bar is lower; the description nonetheless adds genuinely new behavior: per-call cost ($0.02 USDC on Base via x402) and the exact return payload including normalized ndc11 and a LISTED/NOT_LISTED rollup of controlled substances. It omits failure behavior (invalid or unknown NDCs) and whether partial results are returned in a mixed batch.

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?

The purpose and batch limit are front-loaded, and the long field enumeration is defensible because there is no output schema. Mildly dense — the output-field list and the 'For pharmacy, PBM and claims agents' clause could be trimmed, and the price is buried at the end where it is most likely to be skipped.

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 paid batch lookup with no output schema, the description supplies the return fields, the normalized identifier, the status rollup, and the cost — enough to call it correctly. Missing only edge-case handling (over-limit batches, invalid codes, result ordering relative to input order).

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?

With one parameter at 100% schema coverage the baseline is 3, but the description earns above that by enumerating accepted NDC forms (hyphenated package or product, unhyphenated 10-digit, 11-digit 5-4-2 billing) and the comma-separated list convention — neither of which the schema conveys beyond a single example string.

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?

States a specific verb and resource ('Look up up to 20 National Drug Codes in FDA's NDC Directory') and the batch scope plus the 20-item cap distinguishes it from the singular fda_ndc sibling. It stops short of explicitly naming the single-lookup tool as the alternative for one-off queries, but the purpose is unambiguous.

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 only implied: 'batch' plus the 20-code cap signals when to prefer this over fda_ndc, and 'For pharmacy, PBM and claims agents' identifies an audience rather than a condition for use. There is no explicit when-to-use/when-not statement and no mention of what happens if more than 20 codes are supplied.

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