Skip to main content
Glama
address-to-census-tract-mcp

address-to-census-tract-mcp

Get census tract for coordinates

get_census_tract_for_coordinates
Read-onlyIdempotent

Converts latitude and longitude into the US Census tract, block group, county and legislative districts for that location, so you can map coordinates to census geography.

Instructions

Census tract, block group, block, county, place and congressional and state legislative districts for a latitude and longitude, from the US Census Bureau Geocoder.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "get_census_tract_for_coordinates"
  }
}

Input Schema

NameRequiredDescriptionDefault
vintageNoCensus vintage. current (default) uses today's geographies; census2020 uses the 2020 Census geographies; acs2017 to acs2026 match an ACS release.
latitudeYesLatitude, for example 41.8827.
longitudeYesLongitude, for example -87.6237.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds the underlying data source and the fact that multiple geography levels come back in one call, but omits failure modes (out-of-coverage points, geocoder outages) and any rate-limit context.

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?

A single efficient sentence that front-loads the returned geographies and closes with the data source. The enumeration of geography types is slightly long but each item carries informational value about the response.

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?

With no output schema, the description does a reasonable job listing what is returned, and the schema handles all parameters. It still leaves the US-only coverage assumption and error behavior unstated, which matters for a geocoding lookup that fails silently outside Census coverage.

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 latitude, longitude, and the vintage enum are fully documented in the schema. The description adds no extra meaning about coordinate precision, US-only constraints, or how vintage selection affects returned geographies, so 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 names the resource concretely (census tract, block group, block, county, place, congressional and state legislative districts) and the input (latitude/longitude), plus the upstream source (US Census Bureau Geocoder). It implicitly separates itself from get_census_tract_for_address by keying on coordinates, but never names the sibling.

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?

No explicit when-to-use or when-not-to-use statement. An agent can infer the coordinate-based branch of the sibling pair, but nothing tells it to prefer get_census_tract_for_address when an address is available, nor what happens for non-US or ocean coordinates.

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