Skip to main content
Glama

fr_search

Read-onlyIdempotent

Search French legislation and case law on Legifrance by entering a free-text query to find laws, decrees, codes, and court decisions.

Instructions

Keyword-search French legislation or case law on Legifrance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fondNoone of ``LODA`` (laws & decrees), ``CODE`` (codes), ``JURI`` (Cour de cassation case law), ``CONSTIT`` (Conseil constitutionnel - QPC/DC decisions), ``CETAT`` (administrative case law: Conseil d'Etat, cours administratives d'appel, tribunaux administratifs), ``CNIL`` (CNIL deliberations, incl. sanctions), ``KALI`` (collective labour agreements / conventions collectives), ``ACCO`` (company-level agreements - metadata + search only).LODA
queryYesfree-text query (e.g. "republique numerique", "responsabilite").
page_sizeNonumber of hits (1..100).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fondYes
hitsNo
queryYes
totalYes
eli_noteNoLegifrance lf-engine-app returns the ELI field null for legislation; 'eli_uri' is the stable CID-keyed legifrance.gouv.fr resource URL, not a synthesized /eli/ identifier.
dataset_noteNoLegifrance via PISTE. Legislation (LODA laws/decrees, codes) and case law (JURI) are searchable by keyword. The PISTE consult API does NOT expose a populated native ELI for legislation, so 'eli_uri' carries the stable resolvable Legifrance resource URL (never a fabricated /eli/ string). Case law carries a native authoritative 'ecli'.
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false. The description does not add any behavioral traits beyond stating it is a search operation. No contradiction, but no added value.

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?

Single sentence, clear and to the point. No wasted words. However, it could be slightly more informative without becoming verbose, but current structure is efficient.

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?

Given the presence of an output schema (not shown but indicated true), the description does not need to explain return values. The description covers the essential purpose. Could mention that it searches across multiple fond types, but the schema already does that.

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% with detailed parameter descriptions for fond (enumerating values), query, and page_size. The description does not add meaning beyond what the schema already provides.

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?

The description 'Keyword-search French legislation or case law on Legifrance' clearly states the verb (search), resource (French legislation or case law), and context (Legifrance). It distinguishes from sibling tools that are all 'get' operations for specific documents.

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?

No explicit guidance on when to use this tool versus alternatives. It is implied by the sibling names (e.g., fr_get_act) that search is for finding documents while get tools retrieve specific ones, but no direct when/when-not guidance is given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/fr-eli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server