Skip to main content
Glama

Get a ballot

get_ballot
Read-onlyIdempotent

Every researched race on the ballot for a U.S. street address, with each choice's position on the issues that office decides, the exact quote, and the source URL.

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

Input Schema

NameRequiredDescriptionDefault
addressYesFull street address with city, state and ZIP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and repeatability are covered by structured data. The description's contribution is disclosing the return payload shape (positions, quotes, source URLs) and the 'researched race' coverage caveat, which is useful, but it says nothing about failure modes for malformed or out-of-coverage addresses or about which election cycle is returned.

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?

One sentence with no filler, front-loaded on the resource and its scope. It is dense and slightly clause-heavy ('with each choice's position ... the exact quote, and the source URL'), but every clause carries information about what comes back.

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

Completeness3/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 correctly takes on the job of describing return contents, which it does well. The notable gap is temporal scope: it never says which election (upcoming, current cycle, or a date-specific ballot) is returned, and that ambiguity matters for a single-parameter lookup tool.

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% with a single documented 'address' parameter, so the baseline is 3. The description adds a constraint absent from the schema: the address must be a U.S. street address, which tells the agent not to pass foreign addresses or bare ZIPs.

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?

The description names the concrete resource (every researched race on the ballot for a U.S. street address) and even enumerates the payload per choice (issue position, exact quote, source URL), so an agent can tell this apart from list_issues and score_fit. It never states an explicit verb like 'retrieve', relying on the name, and does not name the siblings outright, which keeps it 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?

Usage is only implied: the agent infers it should call this when it has a U.S. street address and wants the down-ballot races. There is no explicit when-not guidance (e.g., non-U.S. addresses, addresses outside a covered district) and no pointer to list_issues or score_fit as follow-on or alternative tools.

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.