Skip to main content
Glama

france-parliament-mcp-server

Frparl Search Votes

frparl_search_votes
Read-onlyIdempotent

Search roll calls by topic, dossier, dates, or outcome. Set member_id for a voting record and against_group to find departures from the member’s group majority.

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_search_votes"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoAssemblée vote type.
limitNoRows per page. Defaults to 25. Larger requests are clamped to 100.
queryNoFrench search words. Every word must match, ignoring case and accents.
offsetNoZero-based starting row. Use the next_offset returned by the previous call.
chamberNoRestrict the search to one chamber. Omit to search both.
outcomeNoAnnounced result.
to_dateNoLast calendar date to include, YYYY-MM-DD.
positionNoMember position. Requires member_id.
from_dateNoFirst calendar date to include, YYYY-MM-DD.
member_idNoAssemblée PA ID, six-character Sénat matricule, or official profile URL (Assemblée /dyn/deputes/PA<digits>, Sénat /senateur/<slug><matricule>.html). Find IDs with frparl_search_members.
dossier_idNoOfficial dossier URL or ID from frparl_search_dossiers.
against_groupNoKeep recorded positions differing from a known group majority, excluding non-votes marked with an institutional cause or status and non-votes by the serving President of the Sénat. Requires member_id.
amendment_numberNoAmendment number named by the Sénat, for example I-664.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
itemsNoMatching records in stable result order.
totalNoMatches across all pages of this query.
noticesNoApplied bounds, coverage limitations or recovery options for empty results.
sourcesNoOfficial sources and their last-update timestamps.
coverageNoObserved date ranges and record counts in this snapshot, by chamber and stage.
selectorsNoNormalized search selectors and pagination arguments.
next_offsetNoStart the next page here. Null at the end.
effective_limitNoMaximum rows applied to 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.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is fully covered. The description adds behavioral nuance about what against_group filters out only implicitly, and says nothing about pagination, result volume, or the meaning of departures beyond what the schema's against_group description already spells out.

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?

Two sentences, no filler, and the primary search axes are front-loaded before the more specialized member-recording mode. Every clause contributes either scope or a usage mode.

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?

An output schema exists and the full parameter set is documented with descriptions, so the description only needs to orient the agent, which it does. A brief note on result shape or the relationship to frparl_get_vote would make it 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?

With 13 parameters at 100% schema description coverage and four enums, the schema already carries the semantic load, including the member_id requirement and ID formats. The description's statements about member_id and against_group largely restate what those schema descriptions say, adding the framing "voting record" for the member-scoped mode.

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 names a concrete verb and resource ("search roll calls") and enumerates the searchable axes (topic, dossier, dates, outcome), which lets an agent distinguish it from sibling searchers that target amendments, dossiers, or members. It stops short of an explicit contrast with frparl_get_vote, the closest neighboring retrieval path.

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?

It describes two distinct usage modes: a topic/date search, and a per-member voting-record mode gated on member_id, with against_group as a further narrowing. That gives clear situational context, but no explicit exclusions (e.g., when to prefer frparl_get_vote by vote ID, or that member_id is required for position/against_group is left to the 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.