Skip to main content
Glama

Get industry payments to a doctor

get_doctor_payments
Read-onlyIdempotent

Gets the general payments that drug and device companies reported to CMS Open Payments for one doctor, by 10-digit NPI. Returns totals by program year and by company, with the payment types, and the doctor's Medicare Part D prescriptions of drugs named in those payments where the files have them. A payment is not a sign of wrongdoing. The overlap with prescriptions does not show that a payment changed a prescription.

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": {
      "npi": "<npi>"
    },
    "name": "get_doctor_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
npiYesThe doctor's 10-digit National Provider Identifier (NPI).

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description doesn't need to restate safety. Instead it adds genuinely non-obvious behavior: results are aggregated by program year and company, payment types are included, and Part D prescription overlap is returned only 'where the files have them' — an important data-availability caveat. The two interpretive warnings ('not a sign of wrongdoing', overlap doesn't show causation) further guard against misuse in summaries.

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?

The purpose and scope are front-loaded in the first sentence, and the following sentences itemize return content and caveats without filler. It runs four sentences, and the two disclaimer sentences are interpretive rather than invocation-critical, but they are short and plausibly earn their place given the sensitive data.

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 needn't enumerate return fields, and it correctly stops at a summary of what the payload contains. The only real gap is that there is no guidance on sibling selection or on handling an NPI that returns nothing, which for a single-parameter read tool is minor.

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 100% and the single parameter already documents the NPI format and pattern. The description only restates '10-digit NPI' without adding lookup semantics such as what happens when the NPI is unknown, so the schema carries the weight and the baseline of 3 applies.

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 names a specific verb and resource ('Gets the general payments ... reported to CMS Open Payments for one doctor') plus the keying mechanism (10-digit NPI), and describes the shape of the result (totals by program year and company, payment types). This is clearly a single-entity payment lookup, distinct from siblings like get_doctor or search_providers.

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 context is implied by the framing: one doctor, keyed by NPI, restricted to 'general payments.' There is no explicit statement of when to prefer this over a sibling (e.g., get_doctor for profile data) and no stated prerequisites or exclusions, so the agent must infer routing from the entity scope alone.

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.

Resources