Skip to main content
Glama

Get CMS Medicare Part D dataset stats

get_dataset_stats
Read-onlyIdempotent

Return live row counts, reporting year coverage, and dataset identifier for the CMS Medicare Part D Drug Spending dataset.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_dataset_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description adds one genuinely new behavioral signal beyond that: the counts are 'live', implying freshness rather than a cached snapshot, and it enumerates the return payload even though no output schema exists.

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?

A single sentence, front-loaded with the action and immediately followed by the specific contents returned. No filler, no restatement of the title, nothing that could be cut.

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?

This is a trivial zero-parameter read tool with full annotation coverage and no output schema, so the description carries the burden of describing return values — and it does, naming all three fields. Nothing else an agent would need in order to call it correctly 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?

The tool takes zero parameters and the input schema is an empty object, so there is nothing to disambiguate; the baseline for a parameterless tool applies. The description correctly implies no input is needed, though it does not explicitly say so.

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 ('Return') plus three named outputs (live row counts, reporting year coverage, dataset identifier) scoped to the CMS Medicare Part D Drug Spending dataset. That is enough to distinguish it from the search/trend/compare siblings, which all operate on drug or manufacturer records rather than dataset-level metadata.

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 implied — fetch dataset metadata before or alongside the substantive query tools — but the description never states when to call this versus get_drug_spending_trend or the search tools, nor any prerequisite or exclusion. An agent can infer the context but is given no explicit routing rule.

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.