Skip to main content
Glama

Open Payments Compare Companies

open_payments_compare_companies
Read-onlyIdempotent

Compare 2-5 company-name queries across CMS Open Payments program years using lower-bound match counts and clearly labeled bounded samples. This does not compare complete spend unless every matching row fits in the sample.

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": {
      "to_year": 2025,
      "companies": [
        "Pfizer",
        "Merck"
      ],
      "from_year": 2023
    },
    "name": "open_payments_compare_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_yearNo
companiesYes
from_yearNo
payment_typeNo
sample_per_yearNo

Output Schema

NameRequiredDescriptionDefault
companiesYes
interpretationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive) and open-world access, so the description's job is to add semantics — which it does by disclosing that counts are lower bounds and samples are bounded and labeled, and that complete spend is not compared unless all rows fit. That is real behavioral context an agent cannot get from the annotations. It does not address rate limits, pagination, or how samples are chosen.

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; the comparison scope is front-loaded and the limitation follows immediately as a qualification of it. Every clause carries information.

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?

An output schema exists, so return values need not be explained, and the partial-result caveat is well handled. Against five parameters at 0% schema coverage with an undocumented enum, however, the definition leaves a notable gap — an agent must guess at payment_type and sample sizing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning and largely does not. It covers the notion of years and bounded samples in prose but gives no format or defaults for from_year/to_year, no meaning for sample_per_year, and never mentions payment_type at all, despite it being the only enum parameter.

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 names a specific verb and resource: compare 2-5 company-name queries across CMS Open Payments program years, and specifies the basis (lower-bound match counts, bounded samples). That distinguishes it from single-entity siblings like open_payments_company or open_payments_top_companies, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the multi-company comparison framing plus the caveat that it is not a complete-spend comparison, which tells an agent when results are partial. There is no explicit guidance on when to choose this over open_payments_company or open_payments_top_companies, and no stated prerequisites or year defaults.

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.