Compare two cities
compare_citiesSide-by-side historical records for two US cities with the difference in Clean Air Score and PM2.5. Warnings list any copied record. Each city is either an own_record (scored from its own data) or a copied_record (the full record of the nearest scored city, named in source_city, source_state and source_distance_miles). A copied_record describes the source city, not measurements taken in the named city. Values are historical annual data, not the current AQI.
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_a": "<city_a>",
"state_a": "<state_a>",
"city_b": "<city_b>",
"state_b": "<state_b>"
},
"name": "compare_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_a | Yes | ||
| city_b | Yes | ||
| state_a | Yes | Two-letter state code. | |
| state_b | Yes | Two-letter state code. |