Skip to main content
Glama
UHQ-Actual
by UHQ-Actual

Resolve US Place to Population, Area Tier, and Multiplier Base

census_area_profile

Retrieve total population and area tier for any US city using ACS 5-year estimates. Generates county and state FIPS codes to size enforcement universes.

Instructions

Look up a US city/town/CDP via the Census geocoder, then fetch its total population from the ACS 5-year estimate. Returns: total population, area tier (major_metro / mid_metro / small_or_rural matching the adv_estimate multiplier table), row-scaling tier and target (matching the Restaurant Research Agent's row-scaling formula max(pop/250, floor)), county FIPS for usaspending_award_search, state FIPS, place FIPS, and the high-cost-of-living-state flag for CA/NY/MA/WA/HI. Use this BEFORE adv_estimate when sizing an enforcement universe or running a restaurant research workflow against an unfamiliar city. Free Census API; no key required for basic queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoUS city / town / place name. Pair with `state`. Example: 'Hillsdale'.
stateNoUSPS two-letter state code. Pair with `city`. Example: 'MI'.
dryRunNoReturn a sample Hillsdale, MI profile without calling the Census API.
acsYearNoACS 5-year vintage to query. Defaults to 2022.
placeFipsNoDirect Census place FIPS. Pair with `stateFips` to skip the geocoder entirely.
stateFipsNoDirect Census state FIPS (e.g. '26' for Michigan). Pair with `placeFips`.
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses the free Census API, no key required, and explains the geocoding and fetch process. However, it lacks explicit error handling details (e.g., when city is not found).

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?

The description is well-structured with the main action upfront, followed by return fields and usage guidance. It is slightly verbose but every sentence adds necessary information.

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?

Given the tool's complexity (6 parameters, no output schema), the description adequately explains the returned fields and their purposes (e.g., county FIPS for usaspending_award_search). Some structured output would improve completeness, but it's sufficient.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by explaining parameter pairs (e.g., city/state vs placeFips/stateFips) and the dryRun function, providing context beyond the schema.

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 clearly states the tool's purpose: 'Look up a US city/town/CDP via the Census geocoder, then fetch its total population from the ACS 5-year estimate.' It lists the returned fields, distinguishing it from siblings like adv_estimate.

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

Usage Guidelines5/5

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

Explicitly advises to 'Use this BEFORE adv_estimate when sizing an enforcement universe or running a restaurant research workflow against an unfamiliar city.' This provides clear when-to-use and when-not-to-use context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UHQ-Actual/DOL_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server