Skip to main content
Glama

Get one roll-call vote

get_roll_call
Read-only

Fetch a roll call by roll_call_id (GET /v1/votes/{roll_call_id}): the motion, chamber, date and yea/nay/absent tallies. Add include:['details'] to also pull how every individual member voted (vote_id 1=Yea, 2=Nay, 3=Not Voting, 4=Absent) — this is the tool for 'how did each legislator vote on this'. Get a roll_call_id from get_bill with include:['votes'].

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": {
      "roll_call_id": "<roll_call_id>"
    },
    "name": "get_roll_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoAdd 'details' for individual member positions.
max_itemsNoCap on member rows returned (default 200 — enough for any single chamber).
roll_call_idYesNumeric roll_call_id (int64 — may exceed int32).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open world), and the description adds real context beyond that: the base payload contents, and that member-level detail is opt-in via include:['details'] rather than returned by default. It does not discuss error behavior or rate limits, but for a read tool that is a minor gap.

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, front-loaded with the core fetch and endpoint, then the optional detail mode, then the prerequisite lookup. Parentheticals carry dense but useful information and nothing is repeated from structured fields.

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 correctly takes on the job of sketching the return shape (motion, chamber, date, tallies) and what the details mode adds, including the vote code mapping. Only edge cases such as behavior for an invalid roll_call_id are unaddressed.

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, but the description adds meaning the schema does not: the effect of include:['details'] and the vote_id code legend (1=Yea, 2=Nay, 3=Not Voting, 4=Absent), which never appears in the schema. It leaves max_items to the schema, which documents it adequately.

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?

States a specific verb and resource ('Fetch a roll call by roll_call_id'), names the endpoint, and enumerates the payload (motion, chamber, date, tallies). It also carves out a distinct niche versus the many list/search siblings by declaring itself the tool for per-legislator vote breakdowns.

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?

Explicitly tells the agent when to reach for it ('how did each legislator vote on this') and how to obtain the required id ('Get a roll_call_id from get_bill with include:['votes']'), naming the sibling that produces the prerequisite. There is little left to infer about 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.

Resources