Skip to main content
Glama

BallotWatch

Find representatives

find_representatives
Read-onlyIdempotent

Resolve a U.S. street address or ZIP code to its two senators and House member, sitting members only. An address resolves to one exact district. A ZIP code that spans districts returns each district holding 1% or more of its land (location.districts) and the member for each; a district holding less is named in location.minor_overlaps without its members. Ask for a street address when the answer must be exact.

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

Input Schema

NameRequiredDescriptionDefault
zipNo5-digit ZIP code
addressNoFull street address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, but the description adds non-obvious behavior: filtered to sitting members only, a 1% land-area threshold per district, and minor overlaps surfaced without their members. Without an output schema, naming location.districts and location.minor_overlaps is genuinely useful response-shape information.

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 sentences, front-loaded with the core resolution behavior, then the ZIP edge case, then the address recommendation. Nothing is repeated and the qualifiers ('1% or more of its land', 'sitting members only') each carry decision-relevant weight.

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?

For a two-parameter, non-destructive lookup with no output schema, the definition covers the input trade-off, the precision caveat, the membership filter, and partial return-shape structure. An agent has everything needed to pick a parameter and interpret the likely result.

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 100%, so the baseline is 3, but the description adds real meaning the schema lacks: address resolves to exactly one district, while a ZIP returns every district holding 1% or more of its land. That semantic difference between the two optional parameters is the main thing an agent must understand to choose correctly.

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?

States a specific verb and resource: 'Resolve a U.S. street address or ZIP code to its two senators and House member.' It also scopes the result ('sitting members only'), which an agent can use to distinguish this lookup tool from roster-style siblings like get_member or search_members.

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 a clear selection rule between its two input modes: ZIP for a possibly multi-district answer, street address 'when the answer must be exact.' It does not explicitly address when to prefer a sibling tool, but the lookup-vs-search split is largely self-evident from the purpose statement.

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.