Best hospitals ranking (CMS)
rank_hospitalsBest 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.
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": "rank_hospitals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional city | |
| type | No | Optional: acute, critical, childrens or psychiatric | |
| limit | No | 1 to 50 | |
| state | No | Two-letter state code | |
| minStars | No | Optional 1 to 5 | |
| emergency | No | Optional true or false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The result. Its fields are documented at https://www.x402pulse.dev/developers for each endpoint. | |
| cached | No | true if the result came from x402Pulse's cache, false if it was just computed. |