get_tract_data
Get tract-level ACS data for any variables within a county.
This is a flexible tool for querying any ACS 5-year estimate variables at
the census tract level. Automatically batches requests if more than 50
variables are requested.
Common variable examples:
- B01001_001E: Total population
- B19013_001E: Median household income
- B17001_002E: Population below poverty level
- B25077_001E: Median home value
- B02001_002E-008E: Race breakdown
Args:
state: Two-letter state abbreviation (e.g. 'WA') or 2-digit FIPS code.
county_fips: Three-digit county FIPS code (e.g. '033' for King County, WA).
variables: Comma-separated ACS variable codes (e.g. 'B01001_001E,B19013_001E').
NAME is always included automatically.
year: ACS 5-year estimate year (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": {
"state": "<state>",
"county_fips": "<county_fips>",
"variables": "<variables>"
},
"name": "get_tract_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| state | Yes | ||
| variables | Yes | ||
| county_fips | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |