Skip to main content
Glama
hesscl

census-geocoding-mcp

by hesscl

batch_geolookup_coordinates

Convert up to 10,000 longitude/latitude pairs into Census State, County, Tract, and Block codes via batch CSV or array input.

Instructions

Batch look up Census geographies for up to 10,000 coordinate pairs (longitude/latitude). Provide coordinates as raw CSV or structured array. CSV format: UniqueID,Longitude(X),Latitude(Y). Returns State, County, Tract, and Block codes for each coordinate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vintageNoVintage name or ID (default: "Current_Current")
benchmarkNoBenchmark name or ID (default: "Public_AR_Current")
coordinatesNoArray of coordinate objects. Ignored if csv_content is provided.
csv_contentNoRaw CSV content. Each row: UniqueID,Longitude(X),Latitude(Y). Takes precedence over the coordinates array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the 10,000-record ceiling and the fields returned, which is real value. However, it omits behavioral considerations that matter for a batch lookup: geographic coverage limits, auth/rate-limit behavior, and whether out-of-range or unmatched coordinates fail the whole batch or are simply omitted.

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?

Three tight sentences, front-loaded with purpose, then input modes, then return values. Slightly less than perfect because the CSV column format is repeated from the schema's csv_content description.

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

Completeness3/5

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

For a 4-parameter batch tool with no annotations and no output schema, listing the returned geography codes is helpful, but the description leaves out coverage restrictions, failure/partial-success semantics, and any guidance on the vintage/benchmark parameters' effect on results.

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 description coverage is 100%, so the schema already documents vintage, benchmark, coordinates, and csv_content including the precedence rule. The description restates the CSV column format, which adds mild convenience but no new semantics; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Batch look up Census geographies'), and the coordinate-pair scope plus the 10,000 cap distinguishes it from the single-coordinate sibling find_geographies_coordinates. It stops short of naming that sibling or batch_geocode_locations explicitly, so an agent must infer the split.

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

Usage Guidelines3/5

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

Usage context is implied by the batch framing and by the two accepted input forms (raw CSV vs structured array), but there is no explicit when-to-use vs when-to-use-single, no prerequisite or coverage caveat (e.g. US-only), and no guidance on choosing between csv_content and coordinates.

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