Member Attendance Party Line
member_attendance_party_lineANSWERS "how many votes did Rep. X miss", "how often does X vote with their party", "party unity score" -- attendance and party-line share for ONE member (House, or a senator with chamber "senate") over a session (or a roll range), computed from the U.S. House Clerk's roll-call votes or, for the Senate, the Congressional Record's printed roll calls. Nothing is returned as a bare percentage: attendance gives its denominator (recorded roll calls the member was on the roll for; quorum calls, Speaker elections and Senate rolls that could not be derived are excluded and counted; rolls before the member was seated or after they left are excluded and counted -- absence from the roll is NOT treated as Not Voting) and splits yea/nay, present and Not Voting. Party line gives two figures, each with its own denominator and exclusions: share of yea/nay votes cast with the member's party majority (a strict majority of that party's yea/nay voters; ties excluded and counted), and party unity (only the roll calls where a majority of Democrats opposed a majority of Republicans). If a figure cannot be computed from the rolls in range (member on none, no party-splitting votes, independent) it is null with a stated reason, never 0% or 100%. Independents (including the Senate's two caucusing independents) have no D-versus-R majority to compare against, so their party-line figure is null with that reason.
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": {
"session": 2,
"congress": 119,
"bioguide_id": "P000197"
},
"name": "member_attendance_party_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Surname as the Clerk prints it, e.g. "Pelosi"; combine with state when several members share it. | |
| state | No | Two-letter state code to disambiguate a surname. | |
| chamber | No | "house" (default) or "senate". The two chambers number their roll calls independently. | |
| session | No | 1 or 2. Default: the newest held for the default Congress. | |
| to_roll | No | Last roll number of the range (default: last roll covered). | |
| congress | No | Congress number, e.g. 119. Default: the newest held. | |
| from_roll | No | First roll number of the range (default 1). | |
| bioguide_id | No | Bioguide id, e.g. "P000197". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | No | ||
| range | No | ||
| member | No | ||
| source | No | ||
| chamber | No | ||
| session | No | ||
| congress | No | ||
| attendance | No | ||
| data_as_of | No | ||
| live_topup | No | ||
| party_line | No | ||
| definitions | No | ||
| rolls_covered | No | ||
| excluded_rolls | No | ||
| rolls_in_range | No |