Skip to main content
Glama
Invoket
by Invoket

List the version history of a law

legal_history

Retrieve the full version timeline of a French or EU legal article to detect exactly when it changed, including each version's status and validity dates from official LEGI and EUR-Lex datasets.

Instructions

Before your agent relies on a stored legal citation or watches a provision for change: the full version timeline of a French or EU article — each version's status (in force, repealed, superseded, deferred) and validity dates, from the official LEGI and EUR-Lex datasets — to detect exactly when it changed. Covers 12 major French codes and statutes and key EU acts (GDPR, DSA, AI Act, MiCA and more). Price: $0.01 per call First call each day free (trial). Docs: https://invoket.com/docs/api/legal-history

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesSlug of the French code or statute (e.g. code-civil); an EU reference passes celex= or eli= instead (e.g. eli=reg/2016/679/oj, or the full URI http://data.europa.eu/eli/reg/2016/679/oj — the scheme, the data.europa.eu host, the /eli/ prefix and the trailing /oj are all optional). Covered corpus — French law (Légifrance LEGI): Code civil, Code du travail, Code de commerce, Code pénal, Code de la consommation, Code général des impôts (CGI), Code de la sécurité sociale, Code monétaire et financier, Code de l'environnement, Code de la propriété intellectuelle, Code des assurances, plus the Data Protection Act (loi 78-17); EU law (EUR-Lex): GDPR, eIDAS, the e-Commerce Directive, the DSM copyright Directive, DSA, DMA, AI Act, MiCA and NIS2
articleYes
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses that statuses (in force, repealed, superseded, deferred) and validity dates come from LEGI and EUR-Lex, and notes pricing ($0.01 per call, first daily free). However, it doesn't disclose output structure, pagination behavior, rate limits beyond pricing, or whether it combines multiple datasets under one response.

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?

The description is front-loaded with purpose and use-case, followed by corpus coverage and pricing. It is somewhat long but every sentence earns its place (usage trigger, data source, corpus, pricing, docs link). The corpus enumeration is lengthy but valuable given the code parameter semantics. Slight redundancy between title and description purpose.

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?

Given 2 params (one richly documented), no output schema, and no annotations, the description covers the purpose, when to use, data sources, corpus scope, pricing, and the code/eu reference syntax thoroughly. The article parameter ambiguity is the main gap, but the EU reference handling is detailed. Pricing note adds practical value without bloating. Complete for its complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% (article has no description). The code parameter description is exceptionally rich, adding the corpus coverage list, alternate EU reference syntax (celex=, eli=), and acceptable URL flexibility. However, the article parameter lacks any description beyond its name, so meaning must be inferred. The description compensates reasonably but leaves article underspecified.

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 clearly states the verb ('detect exactly when it changed' / 'List the version history') and the resource (French/EU legal article version timeline), distinguishing it from siblings like legal_diff (comparing versions) and legal_article (reading a single version). The scope (12 French codes + EU acts) is specific and well-boundaried.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The opening 'Before your agent relies on a stored legal citation or watches a provision for change' gives explicit when-to-use context, implying use before relying on citations or monitoring for changes. It distinguishes against legal_article/legal_diff siblings by framing this as the timeline/detection tool. Clear stated use case.

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/Invoket/mcp'

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