Skip to main content
Glama

UK Property & Location Data

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. 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.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the $0.02 USDC x402 pricing model, the failure semantics (unknown ZIP errors and is never charged), the data provenance (Census ACS 5-year, public domain), and the return format (clean JSON). It does not explain the x402 payment handshake an agent must perform, retry charging behavior, or latency, which keeps it from a 5.

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 purpose, then outputs, then provenance, then price and error behavior — a sensible ordering with no filler sentences. The long run-on enumeration of data fields is dense but each item helps an agent decide relevance.

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?

No output schema and no annotations exist, so the description must cover both returns and behavior, and it does: field inventory, JSON format, source, cost, and error handling. It omits the survey vintage/year, the currency and units of the income and value figures, and whether figures are estimates or ranges.

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?

There is a single parameter at 100% schema coverage, so the schema already documents the 5-digit ZIP constraint and the 90210 example. The description restates '5-digit ZIP' and adds no format, validation, or edge-case detail beyond it; baseline 3 applies.

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 ('US ZIP code profile') and the exact retrieval action (send a 5-digit ZIP, get demographics), then enumerates the returned fields. An agent can immediately tell this apart from the UK postcode and property-report siblings without opening any schema.

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 detailed field list makes the use case unambiguous: call this when a query needs population, age, income, housing, or education figures for a US ZIP. It also sets a boundary ('Unknown ZIPs return an error'). It never names an alternative tool or an explicit when-not condition, so it stops short of a 5.

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