compare_demographics
Compare demographic profiles across two to ten ZIP codes, returning side-by-side data on population, income, and housing to identify regional differences.
Instructions
Compare demographics side by side for two to ten ZIP codes. Returns each ZIP's demographic profile plus summary comparison ranges (population, income, housing).
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": {
"zip_codes": "<zip_codes>"
},
"name": "compare_demographics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_year | No | Specific ACS data year. Omit for the most recent available year. | |
| zip_codes | Yes | Two to ten 5-digit ZIP codes to compare. | |
| categories | No | Optional list of categories to include in the comparison. |