Skip to main content
Glama

get_legislative_history

Read-onlyIdempotent

Legislative history (travaux préparatoires) of a French statute or bill (Assemblée nationale files since 2012; key dates only before). Each step of parcours lists its documents (bill, reports, opinions, adopted or rejected texts: number, date, authors, official URL), votes, minutes, the Constitutional Council decision and the Official Journal; issue says adopted or rejected. Cite documents by number and URL.

Example: get_legislative_history(loi="2016-1547")

Args: query: keywords from the file title (French); OR/AND/NOT in UPPERCASE between two words are operators; lowercase words are plain words loi: statute number ("2016-1547") limit: number of files (max 20) steps: include the stages of the shuttle between the two chambers

Input Schema

NameRequiredDescriptionDefault
loiNostatute number ("2016-1547")
limitNonumber of files (max 20)
queryNokeywords from the file title (French); OR/AND/NOT in UPPERCASE between two words are operators; lowercase words are plain words
stepsNoinclude the stages of the shuttle between the two chambers

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"nombre de dossiers"New value: +"number of files (max 20)"
    • changedInput schema / properties / loi / description
      Previous value: -"numéro de la loi (« 2016-1547 »)"New value: +"statute number (\"2016-1547\")"
    • changedInput schema / properties / query / description
      Previous value: -"mots-clés du titre du dossier"New value: +"keywords from the file title (French); OR/AND/NOT in UPPERCASE between two words are operators; lowercase words are plain words"
    • changedInput schema / properties / steps / description
      Previous value: -"inclure les étapes de la navette"New value: +"include the stages of the shuttle between the two chambers"
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description goes well beyond them: it discloses data-coverage limits (post-2012 AN files, key dates only before), the full response structure (parcours steps, documents with number/date/authors/URL, votes, minutes, Constitutional Council decision, Official Journal), the meaning of `issue` as adopted/rejected, and the max-20 files ceiling.

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?

Front-loaded with the purpose and what the response contains, followed by a compact example and the parameter list — the reader can stop after the first sentence if they only need the gist. The Args block duplicates the schema word-for-word, which is mild waste for docstring-style convention but not harmful.

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 zero-required-parameter, read-only lookup with four simple scalar params and an output schema, the description supplies everything an agent needs: domain meaning, coverage limits, input modes, return shape, and citation guidance. Return-format detail is technically redundant given the output schema, but it adds useful context rather than creating a gap.

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 the baseline is 3. The 'Args' block largely restates the schema fields verbatim (query operators, loi example, limit max, steps meaning) rather than adding syntax, format, or interaction rules beyond it; the only marginal addition is the example call and the note that `issue` distinguishes adopted from rejected outcomes.

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?

States a specific verb+resource — retrieving the legislative history (travaux préparatoires) of a French statute or bill — and pins down scope ('Assemblée nationale files since 2012; key dates only before'). This is clearly separable from sibling tools like search_legislation, get_law_article, and get_decision, which retrieve current text or case law rather than the drafting trail.

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?

Gives a concrete call example and implies the two entry paths: keyword `query` for browsing file titles versus exact `loi` number, plus the downstream instruction to 'cite documents by number and URL.' It never states when not to use it or points to search_legislation as the alternative for full-text lookup, so the routing guidance is clear but incomplete.

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