Skip to main content
Glama

Medicare Part D Prescriber Exposure

medicare_part_d_prescriber_exposure
Read-onlyIdempotent

Return a bounded sample of Medicare Part D prescriber-by-drug rows for an exact brand name in one year, optionally filtered by state, with the authoritative matching-row count. This is not a prescriber ranking and suppressed/non-Part-D activity is absent.

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": {
      "year": 2024,
      "limit": 25,
      "state": "CA",
      "brand_name": "Eliquis"
    },
    "name": "medicare_part_d_prescriber_exposure"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugNoSynonym for brand_name, the sibling spending tool spells it this way.
yearNo
limitNo
stateNo
offsetNo
brand_nameNoExact Part D brand name, e.g. "Eliquis". `drug` is accepted as a synonym.

Output Schema

NameRequiredDescriptionDefault
yearYes
sourceYes
returnedYes
brand_nameYes
prescribersYes
matching_rowsYes
interpretationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / drug / description
      Previous value: -"Synonym for brand_name — the sibling spending tool spells it this way."New value: +"Synonym for brand_name, the sibling spending tool spells it this way."
  2. Changed3 schema fields changed
    • addedInput schema / properties / brand_name / description
      Added value: +"Exact Part D brand name, e.g. \"Eliquis\". `drug` is accepted as a synonym."
    • addedInput schema / properties / drug
      Added value: +{
      +  "description": "Synonym for brand_name — the sibling spending tool spells it this way.",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "brand_name"
      -]
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds real value: results are a bounded sample, an authoritative matching-row count accompanies them, suppressed rows and non-Part-D activity are absent, and it is not a ranking. Pagination mechanics for `offset` are the main unstated behavior.

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, both earning their place: the first front-loads the operation and scope, the second front-loads the disclaimers. No filler or restatement of the name/title.

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 need not describe return values, and it still flags the matching-row count and the suppression caveat. One gap: required parameters are zero, so the description's framing of brand name plus year as the core query leaves unspecified whether a broad unfiltered call is valid or what happens when `brand_name`/`drug` is omitted.

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 33%, so the description has to compensate: it conveys that `brand_name` is an exact match, `year` is a single year, and `state` narrows scope. It says nothing about `limit`/`offset` semantics beyond the phrase 'bounded sample,' and `drug`-as-synonym is explained only in the schema itself.

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 opens with a specific verb and resource: 'Return a bounded sample of Medicare Part D prescriber-by-drug rows,' and scopes it to an exact brand name in a single year with an optional state filter. It explicitly narrows expectations by ruling out prescriber ranking, which separates it from ranking-style siblings an agent might otherwise pick.

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?

Usage conditions are stated inline: exact brand name, one year, optional state filter, and the exclusion 'This is not a prescriber ranking.' That tells an agent when this tool fits and when its output is unsuitable, but it never names a concrete alternative tool to use instead (the only sibling reference lives in the schema description for `drug`).

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.