Skip to main content
Glama

open_payments_top

Read-onlyIdempotent

Same filters as open_payments_search but sorted by payment amount descending. Use this to find the LARGEST individual pharma payments by company, state, or specialty.

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

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the descending sort order, a meaningful behavioral trait, but says nothing about default/max rows, pagination, or return shape beyond what the schema states.

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 tight sentences with zero filler, and the distinguishing trait (sorted by amount descending) is front-loaded ahead of the usage hint.

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 read-only top-N query with full schema coverage and a safety-covering annotation set, the description supplies the essential distinguishing behavior. It stops short of describing result volume/pagination, but the limit parameter and annotations cover most of that.

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 six parameters are already documented in the schema. The description only notes that filters match open_payments_search and adds no syntax or format detail, so the baseline 3 is appropriate.

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 (top open payments) and explicitly distinguishes itself from the sibling open_payments_search by the sort order. An agent can tell what this returns and how it differs from the plain search without opening the 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?

Names the alternative (open_payments_search) and the condition that selects this one instead: it is the sorted-descending variant used to find the LARGEST payments. It also enumerates the qualifying dimensions (company, state, specialty), leaving little to inference.

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.