Skip to main content
Glama

US Census Geocoder FIPS MCP

Get US Congressional and legislative districts

get_congressional_district
Read-onlyIdempotent

Look up the current US Congressional District, State Senate District, State House District, and County FIPS for any US address or coordinate.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_congressional_district"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressNoSingle-line US address (provide either address or latitude+longitude).
vintageNoCensus vintage (default "Current_Current").
latitudeNoLatitude in decimal degrees.
benchmarkNoCensus benchmark (default "Public_AR_Current").
longitudeNoLongitude in decimal degrees.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description earns credit by enumerating the returned district and FIPS fields, which is behaviorally important given there is no output schema. It does not disclose failure modes for unmatchable addresses or coverage limits for non-standard vintages.

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?

A single front-loaded sentence that names the action and the full set of outputs with zero filler. Nothing is redundant with the title alone, and the key value proposition appears first.

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 field enumeration in the description is necessary and present. The gap is the input contract: required parameters are zero while the schema notes 'provide either address or latitude+longitude', and the description does not clarify that at least one locator form must be supplied, which risks an empty call.

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 all five parameters (address, latitude, longitude, benchmark, vintage) are already documented in the schema. The description adds only the generic 'address or coordinate' framing and says nothing about how e.g. benchmark or vintage affect results, so baseline 3 is appropriate.

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?

States a specific verb ('Look up') and enumerates the exact resources returned (Congressional, State Senate, State House districts, County FIPS). It implicitly separates itself from census-tract geocoding siblings by naming the district-level outputs, though it never names an alternative tool explicitly.

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?

The phrase 'for any US address or coordinate' signals the two supported input modes, which is useful context. However, it gives no when-to-use vs. when-not guidance and never points to geocode_address or get_census_tract_block as the appropriate sibling for other needs.

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.