Skip to main content
Glama

CMS Hospital General Information: hospital name, city

health_hospitallink_cms_ratings
Read-only

CMS Hospital General Information (data.cms.gov): hospital name, city, type, ownership, emergency services, overall star rating (1-5, when CMS publishes one) and counts of measures better, no different or worse than the national rate for mortality, safety and readmission. Up to 50 hospitals per state per call. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "state": "<state>"
    },
    "name": "health_hospitallink_cms_ratings"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoHow many hospitals, 1 to 50 (default 10)
stateYesTwo-letter US state code, e.g. VT

Output Schema

NameRequiredDescriptionDefault
viaNo
stateNo
sourceNo
checkedAtNo
hospitalsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description adds real context: per-state result ceiling of 50, the caveat that star ratings appear only 'when CMS publishes one', and a pricing model ($0.002 per successful call, x402 payment, failed calls free). It does not describe response ordering or how to page beyond the cap.

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?

One dense sentence front-loads the source and the returned fields, then appends limits and cost. Every clause carries information; the only mild cost is that fields, limits, and pricing are packed together without visual separation.

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 an output schema present, the description rightly skips return formatting and instead covers source, fields, per-call cap, rating-availability caveat, and billing semantics. The one gap is pagination behavior when more than 50 hospitals exist in a state.

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 coverage is 100% and both parameters already carry descriptions (state as two-letter code, max 1-50 default 10). The description only reinforces the state scoping and the 50-item ceiling, adding no format or edge-case meaning beyond the schema, so baseline 3 applies.

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 data source (CMS Hospital General Information, data.cms.gov) and enumerates the fields returned: name, city, type, ownership, emergency services, overall star rating, and measure counts. That is clearly more than a restatement of the tool name, though it never explicitly contrasts itself with nearby siblings like physician compare or Medicare Part D.

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 required state parameter and the 'up to 50 hospitals per state per call' cap, so an agent can infer this is a state-scoped lookup. However, there is no statement of when to prefer this over other CMS tools, and no guidance on what to do when a state has more than 50 hospitals (pagination or repeat calls).

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.

Resources