Skip to main content
Glama

open_payments_search

Read-onlyIdempotent

Search CMS Open Payments general payments (Sunshine Act) -- pharmaceutical/device company payments to doctors and teaching hospitals. Filter by company, doctor surname, state, specialty, and year. Returns payment amount, type (food/travel/consulting/gift/royalty), drug/device name, and recipient details. 15M+ records per year.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoProgram year (auto-discovers latest if omitted, e.g. '2024')
limitNoMax rows (default 20, max 100)
stateNoTwo-letter state code (e.g. 'CA', 'TX')
doctorNoDoctor last name (case-insensitive)
companyNoManufacturer/GPO name (partial match), e.g. 'Pfizer', 'Stryker', 'Johnson & Johnson'
specialtyNoMedical specialty (partial), e.g. 'Cardiology', 'Orthopaedic'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so safety is covered; the description adds real value by naming the data source (CMS/Sunshine Act), the dataset scale (15M+ records per year), and the shape of returned fields. It stops short of noting pagination limits or result ordering.

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?

Three sentences, well front-loaded: identity and scope first, filters second, return shape and scale last. No filler, though the returns list slightly duplicates what could live in an output schema.

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 no output schema, the description usefully enumerates return fields and notes data volume, giving the agent enough to judge coverage. Minor gaps remain around default year behavior interaction and result limits, though those live in the parameter descriptions.

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 every parameter is already documented with examples and constraints. The description merely restates the filterable dimensions (company, doctor surname, state, specialty, year) without adding syntax, matching behavior, or interaction rules.

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 -- searching CMS Open Payments general payments under the Sunshine Act -- and names the covered entity types (pharma/device companies paying doctors and teaching hospitals). It does not, however, distinguish itself from siblings like open_payments_by_company, open_payments_top, or open_payments_state_totals, which an agent would need to route between.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no named alternatives among the many open_payments_* siblings. The 'general payments' scope implicitly hints it is not the research-payments tool, but the agent is left to infer that.

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.