Skip to main content
Glama

Open Payments Record

open_payments_record
Read-onlyIdempotent

Look up ONE CMS Open Payments record by its record_id (the id shown on a payment row), e.g. "record 1006315103, 2023 General". Needs the program year and payment type the record sits in, since ids repeat across years. Returns the recipient, paying company, amount, date, nature, products and dispute status for that record. CMS publishes company-reported relationships; a payment does not imply wrongdoing.

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": 2023,
      "record_id": "1006315103",
      "payment_type": "General"
    },
    "name": "open_payments_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoProgram year the record is in (default latest published year).
record_idYesCMS record id, e.g. "1006315103".
payment_typeNoDefault General.

Output Schema

NameRequiredDescriptionDefault
datasetNo
paymentsNo
returnedNo
payment_typeNo
program_yearNo
total_matchesNo
interpretationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, so the bar is lower; the description still adds value by disclosing the cross-year id-collision behavior and the provenance caveat that payments are company-reported and do not imply wrongdoing. It doesn't discuss pagination or missing/disputed field behavior, but those are minor for a single-record fetch.

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?

Three tight sentences: what it fetches and the key it needs first, then the return fields, then the interpretive caveat. No redundant restatement of the schema and no filler.

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?

For a three-parameter single-record lookup with full schema coverage, annotations, and an output schema, nothing essential is missing; the brief field summary and provenance note round it out without duplicating the output schema.

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?

Schema coverage is 100%, so the baseline is 3, but the description raises it by explaining why year (and payment_type) matter — ids repeat across years — which the schema only hints at via defaults. That gives the agent a reason to supply values rather than rely on defaults.

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?

States a specific verb and resource — 'Look up ONE CMS Open Payments record by its record_id' — with the singular emphasized, which separates it from the sibling aggregate/search tools (open_payments_search, open_payments_company, open_payments_physician). The example ('record 1006315103, 2023 General') makes the unit of retrieval unambiguous.

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?

Explains the key precondition that the program year and payment type must accompany the id because ids repeat across years, which is real usage guidance for calling correctly. It does not explicitly say when to prefer a sibling such as open_payments_search when you don't already have a record_id.

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.