Skip to main content
Glama
election-mcp

election-mcp

by King-AAA2012

voter_lookup

Validate voter ID card numbers and find state Election Commission offices. Check the standard 3-letter, 8-digit format or locate the office for a state.

Instructions

Validate a voter ID card number and/or look up the state Election Commission office. The standard voter ID format is 3 uppercase letters followed by 8 digits (e.g. ABC1234567). Sample voter records are only returned for the few IDs in the demo dataset.

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

Input Schema

NameRequiredDescriptionDefault
stateNoState to look up the Election Commission office for.
cardNumberNoVoter ID card number, e.g. ABC1234567.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the validation format and the significant limitation that sample records only exist for a few demo IDs, but it says nothing about permissions, error behavior on malformed input, or what an office lookup returns.

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?

Three short sentences with the primary capability front-loaded, followed by the format rule and the demo-data caveat in order of importance. No filler or redundancy.

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?

Both optional parameters are documented and the demo-dataset caveat is a valuable addition, but the description never states what happens if no parameters are passed, what a successful validation response contains, or what the office lookup yields. For a tool with no annotations and no output schema, more behavioral detail would help.

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 already 100%, so the baseline is 3, but the description adds a genuine constraint beyond the schema's bare example: the card number must be 3 uppercase letters followed by 8 digits. That validation rule meaningfully changes how an agent formats and checks the input.

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 two distinct operations with specific verbs and resources: validating a voter ID card number and looking up a state Election Commission office. It does not explicitly distinguish itself from candidate_search or election_results, but the resource domain is clear enough that an agent can tell it apart from those siblings.

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?

The 'and/or' phrasing implies the two parameters can be used independently or together, which is useful call guidance, but there is no statement of when to prefer this tool over a sibling or what happens when neither parameter is supplied. Usage context is implied rather than prescribed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools