Skip to main content
Glama

Medicare fee for a CPT/HCPCS code at a ZIP

medicare_pfs_rate
Read-onlyIdempotent

What does Medicare pay for this CPT or HCPCS code at this ZIP? Physician Fee Schedule facility and non-facility allowed amounts with the RVUs and GPCIs behind them, any US ZIP or Medicare locality, 2025 on, computed by Distill from CMS’s quarterly RVU files. From CMS’s quarterly relative value files (RVU25A on): the facility and non-facility allowed amounts for one code (and modifier) in the locality of a ZIP, ZIP+4 or MAC-locality id, with the RVUs, GPCIs and conversion factor (non-QP and QP) behind them, the OPPS cap, the limiting charge, the payment indicators and the same amounts in every release since 2025A. Pass exactly one of zip or locality. Codes CMS does not price (status other than A, R, T) answer with null amounts; unknown codes and ZIPs answer 404 and are not charged. Refreshed quarterly (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: agreement × freshness. Agreement: for a 5-digit ZIP that CMS splits across localities by ZIP+4, the share of its ZIP+4 codes in the answered locality; 1 for a ZIP+4, a locality or a ZIP in one locality. Freshness: 1 until the first day of the calendar quarter after the CMS files were last checked, then halving every 30 days. The amounts themselves are exact (they agree with CMS’s carrier payment files to the cent). Medicare Physician Fee Schedule amounts computed from CMS’s published RVU, GPCI and conversion-factor files: what Original Medicare allows a participating clinician (before deductible and coinsurance), not what another payer pays; not a quote, not medical, billing or coding advice. See /terms. CPT® codes are served as codes only: their descriptors are AMA copyright and are never included (nor dental CDT descriptors). CPT is a registered trademark of the American Medical Association. HCPCS Level II descriptions are CMS’s.

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": {
      "code": "<code>"
    },
    "name": "medicare_pfs_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoA 5-digit ZIP or ZIP+4 (80218 or 80218-1234).
codeYesThe HCPCS Level II or CPT code, e.g. 99213, 70551 or G0439.
dateNoThe date of service, YYYY-MM-DD (default: today, UTC): picks the release in force.
viewNosummary (the default): the answer a model needs, budgeted; full: every row (a free answer stays capped).
releaseNoA quarterly release instead of a date, e.g. 2026D (A from 1 Jan, B Apr, C Jul, D Oct).
settingNoOnly this setting’s amount (default: both).
localityNoA Medicare locality as MAC-locality, e.g. 04112-01 (Colorado).
modifierNoOptional modifier with its own RVUs: 26 (professional component), TC (technical component) or 53. Omit for the global service.

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.4/5.0
Behavior5/5

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

Annotations only cover safety (readOnly, idempotent, non-destructive, closed-world); the description adds the costly context an agent cannot infer: $0.01 per call, a 3/day free tier with a shared-family rule and the _meta skip flag, quarterly refresh with a /status freshness pointer, and distinct 404-vs-null failure modes for unknown vs unpriced codes. It also explains the confidence formula (agreement × freshness) and the ~3,000-token summary budget versus full view.

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?

The front-loaded question is excellent, but the body is a single dense block that repeats itself ('computed by Distill from CMS's quarterly RVU files' is immediately restated as 'From CMS's quarterly relative value files (RVU25A on)'). Copyright and legal disclaimers occupy a large share of the text relative to call guidance.

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 an 8-parameter, no-output-schema tool with a billing model, the description covers cost, free-tier mechanics, error semantics, refresh cadence, and enumerates returned fields (RVUs, GPCIs, conversion factor, OPPS cap, limiting charge, payment indicators, historical releases). The literal response envelope (row shape, top-level keys) is left implied, which is the main remaining gap given no output schema exists.

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 baseline is 3, but the description adds meaning the schema cannot express: the mutual exclusivity constraint on zip vs locality, the modifier's effect on RVUs (26/TC/53), and that date/release select the release in force. These are decision-relevant constraints rather than restatements.

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 specific question naming the exact verb (pays), resource (CPT/HCPCS code), and scope (ZIP), then defines the resource precisely as Physician Fee Schedule facility/non-facility allowed amounts. It is clearly distinguishable from siblings like drug_nadac or hospital_prices, which cover different price sources.

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?

Gives concrete usage rules: 'Pass exactly one of zip or locality,' default summary view with 'full' opt-in, and explicit scope boundaries ('what Original Medicare allows a participating clinician... not what another payer pays'). It stops short of naming a sibling tool as the alternative for other payer or drug price questions, so guidance is strong but not fully routing.

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