Skip to main content
Glama

Open Payments Recipient History

open_payments_recipient_history
Read-onlyIdempotent

Build a cross-year CMS Open Payments history for an exact recipient NPI. Returns exact annual match counts plus bounded samples; sampled dollar totals are explicitly not full-dataset totals.

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": {
      "npi": "1508877556",
      "to_year": 2025,
      "from_year": 2021
    },
    "name": "open_payments_recipient_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
npiYes
to_yearNo
from_yearNo
payment_typeNo
sample_per_yearNoRows per year (1-100, default 25).

Output Schema

NameRequiredDescriptionDefault
yearsYes
interpretationYes
sampled_recordsYes
sampled_amount_usdYes
total_matches_across_yearsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "from_year": 2021,
      -    "npi": "1234567890",
      -    "to_year": 2025
      -  }
      -]New value: +[
      +  {
      +    "from_year": 2021,
      +    "npi": "1508877556",
      +    "to_year": 2025
      +  }
      +]
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description adds real value by disclosing the sampling model: exact annual counts but only bounded samples, and sampled dollar totals are explicitly not full-dataset totals. That is a material caveat an agent would otherwise get wrong. It does not cover empty-result behavior or pagination limits.

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, front-loaded with the action and scope, and the second sentence carries the sampling caveat. No redundant restatement of the name or 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?

An output schema exists, so return-shape explanation is not required, and the sampling caveat covers the main interpretive risk. Minor gaps remain around default year range behavior and unknown-NPI handling for a 5-parameter tool.

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 only 20%, so the description should compensate more than it does. It conveys that npi must be an exact match and that results are cross-year (implying from_year/to_year), and 'bounded samples' hints at sample_per_year, but it never explains payment_type's enum values or how omitted year bounds are defaulted.

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?

States a specific verb and resource: 'Build a cross-year CMS Open Payments history for an exact recipient NPI.' The 'exact recipient NPI' qualifier distinguishes it from name-search and company/product history siblings, though no sibling is named explicitly.

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 by the phrase 'exact recipient NPI' – an agent can infer this requires a known NPI rather than a name lookup – but there is no explicit when-to-use/when-not guidance and no named alternative such as the physician search tool for resolving an NPI.

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.