Skip to main content
Glama

Open Payments Company History

open_payments_company_history
Read-onlyIdempotent

Build a cross-year CMS Open Payments history for a company-name substring. Annual total_matches is a lower bound for company queries (rows seen, not a full count); dollar figures cover only the returned bounded sample and company aliases may split or combine legal entities.

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": {
      "company": "Pfizer",
      "to_year": 2025,
      "from_year": 2021
    },
    "name": "open_payments_company_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYes
to_yearNo
from_yearNo
payment_typeNo
sample_per_yearNo

Output Schema

NameRequiredDescriptionDefault
yearsYes
interpretationYes
sampled_recordsYes
sampled_amount_usdYes
total_matches_across_yearsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so safety is covered. The description adds genuinely non-obvious behavior: total_matches is a lower bound because it counts rows seen rather than a full count, dollar figures are limited to the bounded returned sample, and company aliases can split or combine legal entities. These caveats materially change how an agent should interpret and present results.

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?

Two dense sentences, front-loaded with the core action, followed immediately by the three interpretation caveats. Every clause carries information and there is no filler. The sentence packing the caveats is long but each caveat earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema and full annotations, so the description need not explain return values, and it handles the important result-interpretation caveats well. What remains missing is enough parameter-level guidance for a five-parameter tool with 0% schema coverage.

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 0% across five parameters, so the description must compensate. It clarifies the most ambiguous parameter, company, as a name substring, and the notion of a bounded per-year sample implies what sample_per_year does. However, from_year, to_year and the payment_type enum are not explained at all, so the gap is only partly closed.

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?

The description states a specific verb and resource: building a cross-year CMS Open Payments history for a company-name substring. That is more precise than a bare restatement of the name and makes the cross-year scope explicit. It does not explicitly contrast itself with the sibling open_payments_company (single-company lookup), so differentiation is inferred rather than stated.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The phrase 'cross-year history' implies it is the multi-year counterpart to a single-period tool, but the agent must infer that routing decision from the title and sibling names alone.

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.