Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Related geographies (crosswalk)

related_geographies
Read-only

Links between geographies that overlap without nesting, with population shares.

Districts: for a precinct, county, town, city (place) or ZIP, the congressional, state senate and state house
districts it falls in; for a district, the precincts, counties, towns, cities or ZIPs inside it (filter with
`level`, e.g. 'precinct'). A city ('us:place:1714000') also lists its counties. A ZIP ('us:zcta:07102') lists the
cities, counties, towns, precincts and districts it overlaps. Ask for `level='zcta'` on a city, county, town or
district to list the ZIP codes in it.
`weight` is the share of the smaller unit's 2020 population inside the other (for a ZIP, the share of the ZIP's
residents in each unit; 0 for parts with land but no residents). relation 'within' means wholly inside (1.0),
'overlaps' means split, 'approximate' means the unit was too small to contain any 2020 block's internal point and
was placed by the nearest block. Use min_weight to drop slivers. ZCTAs approximate USPS ZIP Codes.

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": {
      "id": "<id>"
    },
    "name": "related_geographies"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
levelNo
limitNo
offsetNo
min_weightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds real semantic context on top: what `weight` measures, what each `relation` value means, when 'approximate' appears, and that ZCTAs only approximate USPS ZIPs. It doesn't mention the 500-row default limit, pagination behavior, or what happens when a query exceeds it, which is the main behavioral gap for a read tool.

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?

The core concept is front-loaded in one sentence, then level-specific behavior is enumerated, then the weight/relation semantics. It is dense but every block maps to a real calling decision. The per-type enumeration is slightly repetitive, but trimming it would lose useful routing detail.

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?

For a 5-parameter crosswalk tool with no output schema, the description covers the semantics an agent needs to interpret results (relation, weight, approximate caveat, ZCTA caveat). What remains unclear is the shape of a returned row (identifiers, names) and result-volume behavior at the default limit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry parameter meaning, and it does well for the important ones: `level` (with worked examples), `min_weight` (sliver removal), `weight`, and `id` formats ('us:place:1714000', 'us:zcta:07102'). `limit` and `offset` are never explained despite having non-trivial defaults (500 / 0).

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 opening line states the resource precisely: linkages between geographies that overlap without nesting, carrying population shares. The extensive per-level examples (precinct → districts, district → contained units, city → counties, ZIP → overlaps) make the tool's scope unmistakable. It does not name a sibling explicitly, but the 'overlap without nesting' framing implicitly separates it from hierarchy tools like list_children.

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?

It gives concrete guidance on how to drive the tool: pass `level='precinct'` to filter contained units, `level='zcta'` on a city/county/town/district to list ZIPs, and `min_weight` to drop slivers. What is missing is any explicit exclusion or redirect — e.g. when to prefer list_children for a strict parent/child walk or get_boundaries for geometry instead.

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