Skip to main content
Glama

Drug acquisition cost (NADAC) for an NDC

drug_nadac
Read-onlyIdempotent

What do US pharmacies pay for this drug? CMS’s National Average Drug Acquisition Cost (NADAC) per unit for an NDC, the generic’s NADAC for a brand and the weekly price history since January 2025, from CMS’s NADAC files on data.medicaid.gov. From CMS’s weekly NADAC files on data.medicaid.gov (2025 on): the current per-unit NADAC of one NDC, its effective date and explanation codes, the corresponding generic’s NADAC for a brand, the range over NDCs with the same description, and every price period since January 2025. An NDC never listed answers 404 and is not charged; one no longer listed answers with listed: false and its last NADAC. Refreshed weekly (live freshness: /status). Price: $0.01 per call. Free tier: 3 free answers a day (UTC) per IP for this family's tools, at most 3 rows per answer; calls through Claude's connectors share one daily free allowance per family instead. An unpaid call takes one unless its _meta["distill/free-tier"] is "skip". Answers in a summary view of about 3,000 tokens; view: "full" for every row. Confidence: Freshness only (the values are CMS’s, read deterministically): 1 until 9 days after the latest weekly file’s as-of date, then halving every 14 days. National Average Drug Acquisition Cost as CMS publishes it weekly: a survey average of what retail pharmacies pay per unit, not a retail price, a reimbursement rate, a quote or medical advice. See /terms.

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": {
      "ndc": "<ndc>"
    },
    "name": "drug_nadac"
  }
}

Input Schema

NameRequiredDescriptionDefault
ndcYesThe NDC: 11 digits (00378410591) or dashed (0378-4105-91, 5-4-2, 5-3-2 or 4-4-2).
viewNosummary (the default): the answer a model needs, budgeted; full: every row (a free answer stays capped).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "summary (the default): the answer a model needs, budgeted; full: every row (a free answer stays capped).",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses missing behavior: 404 vs listed:false semantics, weekly refresh cadence with a /status pointer, per-call pricing ($0.01), a 3/day free allowance with row caps and the _meta skip mechanism, and an explicit confidence-decay rule. It also states what the number is NOT (not a retail price, reimbursement rate, or medical advice), which is valuable given the annotation silence on data provenance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading is strong (the framing question comes first), but the provenance phrase 'from CMS's NADAC files on data.medicaid.gov' appears twice in near-identical form within the first two clauses, and the pricing/free-tier/confidence boilerplate runs long relative to the core message. The definition could shed a sentence or two without loss.

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?

For a 2-parameter read-only lookup with no output schema, the definition covers input format, result shape, failure modes, freshness, cost, and rate-limit semantics. An agent could invoke this correctly and interpret both the 404 and listed:false outcomes without further context.

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 NDC pattern and enum are already documented, establishing a baseline of 3. The description earns a bump by explaining the practical consequence of `view`: a summary is budgeted near 3,000 tokens while full returns every row, and that free answers stay capped even in full mode.

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?

Opens with a concrete question, then names the exact metric (CMS National Average Drug Acquisition Cost per unit), the resource (one NDC), and what is bundled in the answer (current NADAC, effective date, generic's NADAC, history since Jan 2025). This is unambiguously distinguishable from a name-based search sibling.

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 description gives strong context on the data's nature and edge cases (404 for never-listed NDCs, listed: false for delisted ones) but never states when to pick this over drug_nadac_search or other siblings. The agent must infer that this tool is NDC-keyed rather than name-keyed purely from the parameter requirement.

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