Skip to main content
Glama

health_drug_spending

Read-only

Medicare and Medicaid drug spending — Government spending on one drug: drug= brand or generic name (e.g. Eliquis, apixaban, Keytruda), program=partd (default) | partb | medicaid. Returns every matching product with total spending, claims, beneficiaries, dosage units, average spend per unit, per claim and per beneficiary for each year (latest 5 years), 1-year and multi-year growth, CMS unit-cost change and CAGR, Part B average sales price, and the manufacturer split. Gross spending before rebates. Source: CMS Medicare Part D / Part B and Medicaid Spending by Drug datasets on data.cms.gov (US government, public domain). Price: $0.005 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": {
      "drug": "<drug>"
    },
    "name": "health_drug_spending"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugYese.g. Eliquis

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 establish readOnly/openWorld/non-destructive, and the description still adds meaningful behavior: gross spending before rebates, latest 5 years of coverage, source datasets, and a $0.005 USDC x402 payment requirement. The paywall/cost disclosure is exactly the kind of operational fact annotations cannot carry; only multi-match handling and pagination are unstated.

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 the drug/program semantics are front-loaded, and the long tail of return fields is a single dense clause rather than scattered prose. The field laundry list is long but each item tells the agent something about coverage; it could still be trimmed to the most decision-relevant metrics.

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 one-parameter read-only tool with no output schema, the description carries the return shape, data vintage, source, and payment model, all of which an agent needs. What it omits is what happens when a name matches multiple products (the description promises 'every matching product' but not how to disambiguate or whether results are paged).

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 coverage is 100% for the single 'drug' parameter, so the baseline is 3. The description does add value by saying brand OR generic names are accepted with examples (Eliquis, apixaban, Keytruda), but it also references a 'program' parameter with values partd/partb/medicaid that does not appear in the input schema, which muddies rather than clarifies the actual callable surface.

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?

The description opens with a specific verb and resource ('Medicare and Medicaid drug spending — Government spending on one drug') and scopes it to a single drug rather than a category or comparison. It also enumerates the exact return fields, so an agent knows precisely what it gets back, though it never names a sibling such as health_drug_spending_compare or health_drug_price.

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 context is implied through the program selector (partd default, partb, medicaid), which tells an agent how to target a dataset, but no when-to-use versus when-to-use-an-alternative guidance is given. With a compare sibling and a price sibling in the catalog, the absence of routing guidance is a real gap.

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