Congress Get Votes
congress_get_votesANSWERS "how did the Senate vote on X" / "recent House roll calls" / "cloture vote tally", recent roll-call votes for ONE chamber, newest first within that chamber + session. House votes come from the Clerk of the House's own records (via congress.gov's official API), addressed directly by roll-call number (House roll numbers are sequential 1..N within a session), so this is capped at 25 per call for House, since each House vote costs its own upstream request; a higher limit is silently clamped with a note, not an error. Senate votes come from the Congressional Record (U.S. Government Publishing Office), which prints every Senate roll call with its member lists; senate.gov itself refuses automated requests and is not read. Each Senate vote carries its number, the Record issue date, the question and outcome sentence as the Record words them (null when the Record text has none this tool can match, never inferred from the tally), and its yea/nay tally; a roll the Record text could not be parsed with confidence is listed under unparsed, and a gap in the returned vote numbers is named in note. For HOW EACH SENATOR VOTED, attendance and party-line share use congress_member_votes (chamber "senate"). Pass chamber: "house" or "senate", the two chambers number their votes independently, so there is no combined listing. Returns question, result, yes/no tallies and date for each vote; every response names its own chamber, congress, session and source. Pass congress + session to look at a specific past session (session can only be left out for the CURRENT Congress); omit both for the current session. A chamber/congress/session nothing has been published for returns a named reason, never a silent empty list. A House roll number that congress.gov has no record of (e.g. vacated and never reused) is skipped and named in note, not silently missing.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 20,
"chamber": "senate"
},
"name": "congress_get_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of votes to return (default 20, max 100). | |
| chamber | Yes | Required: "house" or "senate". | |
| session | No | 1 or 2, each Congress has exactly two sessions, one per calendar year. Can be omitted only when congress is also omitted, or is the current Congress (it is then inferred from today's date). | |
| congress | No | Congress number, e.g. 119. Omit for the current Congress. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Total votes available | |
| votes | No | ||
| returned | No | Number of votes returned |