Skip to main content
Glama

List payers

list_payers
Read-only

Every insurer (payer) in the snapshot, independent of any code, most hospitals first, with display_name, hospital_count, code_count and payer_rate_rows. About 70, so unpaginated. Use the payer_slug with get_payer, list_payer_plans, list_payer_hospitals and the code-level payer tools. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_payers"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected as INVALID_ARGUMENT.
min_hospital_countNoLeave out payers filed by fewer hospitals than this, to drop the long tail. 0 (default) returns all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses ordering, approximate result size and lack of pagination, the exact fields returned, and a concrete failure mode ('fails with UNAVAILABLE until the server has opened one'). That error behavior is operational context the agent cannot get from structured fields.

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?

Three dense sentences, front-loaded with the identity and scope, then ordering/fields, then follow-up tools and the failure mode. Telegraphic style carries no filler and every clause supplies usable information.

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 compensates by naming the returned fields and the ordering, and it covers the key operational risk (server not yet opened). A brief note on whether state/min_hospital_count interact (e.g. counts are filtered) would close the last gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description modestly adds context by framing the list as nationwide (~70) and ordered, which helps interpret what min_hospital_count and state narrow. It does not, however, add syntax or edge-case meaning for either parameter beyond the schema's own text.

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 resource and scope: 'Every insurer (payer) in the snapshot, independent of any code', plus ordering ('most hospitals first') and returned fields. The 'independent of any code' clause distinguishes it from the code-level payer siblings such as list_code_payers without opening their schemas.

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

Usage Guidelines4/5

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

Explicitly tells the agent what to do with the returned payer_slug (get_payer, list_payer_plans, list_payer_hospitals, code-level payer tools) and notes it is unpaginated at ~70 rows, so paging is unnecessary. It gives strong follow-up routing but no explicit when-not-to-use statement beyond the implied code-scoped contrast.

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.