Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

congress_senate_votes

Read-onlyIdempotent

Retrieve Senate roll call vote results from 1989 onward to see how senators voted by party on legislation, nominations, and motions. Resolve questions about specific votes or recent activity.

Instructions

Get Senate roll call vote results from senate.gov XML. Shows how senators voted by party on specific legislation, nominations, and procedural motions. Coverage: 101st Congress (1989) to present. Cross-reference with: congress_house_votes (same bill's House vote), FEC (senator donors via fec_candidate_financials), lobbying_search (who lobbied on the bill), congress_member_bills (senator's voting vs sponsoring patterns). For House votes, use congress_house_votes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results when listing votes (default: 20)
sessionNoSession (1 or 2). Default: current session (1 for odd years, 2 for even)
congressNoCongress number (default: current). Coverage: 101st (1989) to present
vote_numberNoSpecific roll call vote number. Omit to list recent votes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.9.14
    • addedInput schema / properties / limit / default
      Added value: +20
  2. Changed1 schema field changedv2026.4.11
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv2026.3.9

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering safety. The description adds useful behavioral context: the data source (senate.gov XML), coverage range (101st Congress to present), and the types of votes (legislation, nominations, procedural motions). This goes beyond what annotations provide, though it doesn't describe output format or pagination (not critical for a read-only tool).

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?

The description is concise, starting with the main purpose and then adding relevant cross-references. It is not overly verbose and the structure is logical. The cross-reference list is helpful but could be considered slightly dense; still, it earns its place by enhancing usability.

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?

The tool is relatively simple, with all parameters documented and annotations covering safety. The description adds source and coverage context. It doesn't explain the return format, but for a roll call vote result, the output is straightforward. The description is complete enough for an agent to call it correctly.

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 description coverage is 100%, so all four parameters (limit, session, congress, vote_number) are documented in the schema. The description adds no extra parameter semantics beyond what the schema already states. Baseline 3 is appropriate.

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 description clearly states the verb 'Get' and the resource 'Senate roll call vote results' from a specific source (senate.gov XML). It differentiates from siblings by explicitly routing House votes to congress_house_votes, and it lists complementary cross-references. No ambiguity about what this tool does.

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?

It explicitly says 'For House votes, use congress_house_votes,' providing a direct alternative. It also lists cross-reference tools for deeper analysis (FEC, lobbying, member bills), giving context on when to use this tool in conjunction with others. This is clear usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools