Skip to main content
Glama

france-parliament-mcp-server

Frparl Search Amendments

frparl_search_amendments
Read-onlyIdempotent

Find amendments by bill, text, author, division, stage, fate, or French words in the amendment. Use returned IDs with frparl_get_amendment to read the full record.

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

Input Schema

NameRequiredDescriptionDefault
fateNoNormalized outcome. Use fell for amendments marked Tombé.
groupNoPolitical group code.
limitNoRows per page. Defaults to 25 and clamps at 100. With include_text, defaults to 10 and clamps at 25.
queryNoFrench search words. Every word must match, ignoring case and accents.
stageNoCommittee or public sitting.
offsetNoZero-based starting row. Use the next_offset returned by the previous call.
articleNoWords in the targeted division, such as article 4.
chamberNoRestrict the search to one chamber. Omit to search both.
sessionNoSénat deposit session start year or consecutive YYYY-YYYY. Pair with text_number.
text_idNoAssemblée document UID or senat:YYYY:number. Omit when using session and text_number.
to_dateNoLast calendar date to include, YYYY-MM-DD.
author_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. Matches authors and cosigners.
from_dateNoFirst calendar date to include, YYYY-MM-DD.
dossier_idNoOfficial dossier URL or ID from frparl_search_dossiers.
text_numberNoSénat text number. Pair with session.
include_textNoReturn full dispositif and exposé for every result. Defaults to false.

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

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world scope, so the safety profile is fully covered. The description adds only workflow context (IDs feed the get tool) and says nothing about result volume, pagination, or how multiple optional filters combine, which is the behavior that actually matters here.

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, front-loaded with capability and followed by the hand-off step. No filler, no restatement of the title, and the most actionable instruction is last-positioned where it is read before the schema.

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 16 optional parameters, full schema descriptions, an output schema and safety annotations, the definition gives the agent enough to call correctly. The remaining gap is guidance on how filters interact and what happens when broad searches are issued with include_text, which matters for a tool with runaway-result potential.

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%, including enum values, limit clamping, date formats and ID formats, so the schema carries all parameter meaning. The description's facet list merely restates the parameter surface at a high level without adding semantics such as AND-combination behavior across the 16 optional filters. Baseline 3 applies.

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?

"Find amendments" gives a specific verb and resource, and the facet list (bill, text, author, division, stage, fate, French words) maps precisely onto the schema filters. The second sentence separates it from the sibling reader frparl_get_amendment, so an agent can route without opening either schema.

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 establishes the search-then-fetch workflow ("Use returned IDs with frparl_get_amendment to read the full record"), which is exactly the alternative an agent needs to consider. It stops short of explicit exclusions, e.g. when to reach for frparl_search_dossiers instead of filtering by dossier_id, so no full when-not guidance.

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.