Skip to main content
Glama

Open Payments Search

open_payments_search
Read-onlyIdempotent

THE source for pharma/device industry money to doctors, "payments from manufacturers to physicians", "which drug companies paid this doctor", "Sunshine Act data", "industry payments to hospitals". Search one CMS Open Payments program-year dataset using structured recipient, company, product, geography, payment-nature, and amount filters. CAPABILITY LIMIT, state it rather than guessing: this source can look up and filter but CANNOT rank ALL manufacturers by total spend ("which manufacturer paid the most" is not computable live, the 14M-row aggregation times out upstream); answer those by saying so and offering a named-company lookup (open_payments_company) instead. CMS publishes company-reported relationships; a payment does not imply wrongdoing or a conflict.

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": 2025,
      "limit": 25,
      "state": "CA",
      "minimum_amount": 1000,
      "recipient_last_name": "Smith"
    },
    "name": "open_payments_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoProgram year (2019-current published year; default latest).
limitNoResults (1-100, default 25).
stateNoExact two-letter recipient state.
natureNoExact nature of payment.
offsetNoPagination offset (0-10000).
companyNoCase-insensitive company-name substring.
productNoCase-insensitive associated-product substring across all five product fields.
record_idNoExact CMS record id (the record_id on a payment row); pair with year and payment_type.
payment_typeNoDefault General.
recipient_npiNoExact 10-digit NPI.
minimum_amountNoMinimum reported payment in USD.
recipient_last_nameNoExact recipient last name. CMS stores names uppercase; case is normalized for you. Pair with recipient_first_name, a common surname alone matches many practitioners.
recipient_first_nameNoExact recipient first name, to disambiguate a common surname (e.g. last_name "PATEL" + first_name "RIPAL").

Output Schema

NameRequiredDescriptionDefault
datasetYes
paymentsYes
returnedYes
payment_typeYes
program_yearYes
total_matchesYes
interpretationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / record_id
      Added value: +{
      +  "description": "Exact CMS record id (the record_id on a payment row); pair with year and payment_type.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / recipient_last_name / description
      Previous value: -"Exact recipient last name. CMS stores names uppercase; case is normalized for you. Pair with recipient_first_name — a common surname alone matches many practitioners."New value: +"Exact recipient last name. CMS stores names uppercase; case is normalized for you. Pair with recipient_first_name, a common surname alone matches many practitioners."
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered; the description adds behavior the annotations cannot express — the single-program-year scope per call, the upstream aggregation timeout that hard-limits ranking queries, and the interpretive caveat that CMS data is company-reported and a payment does not imply wrongdoing. Those are the exact facts an agent needs to avoid promising an impossible result or overstating findings.

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?

Front-loaded with the identity sentence before the search mechanics, then the capability limit, then the caveat — a sound ordering. The string of quoted query phrasings is slightly verbose and partly redundant with the first clause, but it earns its place as retrieval bait for agent matching.

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?

For a 13-parameter, open-world read tool with full schema coverage, an output schema, and rich annotations, the description covers what structured fields cannot: scope per call, a hard capability ceiling, and the correct alternative. Minor gaps remain (pagination ceiling of the offset parameter and total-result behavior are left entirely to the schema), which is acceptable given the output schema exists.

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 100%, so all 13 parameters (including name-normalization and the record_id/year/payment_type pairing) are already documented at the field level. The description only restates the filter families in prose ('recipient, company, product, geography, payment-nature, and amount'), adding no format or combination guidance beyond the schema, so 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?

Specific verb and resource ('Search one CMS Open Payments program-year dataset') followed by the exact filter families it supports, plus the natural-language queries it answers ("which drug companies paid this doctor"). It also names the sibling (open_payments_company) for the case this tool cannot handle, so an agent can route between the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use is given through quoted example intents, and explicit when-NOT-to-use is given with the reason ('which manufacturer paid the most' is not computable live, the 14M-row aggregation times out upstream) paired with the named alternative. This is the strongest form of routing guidance: condition, rationale, and substitute.

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.