Skip to main content
Glama
France Legal Research MCP Server

France Legal Research MCP Server

by jurisatlas

Search Legislation

search_legislation

Search French national legislation, including statutes, codes, regulations, and official gazette entries, by keywords, title, number, or enactment year via Légifrance.

Instructions

Search France (FR) national legislation (statutes, acts, codes, regulations, official gazette) via Légifrance (legifrance.gouv.fr) & Data.gouv.fr LEGI and live national legal archives.

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": {
      "query": "<query>"
    },
    "name": "search_legislation"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional enactment year filter.
limitNoMaximum number of results to return.
queryYesKeywords or statute title/number to search in France legislation.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the retrieval domain and underlying sources, which helps establish corpus trust, but says nothing about pagination, ranking, result caps, failure modes, or whether results are exhaustive — despite 'limit' being a hard maximum of 50.

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?

A single well-formed sentence with the resource and sources front-loaded and no filler. It is dense but readable; separating what it searches from what it is used for would improve structure slightly.

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, so return values needn't be explained, and 100% schema coverage handles parameters. The remaining thin area is when-to-use relative to siblings, particularly search_case_law, which is the main completeness 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 query, year, and limit are already documented in the schema. The description adds source provenance ('LEGI', 'live national legal archives') hinting at corpus freshness, but does not expand on what 'query' accepts beyond the schema's 'keywords or statute title/number'.

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 specific verb ('Search') and resource (France national legislation), and enumerates covered content types — statutes, acts, codes, regulations, official gazette — plus sources (Légifrance, Data.gouv.fr LEGI). It does not explicitly distinguish itself from sibling search tools like search_case_law, so it stops short of a 5.

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 implied — France-only, national legislation, keyword or statute title/number lookup — but there is no statement of when to choose this over search_case_law, and no prerequisites such as access requirements or jurisdiction scoping. The agent must infer the choice from the resource type alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.