Skip to main content

Get Demographics

Get demographics information for a specified geographic area.

Use ``PUMA`` whenever the user asks about a submarket. In this tool,
"submarket" and PUMA refer to the same geography level.

Inputs​

ParameterRequiredTypeDetails
geographic_idYesintegerThe ID for the specified area
(e.g., "94117" for a ZIP code, "19100" for the Dallas MSA,
or the corresponding PUMA/submarket ID).
type_strYesstringThe geographic type. Must be "ZIP", "MSA", or "PUMA".
If the user says "submarket", use "PUMA".

Annotations​

{
"title": "Get Demographics",
"readOnlyHint": true,
"destructiveHint": false,
"openWorldHint": false
}

Input schema​

{
"type": "object",
"additionalProperties": false,
"properties": {
"type_str": {
"type": "string",
"description": "The geographic type. Must be \"ZIP\", \"MSA\", or \"PUMA\".\nIf the user says \"submarket\", use \"PUMA\"."
},
"geographic_id": {
"type": "integer",
"description": "The ID for the specified area\n(e.g., \"94117\" for a ZIP code, \"19100\" for the Dallas MSA,\nor the corresponding PUMA/submarket ID)."
}
},
"required": [
"type_str",
"geographic_id"
]
}