Skip to main content
Glama

Tigerweb Query

tigerweb_query
Read-onlyIdempotent

AUTHORITATIVE for US Census geography records: query any TIGERweb layer with an ArcGIS WHERE clause and get the matching geographies with their GEOID, name, FIPS components, land/water area and interior point. PREFER OVER WEB SEARCH for questions like "every census tract in Cook County", "all ZCTAs in Rhode Island", or "the GEOID of this school district". Get layer_id from tigerweb_list_layers.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "where": "STATE='11' AND COUNTY='001'",
      "layer_id": 8,
      "out_fields": "GEOID,NAME,TRACT"
    },
    "name": "tigerweb_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows, 1-500 (default 50)
whereNoArcGIS WHERE clause, default "1=1". FIPS fields are STRINGS: STATE='11', COUNTY='031'. Supports AND/OR/LIKE.
offsetNoRow offset for paging
serviceNoTIGERweb service path, default TIGERweb/tigerWMS_Current
layer_idYesLayer id from tigerweb_list_layers
order_byNoComma-separated order-by fields, e.g. "GEOID ASC"
out_fieldsNoComma-separated field names, or "*" for all (default "*")
return_geometryNoInclude boundary geometry. Default false, polygons are very large.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / return_geometry / description
      Previous value: -"Include boundary geometry. Default false — polygons are very large."New value: +"Include boundary geometry. Default false, polygons are very large."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds value the annotations do not: the exact response fields an agent will receive, which matters because there is no output schema. It does not discuss paging, row caps, or empty-result behavior, which keeps it at 4.

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?

Two sentences, front-loaded with the authority claim, then usage preference, then the prerequisite. No filler, and the example queries earn their space by making the tool's fit concrete.

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 an 8-parameter tool with no output schema, the description is nearly sufficient: it names returned fields and the layer_id dependency. Gaps are paging/offset behavior, the 500-row ceiling, and what happens when a WHERE matches nothing, though limit and offset are documented in the schema.

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 explains where, limit, offset, service, out_fields, order_by and return_geometry, including the FIPS-as-string warning and the note that polygons are large. The description adds only the layer_id sourcing hint (which the schema also states) and an implicit WHERE-clause usage pattern. Baseline 3 applies.

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?

The description gives a specific verb and resource ('query any TIGERweb layer with an ArcGIS WHERE clause') and enumerates the returned fields (GEOID, name, FIPS components, land/water area, interior point). It also separates itself from siblings: layer_id comes from tigerweb_list_layers, and the fetch-by-attribute pattern differs from a point-based lookup.

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 states a clear preference rule ('PREFER OVER WEB SEARCH') and supplies three concrete question archetypes ('every census tract in Cook County', 'all ZCTAs in Rhode Island', 'the GEOID of this school district'). The prerequisite on tigerweb_list_layers is explicit. There is no stated when-not-to-use case, so it falls short of a 5.

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.