Skip to main content
Glama
cms-provider-data-catalog-mcp

cms-provider-data-catalog-mcp

Query CMS hospital general info

query_cms_hospital_general_info
Read-onlyIdempotent

Query the CMS Hospital General Information dataset to find hospitals by state, city, hospital type, or overall star rating and compare quality results.

Instructions

Query the official CMS Hospital General Information dataset (xubh-q36u) by state, city, hospital type, or overall star rating.

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": "query_cms_hospital_general_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name (for example "CHICAGO" or "BOSTON").
limitNoMaximum hospitals to return (default 10, max 50).
stateNoTwo-letter US state code (for example "CA", "NY", "TX").
offsetNoZero-based pagination offset (default 0).
hospital_typeNoHospital type (for example "Acute Care Hospitals").
overall_ratingNoCMS overall hospital star rating ("1" to "5").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds provenance value by identifying the tool as querying the authoritative CMS dataset xubh-q36u, but it says nothing about what a result row contains, how pagination interacts with total result counts, or the 50-record cap — notable since no output schema exists.

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?

A single tight sentence that front-loads the dataset identity and then enumerates the filters. No filler, no redundancy with the title.

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?

For a six-parameter, fully optional query tool with no output schema, the description covers what can be filtered but not the return shape or the behavior when no filters are supplied (all hospitals, subject to limit). Those gaps are modest given complete schema coverage and rich annotations, but they leave the definition just above minimum viable.

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 every parameter (city, state, hospital_type, overall_rating, limit, offset) is already documented with examples and constraints. The description restates the filter dimensions at a high level but adds no syntax, casing, or combination semantics beyond the schema. 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 verb ("Query") and a precisely identified resource ("the official CMS Hospital General Information dataset (xubh-q36u)"), and lists the four filter dimensions it supports. The dataset ID goes a long way toward distinguishing it from siblings like search_cms_provider_records, but no sibling is named explicitly, so routing still requires some inference.

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 only implied: an agent can infer this is the tool for hospital general-info lookups filtered by geography, type, or rating. There is no explicit when-to-use versus the sibling tools (e.g. search_cms_provider_records vs this dataset-specific query), and no stated preconditions or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.