Skip to main content
Glama

Search Municipalities

politics_municipalities
Read-onlyIdempotent

Search US municipalities (cities, towns, villages, counties). Every incorporated place in the US with coordinates. Filter by state, name, or type. Returns website, platform, meeting calendar, and board/commission info where available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoMunicipality name (partial match)
typeNoPlace type: city, town, village, borough, county, cdp
limitNoMax results (default 30)
stateNoTwo-letter state code (MA, CA, TX, etc.)

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds meaningful context: coverage ('every incorporated place in the US with coordinates') and return fields (website, platform, meeting calendar, board/commission info where available). This goes beyond annotation defaults and helps set expectations without contradicting them.

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?

Four concise, information-dense sentences. Each sentence contributes distinct value: the search target, scope coverage, filter options, and return data. No redundant phrases or filler. Front-loaded with the primary action, making it easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, but the description explicitly states what is returned ('website, platform, meeting calendar, and board/commission info where available'). It also clarifies data coverage ('every incorporated place... with coordinates'). With all 4 parameters documented in the schema and annotations covering safety, this is fully sufficient for an agent to select and invoke the tool correctly.

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 descriptions cover 100% of parameters, including partial match for name and two-letter state code. The description's mention of 'Filter by state, name, or type' adds no new semantic information beyond what the schema already provides. Baseline 3 is appropriate as the structured data carries the meaning.

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 clearly states the tool's purpose: 'Search US municipalities' and lists common types (cities, towns, villages, counties). The verb 'Search' plus resource 'municipalities' distinguishes it from sibling tools like politics_search (general) and politics_bills_search (bills). It also specifies filters and return data, making the scope unmistakable.

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?

The description provides clear context for when to use this tool: when needing municipality data. It does not explicitly mention alternatives or exclusions, but the specialized scope (municipalities only) makes the appropriate use case obvious. No direct sibling comparison is given, but the context is sufficient.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose covering different aspects of political data: bills (search, details, text slices, TOC), officials (details, search, by state, representation), bridge pages (create, compare, session, letter), and specialized queries (speeches, votes, positions, provenance). No two tools overlap in functionality.

Naming Consistency5/5

All tools follow a consistent 'politics_<descriptive_name>' pattern using snake_case. Verbs and nouns are combined logically (e.g., 'politics_bills_search', 'politics_candidate_feed'), with no mixing of conventions.

Tool Count4/5

At 25 tools, the set is comprehensive for a political data API but slightly on the high side. However, each tool covers a specific niche (bills, officials, bridge pages, etc.), and the count is justified by the breadth of the domain. It remains manageable and well-scoped.

Completeness4/5

The tool surface covers major data types (bills, officials, candidates, speeches, votes, positions) and interaction workflows (bridge pages, watchlists). Minor gaps exist, such as missing a direct 'politician by name and state' endpoint, but the search and filtering tools compensate. Overall, the set is thorough.