Skip to main content
Glama

BallotWatch

Get member votes

get_member_votes
Read-onlyIdempotent

Recorded votes for a member, newest first, with the question, bill, position, and official source. Pass bill to answer "how did this member vote on H.R. 1" (every roll call on that bill), position to list only their Nay or Not Voting votes, and since / until for a date range. Page with offset.

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": {
      "bioguide_id": "<bioguide_id>"
    },
    "name": "get_member_votes"
  }
}

Input Schema

NameRequiredDescriptionDefault
billNoOnly votes on this bill: 119-hr-1 or "H.R. 1"
limitNoDefault 25
sinceNoYYYY-MM-DD, inclusive
untilNoYYYY-MM-DD, inclusive
offsetNoSkip this many votes (for the next page)
positionNoVote position, exactly one of "Yea", "Nay", "Present" or "Not Voting" (case-sensitive)
bioguide_idYesBioguide ID, e.g. P000197

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / position / description
      Added value: +"Vote position, exactly one of \"Yea\", \"Nay\", \"Present\" or \"Not Voting\" (case-sensitive)"
    • 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.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world, so the description only needs to add context. It does so by disclosing result ordering (newest first), the returned fields, and offset-based paging, though it does not mention any total-count or result-cap behavior.

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 tight sentences: what it returns and its ordering first, then the questions each filter answers, then paging. No redundant restatement of the title or annotations, and every clause carries information.

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 carries extra weight for return values, and it names the fields returned and their ordering. Paging mechanics are mentioned but response envelope details (counts, next-page indicators) are not, a minor gap for a read-only list tool.

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 100%, so every parameter is already documented with types, patterns, and examples. The description adds only scenario framing (mapping bill to a natural-language question) and notes that filters combine, which is marginal beyond the schema baseline.

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?

States a specific verb and resource ('Recorded votes for a member') plus the ordering and fields returned (question, bill, position, official source). It does not explicitly distinguish itself from the sibling get_recent_votes, so sibling differentiation is left implicit.

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 concrete usage scenarios tied to parameters: pass bill to answer 'how did this member vote on H.R. 1', position to narrow to Nay or Not Voting, since/until for a date range. There is no statement of when to prefer a sibling tool instead, but the filter-combination guidance is clear.

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.