Skip to main content
Glama

Get Votes

get_votes
Read-onlyIdempotent

Get recent congressional votes on bills, newest first. Returns question, result, chamber, vote counts (yes/no/abstain), date, and related bill.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of votes to return (default: 20, max: 100)
congressNoCongress number to filter by (e.g., 119)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalNoTotal votes available
votesNo
returnedNoNumber of votes returned

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / votes / items / properties / id / type
      Previous value: -"null"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / votes / items / properties / question_details / type
      Previous value: -"null"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed15 schema fields changed
    • changedOutput schema / properties / votes / items / properties / category / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / votes / items / properties / chamber / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / votes / items / properties / congress / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"number"
    • changedOutput schema / properties / votes / items / properties / created / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / votes / items / properties / id / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"null"
    • changedOutput schema / properties / votes / items / properties / link / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / votes / items / properties / no_votes / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"number"
    • changedOutput schema / properties / votes / items / properties / number / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"number"
    • changedOutput schema / properties / votes / items / properties / other_votes / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"number"
    • changedOutput schema / properties / votes / items / properties / question / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / votes / items / properties / question_details / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"null"
    • changedOutput schema / properties / votes / items / properties / result / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / votes / items / properties / session / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / votes / items / properties / yes_votes / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"number"
    • removedOutput schema / required
      Removed value: -[
      -  "total",
      -  "returned",
      -  "votes"
      -]
  3. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "limit": 20
      +  },
      +  {
      +    "congress": 119,
      +    "limit": 50
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "returned": {
      +      "description": "Number of votes returned",
      +      "type": "number"
      +    },
      +    "total": {
      +      "description": "Total votes available",
      +      "type": "number"
      +    },
      +    "votes": {
      +      "items": {
      +        "properties": {
      +          "category": {
      +            "description": "Vote category label",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "chamber": {
      +            "description": "Chamber (House or Senate)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "congress": {
      +            "description": "Congress number",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "created": {
      +            "description": "Vote date/time",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Vote ID",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "link": {
      +            "description": "GovTrack vote URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "no_votes": {
      +            "description": "Number of no votes",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "number": {
      +            "description": "Vote number",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "other_votes": {
      +            "description": "Number of abstain/other votes",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "question": {
      +            "description": "Vote question text",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "question_details": {
      +            "description": "Additional question details",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "related_bill_title": {
      +            "description": "Related bill title",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "result": {
      +            "description": "Vote result",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "session": {
      +            "description": "Session number",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "yes_votes": {
      +            "description": "Number of yes votes",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "returned",
      +    "votes"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "_apiKey": "your-propublica-congress-api-key",
      -    "chamber": "senate",
      -    "month": 3,
      -    "year": 2024
      -  },
      -  {
      -    "_apiKey": "your-propublica-congress-api-key",
      -    "chamber": "house",
      -    "month": 1,
      -    "year": 2024
      -  }
      -]
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "chamber": {
      -      "description": "Chamber (senate or house)",
      -      "type": "string"
      -    },
      -    "count": {
      -      "description": "Number of votes",
      -      "type": "number"
      -    },
      -    "month": {
      -      "description": "Month",
      -      "type": "number"
      -    },
      -    "votes": {
      -      "description": "List of votes",
      -      "items": {
      -        "properties": {
      -          "bill_id": {
      -            "description": "Related bill ID",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "bill_title": {
      -            "description": "Related bill title",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "chamber": {
      -            "description": "Chamber",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "congress": {
      -            "description": "Congress number",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "date": {
      -            "description": "Vote date",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "description": {
      -            "description": "Vote description",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "no": {
      -            "description": "No votes",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "not_voting": {
      -            "description": "Not voting",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "present": {
      -            "description": "Present votes",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "question": {
      -            "description": "Vote question",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "result": {
      -            "description": "Vote result (Agreed to, Failed, etc.)",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "roll_call": {
      -            "description": "Roll call number",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "session": {
      -            "description": "Session number",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "time": {
      -            "description": "Vote time",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "yes": {
      -            "description": "Yes votes",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "year": {
      -      "description": "Year",
      -      "type": "number"
      -    }
      -  },
      -  "required": [
      -    "chamber",
      -    "year",
      -    "month",
      -    "count",
      -    "votes"
      -  ],
      -  "type": "object"
      -}New value: +null
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "chamber": {
      +      "description": "Chamber (senate or house)",
      +      "type": "string"
      +    },
      +    "count": {
      +      "description": "Number of votes",
      +      "type": "number"
      +    },
      +    "month": {
      +      "description": "Month",
      +      "type": "number"
      +    },
      +    "votes": {
      +      "description": "List of votes",
      +      "items": {
      +        "properties": {
      +          "bill_id": {
      +            "description": "Related bill ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "bill_title": {
      +            "description": "Related bill title",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "chamber": {
      +            "description": "Chamber",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "congress": {
      +            "description": "Congress number",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "date": {
      +            "description": "Vote date",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "description": "Vote description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "no": {
      +            "description": "No votes",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "not_voting": {
      +            "description": "Not voting",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "present": {
      +            "description": "Present votes",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "question": {
      +            "description": "Vote question",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "result": {
      +            "description": "Vote result (Agreed to, Failed, etc.)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "roll_call": {
      +            "description": "Roll call number",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "session": {
      +            "description": "Session number",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "time": {
      +            "description": "Vote time",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "yes": {
      +            "description": "Yes votes",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "year": {
      +      "description": "Year",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "chamber",
      +    "year",
      +    "month",
      +    "count",
      +    "votes"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-propublica-congress-api-key",
      +    "chamber": "senate",
      +    "month": 3,
      +    "year": 2024
      +  },
      +  {
      +    "_apiKey": "your-propublica-congress-api-key",
      +    "chamber": "house",
      +    "month": 1,
      +    "year": 2024
      +  }
      +]
  7. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The description adds behavioral details beyond annotations: the 'newest first' ordering and the included result components (question, result, chamber, counts, date, related bill). Annotations already declare read-only, idempotent, and non-destructive, so no contradiction.

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?

A single sentence that is front-loaded with the core purpose and compactly lists return fields. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list tool with two optional params and an output schema, the description fully covers purpose, ordering, scope, and return content. Safety and idempotence are captured by annotations, so the description is complete.

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?

The input schema already provides 100% description coverage for both parameters (limit and congress) with default and max values. The description adds no additional parameter semantics, so the schema carries the full weight.

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 uses a specific verb ('Get') and clear resource ('congressional votes on bills'), specifies ordering ('newest first'), and enumerates return fields. This distinguishes it from siblings like get_recent_bills and search_bills, which are about bills rather than votes.

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?

The description implies when to use the tool (when recent vote data is needed) but does not explicitly name alternatives or exclusions. The context is clear, and given sibling names, an agent can infer differentiation, though explicit 'use for votes instead of bills' guidance would be ideal.

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.

TDQS

A3.9/5.0
Disambiguation2/5

Multiple tools occupy the same functional space: ask_pipeworx, ask_pipeworx_beta, ask_ipeworx_grounded, and deep_research all answer questions; disover_tools, suggest_questions, and pipeworx_trending all serve discovery; and five polymarket_* tools plus bet_research overlap heavily on prediction-market opportunity detection. The descriptions are detailed, but the boundaries are subtle enough that an agent can easily pick the wrong tool.

Naming Consistency4/5

The set is uniformly lowercase snake_case and uses recognizable prefixes such as ask_pipeworx, polymarket_, pipeworx_, and get_, which makes the naming fairly predictable. It is not a strict verb_noun convention — some names are noun phrases like entity_profile or ai_visility_check — but the overall style is consistent.

Tool Count2/5

With 36 tools, the surface is far heavier than the 'Congress' name suggests: only five tools are actually about congressional data, while the rest are general research, memory, subscription, and meta utilities. Many of these overlap, so the count feels bloated rather than well-scoped.

Completeness3/5

For Congress-specific work, the core needs are covered: search bills, get bill details, list members, and retrieve recent votes. However, deeper legislative operations like member voting records, committee actions, and amendments are missing, and the surrounding Pipeworx tools do nothing to close that gap. As a general data-research platform it is broad, but its actual 'Congress' identity feels incompletely realized.