Skip to main content
Glama

x402Pulse

health_hospitals

Best hospitals ranking for a U.S. state or city from Centers for Medicare & Medicaid Services (CMS) Care Compare data: ranked by CMS star rating, then net score (quality measures better than national minus worse across mortality, safety and readmissions). Filter by city, minimum stars, emergency services and hospital type (acute, critical access, children's, psychiatric). Not medical advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNo
typeNo
limitNo1 to 50
stateNoTwo-letter state code
minStarsNo
emergencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the sort logic (CMS star rating, then net score defined across mortality, safety, readmissions) and a liability disclaimer, but says nothing about authentication, rate limits, result size, or what happens when no filters are supplied.

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 but front-loaded paragraph: purpose first, ranking methodology second, available filters third, disclaimer last. No sentence is filler, though the nested parenthetical for the net-score definition and type enum is slightly cramped for scanning.

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?

With no annotations, no output schema, and all parameters optional, the description should clarify default behavior — it never says what comes back when state/city are omitted (all states? error?). It covers sources and ranking well but leaves the zero-filter call ambiguous.

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 only 33%, so the description must compensate — and it largely does, naming city, state, minimum stars, emergency services, and the four hospital type enum values (acute, critical access, children's, psychiatric) with plain-language meaning. Only the `limit` parameter (1-50) is left to the schema alone.

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?

States a specific verb+resource (hospital ranking) with the data source named (CMS Care Compare), which is far more than a restated name. However, it does not distinguish itself from the singular sibling tool health_hospital, so an agent has no signal for which of the two to pick.

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?

The filtering capabilities implicitly tell the agent when the tool is applicable (need a ranking for a state/city with optional stars/type/emergency filters). There is no explicit when-not guidance, no prerequisite statement, and no routing to or away from the health_hospital sibling.

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