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

Get boundaries (GeoJSON)

get_boundaries
Read-only

Polygon boundaries as a GeoJSON FeatureCollection (EPSG:4326, RFC 7946 winding), for drawing dashboard maps.

id: the geography to draw, e.g. 'us:county:34013'. children_level: draw everything at that level inside it
instead, e.g. every 'precinct' in a county or state, every 'county' in a state, every 'polling_division' in a
riding, or every 'precinct' overlapping a congressional district (any share; use related_geographies for shares).
detail: 'high' (~10 m), 'medium' (~50 m, default) or 'low' (~200 m). Neighbouring shapes from the same source
share identical edges at every detail level. clip_to_land: trim open water (ocean, bays, Great Lakes) using
the state/province shoreline outline (default true; inland lakes are not trimmed; shorelines are generalized
to ~1:500k, widened ~200 m so land isn't cut); false gives legal extents. include_districts: add each feature's
congressional / state senate / state house district holding the largest share of its population.
Feature properties: id, level, code, name, parent_id, region, population (2020 Census for precincts and towns,
latest estimate for counties and states), vintage and source_id (2020 Census VTDs have source_id
'us-census-vtd-2020'; current precincts don't), shape_source.

Small results come back inline as `geojson`. Larger ones are not returned inline (they'd flood the
conversation): the hosted service returns a short-lived `download_url` (fetch it with curl into your project);
a local server writes the file to its own export folder and returns `file` (copy it into your project). Page
big selections with offset/limit (max 5000 features).

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": "get_boundaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
limitNo
detailNomedium
offsetNo
clip_to_landNo
inline_max_kbNo
children_levelNo
include_districtsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover read-only and non-open-world, while the description discloses what the annotations cannot: large results are withheld from inline response and surfaced as a short-lived download_url or a local file path, plus the 5000-feature paging ceiling. It also states generalization levels, shared edges between neighbouring shapes, and the ~200 m shoreline widening caveat for clip_to_land.

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?

Front-loaded with purpose and each paragraph is parameter-scoped, so the density is functional rather than padded. It is long and the feature-properties sentence is a dense run-on, but nearly every clause conveys decision-relevant information.

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?

With no output schema, the description still enumerates the FeatureCollection properties (id, level, code, name, population vintage, source_id, shape_source) and explains both large-result delivery paths. The one gap is inline_max_kb, whose threshold behavior is never described even though it governs when results go inline versus to a download.

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 carries the load; it documents id format ('us:county:34013'), children_level semantics with four examples, detail values with resolutions and default, clip_to_land's default and what it does and does not trim, include_districts' population-share rule, and offset/limit paging. Only inline_max_kb is left unexplained.

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

Purpose5/5

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

Opens with a specific verb and resource plus output format: 'Polygon boundaries as a GeoJSON FeatureCollection (EPSG:4326, RFC 7946 winding)'. It also states the intended use ('for drawing dashboard maps') and explicitly contrasts itself with related_geographies for share-based queries.

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?

Gives concrete when-to-use cases: children_level examples for counties in a state, precincts in a county, and the explicit pointer 'use related_geographies for shares' rather than this tool. It does not say when to prefer get_geography or locate_point, leaving some sibling routing to inference.

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