Skip to main content
Glama

Official Records Hub (UK & US): property, company, sanctions, health, vehicle & travel checks

us_zip_demographics

Pay-per-call US ZIP code profile for AI agents. Send a 5-digit ZIP and get population, median age, median household and per-capita income, median home value and rent, owner vs renter share, poverty rate, unemployment rate and share with a bachelor's degree or higher, as clean JSON. Official U.S. Census Bureau American Community Survey 5-year data (public domain). Unknown ZIPs return an error and are never charged. Use this when the user asks about population, income, housing or demographics of a US ZIP code. Not for: individual people or UK areas. Price: $0.02 USDC per call (x402).

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": "<zip>"
    },
    "name": "us_zip_demographics"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipYes5-digit US ZIP code, e.g. 90210. Example: 90210

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

No annotations are supplied, so the description must carry the full burden and it does: pricing model ($0.02 USDC per call via x402), data provenance (Census ACS 5-year, public domain), error behavior for unknown ZIPs combined with a billing guarantee ('never charged'), and the response format (clean JSON). These are exactly the behavioral facts an agent needs before spending money on a call.

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?

Front-loaded with the identity and price, then the return payload, then usage routing. The metric enumeration is long but each item is a distinct returned field, so it earns its space; the only mildly redundant line is the schema-echoing 'Send a 5-digit ZIP'.

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

Completeness5/5

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

With one parameter, no output schema and no annotations, the description fully compensates by listing the return fields, the data source, the failure mode, and the cost. An agent has everything needed to decide and call correctly.

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 coverage is 100% and the single 'zip' parameter already carries a description and example ('5-digit US ZIP code, e.g. 90210'). The description's 'Send a 5-digit ZIP' restates that constraint without adding format rules, so it neither helps nor hurts beyond the schema baseline.

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?

States a specific resource and scope ('US ZIP code profile') plus a concrete verb ('Send a 5-digit ZIP and get...') and enumerates the exact metrics returned. The 'US ZIP' framing separates it from the UK postcode siblings without ambiguity.

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?

Gives an explicit use condition ('when the user asks about population, income, housing or demographics of a US ZIP code') and explicit exclusions ('Not for: individual people or UK areas'). It stops short of naming the sibling to use instead (e.g. lookup_uk_postcode), leaving the routing to inference, but the positive/negative boundary is clear.

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