Skip to main content
Glama

Search Medicare drug spending by manufacturer

search_by_manufacturer
Read-onlyIdempotent

Query CMS Medicare Part D drug spending rows attributed to a pharmaceutical manufacturer and aggregate 2024 spending.

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": {
      "manufacturer": "<manufacturer>"
    },
    "name": "search_by_manufacturer"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax drug rows to return (default 20, max 50).
manufacturerYesPharmaceutical manufacturer name (e.g. "Novo Nordisk", "Pfizer").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description contributes the non-obvious constraint that results are limited to 2024 and that spending is aggregated, but it leaves ambiguous what 'aggregate' produces (per-row totals vs. a summary) and says nothing about the open-world data source's update lag or missing-manufacturer behavior.

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?

A single front-loaded sentence with the resource and scope stated first and the 2024 aggregation constraint attached. Nothing is padded, though the sentence tries to carry both the query and aggregation behaviors and ends up slightly dense.

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?

With only two fully documented parameters and no output schema, the structural burden is low, but the description still leaves the return shape unclear because 'aggregate 2024 spending' is undefined. For a tool whose main value proposition is aggregation, one more clause on what is aggregated and returned would make it complete.

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 100%, with the manufacturer parameter already documented with examples and limit documented with default 20 and max 50. The description adds only the framing that manufacturer refers to the attributed manufacturer rather than a labeler or NDC holder, which is modest added meaning over a fully documented schema.

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 names a specific verb and resource ('Query CMS Medicare Part D drug spending rows') plus a clear scope ('attributed to a pharmaceutical manufacturer') and a fixed time window ('2024 spending'). It is understandable in isolation, but it never distinguishes itself from the sibling search_drug_spending, which an agent would also plausibly select for a drug-spending lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/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 the tool is for manufacturer-scoped queries, but the description gives no explicit when-to-use conditions, no when-not-to-use, and no routing to alternatives such as search_drug_spending or get_drug_spending_trend. The 2024 year restriction is the only real scoping signal.

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.