Skip to main content
Glama

health_top_drugs

Read-only

Top drugs by government spending — Rank drugs in a government program for the latest CMS data year: program=partd (default) | partb | medicaid, sort=spending (default) | claims | beneficiaries | cost-per-claim | unit-cost-growth | spending-growth, n=1-50 (default 25). Each row has spending, claims, beneficiaries, average spend per claim and per unit, 1-year spending change and unit-cost change. Non-spending sorts rank within the 500 highest-spending drugs; unit-cost-growth skips CMS outlier years. Source: CMS Spending by Drug datasets, 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": {
      "program": "<program>"
    },
    "name": "health_top_drugs"
  }
}

Input Schema

NameRequiredDescriptionDefault
programYese.g. partd

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

With readOnlyHint/openWorldHint/destructiveHint already declared, the description still adds real behavioral context: non-spending sorts only rank within the 500 highest-spending drugs, unit-cost-growth skips CMS outlier years, the data is the latest CMS year, and each call costs $0.005 USDC via x402 — a payment requirement the agent must handle. That said, it does not say how pagination or truncation at n=50 behaves. Rich additions outweigh the gaps, so a middle-high score.

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?

Front-loaded lead phrase, then pipe-delimited option lists and a compact payload/source/price tail. Dense but every clause carries information an agent needs — no filler.

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?

No output schema exists, and the description compensates fully by describing each returned row (spending, claims, beneficiaries, per-claim and per-unit spend, 1-year changes), plus source, license, ranking caveats, and price. Nothing needed to call or interpret results is missing.

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 reads as 100%, but the schema actually only declares `program` with the example "partd", so the description carries the real semantics: enum values partd/partb/medicaid, the full sort vocabulary, and the n=1-50 range with default 25. One wrinkle: it calls program defaulted to "partd" while the schema marks it required, a small ambiguity the agent must resolve.

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?

"Rank drugs in a government program for the latest CMS data year" states a specific verb (rank) and resource (drugs in a CMS program), and the enumerated program/sort/n values make the tool's identity unambiguous. An agent can tell this is a ranked top-N spending list rather than a per-drug lookup.

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?

The description tells the agent exactly which sort to pick for which question (spending, claims, beneficiaries, cost-per-claim, unit-cost-growth, spending-growth) and flags defaults for program, sort, and n. It stops short of naming an alternative sibling tool or stating when not to use it, so it is clear context rather than explicit 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