Skip to main content
Glama

geo_district

Read-only

Congressional, legislative & census districts for a US address — Every political and statistical district for a US street address or point: US congressional district, state senate and state house districts, county, city/place, school district, metro area, ZIP code tabulation area, census tract, block group and block, with GEOIDs. Address, lat/lon or place name. Price: $0.003 USDC (Base, via x402).

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": {
      "address": "<address>"
    },
    "name": "geo_district"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNolatitude (optional)
lonNolongitude (optional)
addressYesUS street address, e.g. 600 Pennsylvania Ave NW, Washington DC (or lat+lon, or place)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavioral context beyond them: the tool is a paid endpoint with a stated unit price ($0.003 USDC on Base, via x402), which an agent must know before invoking. It stops short of describing failure modes or partial-address fallbacks.

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

Conciseness3/5

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

The purpose is front-loaded in the first clause, which is good, but the long enumerated district list partly repeats the opening phrase ("Congressional, legislative & census districts" then again the full list), and pricing is buried at the end. Roughly two sentences of content are spread across a dense run-on with redundancy.

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 three-parameter, annotation-covered, priced lookup tool this covers what an agent needs: what it returns (district types plus GEOIDs), accepted input forms, and cost. No output schema exists, so the description carries the return-value burden and does so at a summary level; it omits response shape and address-resolution failure behavior, which keeps it from a 5.

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 lat, lon and address, and the description's "Address, lat/lon or place name" only restates them. It adds no format, precedence or fallback semantics — notably it does not resolve the tension between the schema requiring address and the prose offering lat/lon as a substitute. 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?

"Congressional, legislative & census districts for a US address" states a concrete resource with a concrete input, and the enumeration (congressional, state senate/house, county, city, school district, metro, ZCTA, tract, block group, block, with GEOIDs) removes nearly all ambiguity about scope. It does not name or distinguish itself from the clearly related siblings geo_county, geo_zip and geo_geocode, so it falls short of a 5.

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 description conveys acceptable inputs ("Address, lat/lon or place name") which implies the calling context, but it never states when to choose this tool over geo_county, geo_zip or geo_geocode, nor any exclusion or prerequisite. Usage is inferable rather than guided.

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