Skip to main content
Glama

Fintel Discovery — Financial Intelligence for AI Agents

Get Territory Wealth Profile — Census ACS

GetTerritoryWealthProfile
Read-onlyIdempotent
    Retrieve US Census American Community Survey (ACS) income and wealth proxy
    data for a ZIP code or state. Returns median household income, median home
    value, total household count, and the count and share of households earning
    $100k or more — useful for scoring territory opportunity for financial advisors.

    Key metrics returned:
    - median_hh_income: Median household income (B19013)
    - median_home_value: Median owner-occupied home value (B25077)
    - total_households: Total household count (B11001)
    - hh_100k_plus: Households earning $100k+ (derived)
    - hh_100k_plus_pct: Share of households earning $100k+ (derived)

    Use this tool when:
    - You are scoring a territory for wealth potential by ZIP code
    - You want to compare household income distribution across territories
    - You need a demographic wealth proxy before overlaying advisor AUM data

    Requires cenpy Python package and optionally a free Census API key
    (api.census.gov/data/key_signup.html).
    Source: US Census Bureau ACS 5-Year estimates. Free with optional API key.
    

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "GetTerritoryWealthProfile"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"83debea8-aa55-44c0-91b2-94129ed42da5"New value: +"9c16956d-30ce-4a2b-8b0d-23eebeb419f1"
  2. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"1e3db2ac-608d-4ff7-8b19-8fc78826e993"New value: +"83debea8-aa55-44c0-91b2-94129ed42da5"
  3. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"498d9131-d794-4dd2-b1d6-b4d19d83cf35"New value: +"1e3db2ac-608d-4ff7-8b19-8fc78826e993"
  4. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"05525087-35e9-4aac-b06d-6d88ce386b2e"New value: +"498d9131-d794-4dd2-b1d6-b4d19d83cf35"
  5. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"f258bd16-f060-4e4a-a55d-221a0484866d"New value: +"05525087-35e9-4aac-b06d-6d88ce386b2e"
  6. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"5f4db44b-e5cc-4f3a-8da3-ac591a019c81"New value: +"f258bd16-f060-4e4a-a55d-221a0484866d"
  7. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"d9f77642-e017-4785-9150-e658c2dba3a0"New value: +"5f4db44b-e5cc-4f3a-8da3-ac591a019c81"
  8. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"dbe99169-c071-4ed4-9ae9-8bbfb9a88ad8"New value: +"d9f77642-e017-4785-9150-e658c2dba3a0"
  9. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"3775b46a-5aa8-4586-af57-2453c8bcd08c"New value: +"dbe99169-c071-4ed4-9ae9-8bbfb9a88ad8"
  10. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"d81a5175-11e9-494a-baa5-71d4ffad4ab9"New value: +"3775b46a-5aa8-4586-af57-2453c8bcd08c"
  11. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"9e7f8798-7d22-4378-b93d-179c6f8cb854"New value: +"d81a5175-11e9-494a-baa5-71d4ffad4ab9"
  12. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"9919ff85-e960-472f-863b-3de4c5abed9f"New value: +"9e7f8798-7d22-4378-b93d-179c6f8cb854"
  13. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"38452924-d5df-4668-b51c-d7cd5acabc09"New value: +"9919ff85-e960-472f-863b-3de4c5abed9f"
  14. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"fa72f604-6239-428b-81df-11f07c2c8d00"New value: +"38452924-d5df-4668-b51c-d7cd5acabc09"
  15. Changed1 schema field changed
    • changedInput schema / $defs / TerritoryWealthProfileParams / properties / mcp_prompt_id / default
      Previous value: -"7b866f24-13ab-4e54-8d3a-f775612c393f"New value: +"fa72f604-6239-428b-81df-11f07c2c8d00"
  16. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so the safety profile is covered; the description adds real context beyond that — the cenpy dependency, the optional free Census API key, and the fact that unauthenticated access is rate-limited. It also names the data provenance (ACS 5-Year) which matters for interpreting the numbers. Minor tension: openWorldHint=false while the tool clearly calls the live census.gov API, and the ACS vintage year is not stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well front-loaded: purpose in sentence one, then metric list, then usage triggers, then requirements. The 'Key metrics returned' bullet list largely restates what the output schema already provides, which is the one place wording is not fully earning its place, but the overall structure is easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present the description needn't explain return values, and it correctly spends its words on dependencies, auth, provenance and use cases instead. Gaps are modest: no statement of ACS vintage/recency, no zip-vs-state precedence, and no note on behavior when a ZIP is invalid or the API key is exhausted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported at 0%, so the description should carry more weight; it does identify the two meaningful inputs by stating data is returned for 'a ZIP code or state', and it explains the census_api_key fallback and its rate-limit consequence. However, it never states the precedence when both zip_code and state are supplied (the schema says state applies 'when no zip_code is given'), and it is silent on the other session/logging/filter parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource — 'Retrieve US Census American Community Survey (ACS) income and wealth proxy data for a ZIP code or state' — and enumerates the exact metrics returned. No sibling tool in the catalog covers census demographics, so there is no realistic ambiguity to resolve, and the agent can tell immediately what this returns and at what geography.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Use this tool when:' block gives three concrete scenarios (scoring territory wealth by ZIP, comparing income distribution across territories, demographic proxy before overlaying advisor AUM). That is clear positive guidance, but there are no exclusions or named alternatives — it never says when to prefer state-level profiling over ZIP-level or which sibling to use for non-demographic territory data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources