compare_state_crime
Compare crime rates across multiple US states for a single year.
Fetches crime estimates for each state and returns them side by side
for easy comparison. Useful for grant narratives requiring regional context.
Args:
states: Comma-separated two-letter state abbreviations (e.g. 'CA,TX,NY').
crime_type: Type of crime to compare. Options: violent-crime, property-crime,
burglary, larceny, motor-vehicle-theft, homicide, robbery,
aggravated-assault. Default: violent-crime.
year: The year to compare (default 2022).
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": {
"states": "<states>"
},
"name": "compare_state_crime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| states | Yes | ||
| crime_type | No | violent-crime |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |