Skip to main content
Glama

Census Geocode Batch

census_geocode_batch
Read-onlyIdempotent

Geocode up to 100 US addresses in a single call and return each one's match status, standardized address, coordinates, and state/county/tract/block FIPS codes. Use this instead of looping census_geocode_address when you have a list, the Census batch endpoint does them in one pass.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "addresses": [
        {
          "id": "wh",
          "zip": "20500",
          "city": "Washington",
          "state": "DC",
          "street": "1600 Pennsylvania Ave NW"
        },
        {
          "id": "esb",
          "zip": "10118",
          "city": "New York",
          "state": "NY",
          "street": "350 5th Ave"
        }
      ]
    },
    "name": "census_geocode_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
vintageNoGeography vintage, default Current_Current
addressesYesList of addresses (max 100). Each item is either a one-line string, or an object with street/city/state/zip and an optional id.
benchmarkNoCensus benchmark, default Public_AR_Current

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds meaningful context beyond that: the 100-address ceiling, that the endpoint processes everything 'in one pass,' and the shape of returned data (match status per address), which matters because there is no output schema. It stops short of saying what happens when some addresses fail to match or the batch is rejected — useful given per-address match status implies partial success is possible.

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

Conciseness5/5

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

Two sentences, zero filler, and the capability statement is front-loaded ahead of the sibling routing advice. Every clause carries information the agent needs.

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 no output schema, the description usefully summarizes the return payload and the batch size limit, which is enough to invoke it correctly. The only real gap is failure semantics for partial or unmatched addresses, a small omission for a read-only, idempotent tool.

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%, so the schema already documents addresses, vintage, and benchmark, including the string-or-object item flexibility. The description only reinforces the 100 cap that the schema also states, adding no new semantics about formats or defaults — baseline 3 is appropriate when the schema does the work.

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 (geocode) plus resource (US addresses), the batch limit (up to 100), and enumerates what comes back (match status, standardized address, coordinates, FIPS codes). It explicitly distinguishes itself from the address-level sibling by name, so an agent can pick between them without opening either schema.

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?

Gives an explicit routing rule: use this 'instead of looping census_geocode_address when you have a list.' Both the when (you have a list) and the alternative (per-address looping) are named, which is the strongest form of guidance available.

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.