Skip to main content
Glama

Check & Vote: French and EU parliaments

Get a roll-call vote with the tallies per group

get_vote
Read-onlyIdempotent

Get one roll-call vote: result, totals, the text voted on and the tallies per political group (for, against, abstentions). Use it to answer 'how did group X vote on Y?'. For how each individual member voted use list_vote_member_votes; for the text voted on use get_vote_text_context.

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": {
      "voteId": "<voteId>"
    },
    "name": "get_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
voteIdYesVote identifier, from list_votes, get_bill ('votes') or get_person_votes ('voteId').

Output Schema

NameRequiredDescriptionDefault
idNoIdentifier.
dateNoDate of the vote.
scopeNoScope of the vote.
titleNoTitle (French).
billIdNoIdentifier of the bill voted on, usable with /bills/{id}.
numberNoNumber of the vote in its chamber.
textIdNoIdentifier of the text voted on, usable with /texts/{id}.
themesNoThemes inherited from the bill.
votersNoNumber of members who voted.
articleNoThe article voted on, with a short AI-generated summary; null unless this is an article vote whose article could be read. Optional.
byGroupNoTallies per political group.
chamberNoChamber that voted.
nominalNoTrue when each member's vote is known (see /votes/{id}/member-votes).
outcomeNoResult: ADOPTED or REJECTED; null when unknown.
relatedNoCalls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.
polarityNoDirection of the vote regarding the text: 1 when voting for supports the text, -1 when voting for opposes it; null when unknown.
totalForNoVotes for.
sourceUrlNoURL of the vote on the official site of its chamber. For the European Parliament, the minutes of the day (no page per vote). Null when unknown.
textTitleNoTitle of the text voted on (French).
truncatedNoPresent when this answer was shortened to stay short: says what was cut and how to get the rest.
legislatureNoLegislature; null for the Senate (sessions, not legislatures).
jurisdictionNoFR or EU.
outcomeLabelNoResult, in the source's words (French).
totalAgainstNoVotes against.
articleNumberNoArticle number, for an article vote.
requiredVotesNoVotes required to adopt.
voteTypeLabelNoKind of vote, in the source's words (French).
expressedVotesNoExpressed votes.
totalNonVotingNoMembers who did not vote.
outcomeComputedNoTrue when the result was computed from the tallies rather than stated by the source.
totalAbstentionsNoAbstentions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / $defs / RelatedCall
      Added value: +{
      +  "description": "A call that naturally follows the one that returned it.",
      +  "properties": {
      +    "description": {
      +      "description": "What this call returns.",
      +      "type": "string"
      +    },
      +    "href": {
      +      "description": "Path to call, identifiers filled.",
      +      "type": "string"
      +    },
      +    "operation": {
      +      "description": "operationId of the call, as in the OpenAPI.",
      +      "type": "string"
      +    },
      +    "tool": {
      +      "description": "Name of the MCP tool that makes this call; null when no tool does.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / $defs / Vote / properties / related
      Added value: +{
      +  "description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
      +  "items": {
      +    "$ref": "#/$defs/RelatedCall"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / related
      Added value: +{
      +  "description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
      +  "items": {
      +    "$ref": "#/$defs/RelatedCall"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile needs no restating. The description's added value is granularity: tallies are aggregated per political group, not per member, which tells the agent what level of detail to expect. It says nothing about pagination or availability of historical votes, but with a rich output schema those gaps are minor.

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 short sentences, front-loaded with the resource and its payload, then routing guidance. Every clause carries information; nothing is repeated from the title or annotations.

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?

One well-documented parameter, full annotation coverage, and an output schema that carries the return structure. The description supplies exactly the missing piece — scope and sibling routing — so an agent has everything needed 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% and the single voteId parameter already documents its provenance (list_votes, get_bill 'votes', get_person_votes 'voteId'). The description adds no format or constraint detail beyond that, so this sits at the baseline for a fully documented schema.

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?

Names a specific verb and resource ('Get one roll-call vote') and enumerates exactly what comes back: result, totals, text voted on, and tallies per political group. The scope is unambiguous enough that an agent can distinguish it from list_vote_member_votes and get_vote_text_context without opening any schema.

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?

Provides an explicit use case ('how did group X vote on Y?') plus two named alternatives with the condition that selects each: list_vote_member_votes for individual member votes, get_vote_text_context for the text voted on. When-to-use and when-to-use-something-else are both stated.

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