cms_query
Query CMS provider datasets using a dataset identifier, with optional field-based filtering for targeted results.
Instructions
General-purpose query against any CMS provider dataset by dataset identifier. Use cms_search to find available datasets and their IDs. Supports filtering by any field.
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": {
"dataset_id": "<dataset_id>"
},
"name": "cms_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 50) | |
| offset | No | Offset for pagination | |
| dataset_id | Yes | CMS dataset identifier (e.g. 'xubh-q36u' for hospitals, '4pq5-n9py' for nursing homes) or catalog key | |
| filter_field | No | Field name to filter on (e.g. 'state', 'city', 'provider_name') | |
| filter_value | No | Value to filter for |