Skip to main content
Glama

cms_hospital_search

Read-onlyIdempotent

Search Medicare-certified hospitals from the CMS Hospital General Information dataset. Returns facility name, address, ownership type, emergency-services flag, and CMS overall star rating (1-5). Filter by state, city, and partial facility-name match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoCity name (case-insensitive)
limitNoMax results (default 25)
stateNoTwo-letter state code (e.g. 'CA', 'NY')
offsetNoPagination offset (default 0)
name_containsNoPartial provider name match

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • changedInput schema / properties / offset / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered. The description adds the upstream data source and the returned attribute set (ownership type, emergency-services flag, star rating 1-5), which is genuine added context for a read tool.

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 tightly packed sentences with no filler; the purpose and scope lead, and the filter capabilities follow. Every clause earns its place.

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 usefully enumerates returned fields, and annotations carry the safety profile. Only minor gaps remain — no pagination behavior or dataset-vintage notes — for a five-parameter search tool.

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 100%, so baseline is 3. The description mirrors the schema's filter dimensions (state, city, partial name) without adding syntax, defaults, or matching semantics (e.g., how partial matching behaves, case sensitivity, pagination interaction).

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?

Clear verb+resource: 'Search Medicare-certified hospitals from the CMS Hospital General Information dataset.' The resource is specific enough that an agent can distinguish it from cms_home_health_search, cms_hospice_search, and cms_nursing_home_search by facility type, though the description never explicitly names those siblings.

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?

The description offers no when-to-use guidance, no prerequisites, and no alternatives — despite three obvious parallel CMS facility tools in the toolset. 'Filter by state, city, and partial facility-name match' is a restatement of filter dimensions rather than routing advice.

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.