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.

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
drugsYes
totalYes
sourceYes
returnedYes
interpretationYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds critical context about what the gross spending numbers do NOT represent (manufacturer revenue, net price, profit, etc.), which is valuable beyond structured metadata.

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 with no redundancy. First sentence front-loads the core function and outputs; second sentence provides an essential clarification. Every word serves a purpose.

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?

With an output schema present, the description sufficiently covers the query scope (time range, metrics). Minor omission on pagination behavior, but not critical given the schema and annotations.

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 low (33%) but the description adds meaning for the 'drug' parameter (brand or generic name). 'limit' is already described in schema. 'offset' receives no additional explanation, so overall partial compensation.

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 uses a specific verb 'Search' and resource 'CMS Medicare Part D spending', and clearly lists the returned fields (spending, claims, beneficiaries, dosage units, unit-cost trends) and time range (2020–2024). It distinguishes from sibling tools like medicare_part_d_generic_competition by focusing on spending and claims.

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 implies usage for Part D spending queries but lacks explicit guidance on when to use this tool over alternatives. The clarification 'Gross Part D spending is not manufacturer revenue...' provides some boundary but does not replace explicit usage context.

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.