Skip to main content
Glama

BallotWatch

Get recent votes

get_recent_votes
Read-onlyIdempotent

Roll-call votes, newest first, with the question, bill, tally and derived result. Use for "what did Congress vote on this week" or to find a roll call before calling get_roll_call, which adds the party split and how each member voted. Filter by chamber, date range, bill, or words in the question, description or bill title (query "nomination", "appropriations"). A bill number in query ("H.R. 1") is treated as that bill.

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

Input Schema

NameRequiredDescriptionDefault
billNoOnly roll calls on this bill: 119-hr-1 or "H.R. 1"
limitNoDefault 20
queryNoWords that must all appear in the question, description or bill title, and/or a bill number
sinceNoYYYY-MM-DD, inclusive
untilNoYYYY-MM-DD, inclusive
chamberNoChamber, lowercase: "house" or "senate"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / chamber / description
      Added value: +"Chamber, lowercase: \"house\" or \"senate\""
    • removedInput schema / properties / until / $ref
      Removed value: -"#/properties/since"
    • addedInput schema / properties / until / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / until / type
      Added value: +"string"
  2. 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, non-destructive and closed-world, so the safety profile is covered. The description adds behavior annotations do not: newest-first ordering, that the result includes a derived result field, and the non-obvious rule that a bill number inside query is resolved as that bill. It stops short of stating pagination/truncation behavior, which matters for a list tool capped at 50.

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?

Three sentences, front-loaded with what is returned, then when to use it, then filtering rules — no filler. Slightly dense (the final sentence carries a distinct parsing rule that could stand alone), but every clause earns its place.

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?

With no output schema, the description does supply the return shape at a high level, and it covers the filter model for all six params. Missing only edge behavior an agent might want — default-capped result counts, whether filters combine as AND, and how bill and query interact when both are given.

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; the description earns above baseline by explaining that query matches words across question, description or bill title (with examples 'nomination', 'appropriations') and that a bill number in query is treated as that bill — semantics the schema only hints at. It adds nothing beyond the schema for since/until/limit/chamber, which is acceptable since those are self-documenting.

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?

Opens with a specific verb+resource ('Roll-call votes') plus ordering ('newest first') and the fields returned ('question, bill, tally and derived result'). It explicitly contrasts with get_roll_call, which 'adds the party split and how each member voted', so an agent can separate the list view from the detail view without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete use cases ('what did Congress vote on this week') and an explicit routing rule: find a roll call here before calling get_roll_call for per-member detail. It also lists the available filter axes, so the agent knows which narrowing strategies exist.

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.