get_city_inspections
Returns an MCP App card ranking restaurants with the most serious recent health-inspection violations in the chosen city (chicago, nyc, minneapolis, milwaukee, austin, denver). The server ranks a wide recent window and returns one page of that ranking. Supports limit/offset pagination.
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": {
"city": "<city>"
},
"name": "get_city_inspections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City to query: chicago, nyc, minneapolis, milwaukee, austin, or denver. | chicago |
| limit | No | Maximum restaurants on this page of the ranking. Defaults to 10. | |
| offset | No | Number of ranked restaurants to skip. Defaults to 0. pagination.next_offset in the result is the next page, or null when the ranking is finished. |