Skip to main content
Glama

Statewide ballot measures

get_ballot_measure
Read-only

Ballot measures (GET /v1/measures): the list for a state, or one measure by its number (e.g. 'Amendment 1') with full text, summary and official source URL. Use for 'what's on the ballot in X' and 'what does Amendment N do'.

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": {
      "state": "<state>"
    },
    "name": "get_ballot_measure"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoTitle search.
typeNoMeasure type filter.
limitNo
stateYesPostal code.
numberNoExact measure number (e.g. 'Amendment 1') to fetch one measure.
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly/openWorld/destructive, so the description's contribution is the payload shape — full text, summary and official source URL — which is genuinely useful given there is no output schema. It omits pagination behavior despite exposing limit/offset parameters, which is the main remaining gap.

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?

Two tight sentences, front-loaded with the resource and modes, then the use cases. Every clause carries information; the only slight strain is packing endpoint, return fields and examples into one long sentence.

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?

Without an output schema, the description does the necessary work of telling the agent what comes back (text, summary, source URL) and how to retrieve a single measure. Pagination semantics for the list mode remain unexplained, which matters for a tool with a 200-item limit.

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 coverage is 67%, and the description adds real meaning only for 'state' and 'number' — clarifying that number is an exact measure identifier used to fetch a single record. The 'q', 'type', 'limit' and 'offset' parameters receive no elaboration, and limit/offset lack schema descriptions altogether.

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?

Names the exact resource ('Ballot measures') and endpoint, and states the two modes precisely: a list for a state, or one measure by number. The 'Amendment 1' example makes the dual-mode behavior concrete and unambiguous.

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 two explicit user-phrased triggers ('what's on the ballot in X', 'what does Amendment N do') that map cleanly onto the two modes. It stops short of naming an alternative or exclusion, so an agent isn't told when to prefer get_measure_statutes or other siblings.

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.

Resources