Skip to main content
Glama

Medicare Part D Drug Spending

medicare_part_d_drug_spending
Read-onlyIdempotent

Search CMS Medicare Part D spending by brand or generic name and return 2020-2024 spending, claims, beneficiaries, dosage units, and unit-cost trends. Gross Part D spending is not manufacturer revenue, net price, profit, prescriptions, or total US sales.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "drug": "Eliquis",
      "limit": 25
    },
    "name": "medicare_part_d_drug_spending"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugYes
limitNoRows (1-100, default 25).
offsetNo

Output Schema

NameRequiredDescriptionDefault
drugsYes
totalYes
sourceYes
returnedYes
interpretationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the description's job is to add domain context — and it does, with the explicit warning that gross Part D spending is not manufacturer revenue, net price, profit, prescriptions, or total US sales. That caveat materially prevents a common analytical misinterpretation. It stops short of covering result ordering, pagination behavior, or data lag, which keeps it off a 5.

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?

Two sentences, no filler: capability and return scope first, then the interpretive caveat. Both sentences earn their place and nothing is repeated from the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the tool is structurally simple. However, for a name-search tool the matching semantics of `drug` (exact, prefix, fuzzy, multi-drug) and how to page with `offset` and `limit` are left unaddressed, which is the main remaining gap.

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 description coverage is only 33%, with just `limit` documented, so the description must carry weight for `drug` and `offset`. It does clarify that `drug` accepts either brand or generic names, which is real added meaning, but it says nothing about exact-vs-partial matching, casing, or what `offset` does for paging.

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?

The description gives a specific verb and resource ("Search CMS Medicare Part D spending") plus the lookup key ("by brand or generic name"), and enumerates the returned measures (spending, claims, beneficiaries, dosage units, unit-cost trends). It is clearly a single-drug lookup as opposed to a list tool, but it never names a sibling such as medicare_part_d_top_drugs or medicare_part_d_generic_competition, so differentiation is inferred rather than stated.

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: an agent can infer this is the tool for pulling the spend series for one named drug. There is no explicit when-to-use, no statement of when a sibling is the better choice, and no prerequisites or exclusions provided.

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.