Skip to main content
Glama

Official Records Hub: UK & US Property and Location Data

us_zip_demographics

Read-onlyIdempotent

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?

Adds substantial context beyond the annotations: the $0.02 USDC x402 pay-per-call pricing model, the guarantee that unknown ZIPs return an error and are never charged, and the upstream source (Census ACS 5-year, public domain). Annotations already flag readOnly/idempotent, so the description's billing and error-charging disclosures are the genuinely load-bearing additions.

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-loads the pay-per-call framing and the output payload, then source, then usage constraints — a sensible order with no filler sentences. Minor redundancy: the price appears both in the annotation title and as a trailing 'Price: $0.02 USDC per call (x402)' line, and the metric list is long though each field earns its place.

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?

For a single-parameter lookup with no output schema, the description covers everything an agent needs: input format, the full set of returned fields, error semantics for unknown ZIPs, cost per call, and data provenance. Nothing material is left to guess.

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?

With one parameter at 100% schema description coverage, the schema already documents the 5-digit ZIP format and example, so the description's restatement adds nothing new there. The one piece of added meaning is that invalid/unknown ZIPs surface as an error rather than a charge, which is mildly useful validation context.

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 verb+resource ('Send a 5-digit ZIP and get population, median age, median household and per-capita income...') and enumerates the returned metrics, so the agent knows exactly what the tool produces. It also distinguishes itself from other services by scoping to US ZIP codes and naming what it is not for (individual people, UK areas).

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 when-to-use trigger ('when the user asks about population, income, housing or demographics of a US ZIP code') plus a when-not clause (individual people, UK areas). It stops short of naming the specific sibling to use instead (e.g. lookup_uk_postcode or uk_house_prices), leaving the routing to inference.

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