Skip to main content
Glama

france-parliament-mcp-server

Frparl Get Vote

frparl_get_vote
Read-onlyIdempotent

Read a roll call, its group breakdown, corrections, linked amendments and a page of named positions. Sénat group totals are derived from dated memberships.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "frparl_get_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoAssemblée VTANR UID, scrYYYY-N, or official roll-call URL (Assemblée /dyn/<legislature>/scrutins/<number>, Sénat /scrutin-public/YYYY/scrYYYY-N.html). Find IDs with frparl_search_votes. Supply either id or both session and number.
groupNoFilter named positions by group code or words in its label.
numberNoSénat roll-call number within the specified session.
offsetNoZero-based starting row. Use the next_offset returned by the previous call.
sessionNoSénat session start year or consecutive YYYY-YYYY. Pair with number.
positionNoShow only the named position.
positions_limitNoPositions per page. Defaults to 25. Larger requests are clamped to 600.

Output Schema

NameRequiredDescriptionDefault
voteNoFull vote detail and a page of positions, or null for an unknown vote.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the vote resolved.
noticesNoLimit and lookup notices.
sourcesNoOfficial sources and their last-update timestamps.
coverageNoObserved date ranges and record counts in this snapshot, by chamber and stage.
next_offsetNoStarting offset of the next positions page.
effective_limitNoMaximum named positions on this page.
refresh_warningsNoSource refresh failures affecting this view. The last verified revision remains available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, closed-world operation, so the description's job is to add domain behavior — which it does. It discloses that results are paged, that corrections and linked amendments are bundled in, and gives a non-obvious caveat that Sénat group totals are derived from dated memberships, warning the agent that historical totals reflect membership at the vote date rather than current rosters.

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?

Two tight sentences with no filler, and the core action is front-loaded before the return-contents list. The second sentence is dense and slightly cryptic in isolation, but it carries the only Sénat-specific caveat in the definition and therefore earns its place.

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?

With an output schema present, the description need not enumerate return fields, yet it still summarizes the payload categories and pagination, and flags the Sénat membership-derivation nuance. The remaining gap — how id versus session+number selection works and where to find IDs — is covered by the schema rather than the prose, which is acceptable given full schema coverage.

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 every parameter (id, session/number pairing, group, position, offset, positions_limit) is already documented with formats and defaults. The description adds only the notion of a "page of named positions," which lightly reinforces the pagination parameters but contributes no syntax or constraint detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Read a roll call") and enumerates the payload components: group breakdown, corrections, linked amendments, and a page of named positions. It is clearly a detail-fetch tool, but it never names the sibling it contrasts with (frparl_search_votes), so differentiation must be inferred from the name and schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: "Read a roll call" signals a single-record lookup rather than a search, and the phrase "a page of named positions" hints at pagination-driven calls. There is no explicit statement of when to use this versus frparl_search_votes, nor any prerequisite about obtaining an id, session, or number before calling — that guidance lives only in the input schema.

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.