Skip to main content
Glama

BallotWatch

Get roll call

get_roll_call
Read-onlyIdempotent

One roll-call vote: the question, bill, tally, party split, derived result, and how members voted. When more than 60 members match, they come back as short strings grouped by position; filter by state, party, position or bioguide_ids down to 60 or fewer (or pass format "full") to get one object per member, e.g. bioguide_ids to see how specific members voted or party "R" with position "Nay" for who broke ranks. result_derived is null when the record cannot decide it, such as a tied Senate vote the Vice President may have broken.

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": {
      "congress": "<congress>",
      "chamber": "<chamber>",
      "session": "<session>",
      "roll": "<roll>"
    },
    "name": "get_roll_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
rollYesRoll-call number within that chamber and session, 1 to 5000, e.g. 145. get_recent_votes lists them.
partyNoD, R or I (or Democrat, Republican, Independent)
stateNoState or territory, by name or two-letter code, e.g. "Ohio" or "OH"
formatNo"full" forces one object per member; "compact" forces grouped strings. Default: full for 60 members or fewer.
chamberYesChamber, lowercase: "house" or "senate"
sessionYesSession of that Congress, 1 to 3: normally 1 (first year) or 2 (second year), e.g. 1 for 2025 in the 119th Congress
congressYesCongress number, 1 to 200, e.g. 119 for the 119th Congress (2025-2026)
positionNoVote position, exactly one of "Yea", "Nay", "Present" or "Not Voting" (case-sensitive)
bioguide_idsNoOnly these members

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / chamber / description
      Added value: +"Chamber, lowercase: \"house\" or \"senate\""
    • addedInput schema / properties / congress / description
      Added value: +"Congress number, 1 to 200, e.g. 119 for the 119th Congress (2025-2026)"
    • addedInput schema / properties / position / description
      Added value: +"Vote position, exactly one of \"Yea\", \"Nay\", \"Present\" or \"Not Voting\" (case-sensitive)"
    • addedInput schema / properties / roll / description
      Added value: +"Roll-call number within that chamber and session, 1 to 5000, e.g. 145. get_recent_votes lists them."
    • addedInput schema / properties / session / description
      Added value: +"Session of that Congress, 1 to 3: normally 1 (first year) or 2 (second year), e.g. 1 for 2025 in the 119th Congress"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds real behavioral context beyond that: the 60-member compact/full threshold and the meaning of result_derived being null on undecidable records like tied Senate votes. It omits any mention of response size or pagination, keeping it below a 5.

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?

It is front-loaded with the return shape, then moves to the grouping rule and filter advice, with zero filler sentences. The middle sentence is long and slightly run-on, but 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 9 parameters, 4 required, and no output schema, the description does the needed work by describing the returned fields and the null case for result_derived. A reader can call it correctly, though it could say more about how large the member vote payload can get.

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 the baseline is 3, and the schema already documents every parameter with ranges and enums. The description reinforces filter combinations and the format threshold but adds little syntax or format detail the schema does not already carry.

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?

The opening clause names a specific resource (a single roll-call vote) and enumerates its contents: question, bill, tally, party split, derived result, and member votes. That is concrete enough for an agent to distinguish it from sibling tools like get_recent_votes or get_member_votes, which operate at a different granularity.

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?

It gives clear operational guidance: filter by state, party, position or bioguide_ids to get under the 60-member threshold, or pass format "full" to force per-member objects, with concrete examples such as party "R" with position "Nay". It does not explicitly name a sibling to use for discovering roll numbers (that hint lives only in the schema), so it stops short of full alternative routing.

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.