Skip to main content
Glama

Lex: Luxembourg Law MCP Server

changes_in_period

ACROSS the corpus: which works gained new versions between two dates, how many each, and when — the aggregate counterpart of diff/timeline (which cover ONE work). Use for "what changed between 2025 and 2026", "which laws changed most during the pandemic", "what moved last month". order=by_churn ranks by number of new versions; by_date (default) lists most recently changed first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNodefault 20
orderNoby_date (default) or by_churn
domainNolegacy domain filter; current v4 indexes leave it empty
offsetNoskip this many, for paging
to_dateYesISO date, end of window (inclusive)
act_formNooptional legal act form
languageNooptional language code
from_dateYesISO date, start of window (inclusive)
hierarchyNooptional normalized legal hierarchy
publisherNooptional publisher id
jurisdictionNooptional jurisdiction code from index metadata, e.g. LU or EU
source_classNooptional source document class; alias of document_type
document_typeNooptional source document class(es), comma-separated; prefix with ! to exclude, e.g. !RECUEIL,!CODE_RECUEIL for instruments only
binding_statusNooptional binding status

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"optional reviewed legal domain"New value: +"legacy domain filter; current v4 indexes leave it empty"
    • changedInput schema / properties / from_date / pattern
      Previous value: -"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"New value: +"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$"
    • changedInput schema / properties / to_date / pattern
      Previous value: -"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"New value: +"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$"
  2. Changed32 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / act_form / maxLength
      Added value: +1000
    • addedInput schema / properties / act_form / minLength
      Added value: +1
    • addedInput schema / properties / binding_status / maxLength
      Added value: +1000
    • addedInput schema / properties / binding_status / minLength
      Added value: +1
    • addedInput schema / properties / document_type / maxLength
      Added value: +1000
    • addedInput schema / properties / document_type / minLength
      Added value: +1
    • addedInput schema / properties / domain / maxLength
      Added value: +1000
    • addedInput schema / properties / domain / minLength
      Added value: +1
    • addedInput schema / properties / from_date / maxLength
      Added value: +10
    • addedInput schema / properties / from_date / minLength
      Added value: +1
    • addedInput schema / properties / from_date / pattern
      Added value: +"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
    • addedInput schema / properties / hierarchy / maxLength
      Added value: +1000
    • addedInput schema / properties / hierarchy / minLength
      Added value: +1
    • addedInput schema / properties / jurisdiction / maxLength
      Added value: +64
    • addedInput schema / properties / jurisdiction / minLength
      Added value: +1
    • addedInput schema / properties / language / maxLength
      Added value: +16
    • addedInput schema / properties / language / minLength
      Added value: +1
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / offset / maximum
      Added value: +100000
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • addedInput schema / properties / order / enum
      Added value: +[
      +  "by_date",
      +  "by_churn"
      +]
    • addedInput schema / properties / order / maxLength
      Added value: +64
    • addedInput schema / properties / order / minLength
      Added value: +1
    • addedInput schema / properties / publisher / maxLength
      Added value: +64
    • addedInput schema / properties / publisher / minLength
      Added value: +1
    • addedInput schema / properties / source_class / maxLength
      Added value: +1000
    • addedInput schema / properties / source_class / minLength
      Added value: +1
    • addedInput schema / properties / to_date / maxLength
      Added value: +10
    • addedInput schema / properties / to_date / minLength
      Added value: +1
    • addedInput schema / properties / to_date / pattern
      Added value: +"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
  3. Changed8 schema fields changed
    • addedInput schema / properties / act_form
      Added value: +{
      +  "description": "optional legal act form",
      +  "type": "string"
      +}
    • addedInput schema / properties / binding_status
      Added value: +{
      +  "description": "optional binding status",
      +  "type": "string"
      +}
    • changedInput schema / properties / document_type / description
      Previous value: -"optional type code(s), comma-separated; prefix with ! to exclude, e.g. !RECUEIL,!CODE_RECUEIL for instruments only"New value: +"optional source document class(es), comma-separated; prefix with ! to exclude, e.g. !RECUEIL,!CODE_RECUEIL for instruments only"
    • addedInput schema / properties / domain
      Added value: +{
      +  "description": "optional reviewed legal domain",
      +  "type": "string"
      +}
    • addedInput schema / properties / hierarchy
      Added value: +{
      +  "description": "optional normalized legal hierarchy",
      +  "type": "string"
      +}
    • addedInput schema / properties / jurisdiction
      Added value: +{
      +  "description": "optional jurisdiction code from index metadata, e.g. LU or EU",
      +  "type": "string"
      +}
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "optional language code",
      +  "type": "string"
      +}
    • addedInput schema / properties / source_class
      Added value: +{
      +  "description": "optional source document class; alias of document_type",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are present, so the description carries the full burden. It discloses the aggregate behavior, ordering semantics (by_date vs by_churn), and implies read-only operation. It doesn't discuss side effects or pagination, but no side effects are expected and limit/offset are documented in the schema.

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?

Four sentences cover scope, result semantics, sibling differentiation, example queries, and ordering behavior. Every sentence contributes unique information with no filler or repetition.

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 14 parameters and no output schema, the description provides the essential context: what the tool does, when to use it, and how ordering works. It doesn't explicitly mention pagination, but limit/offset are well-described in the schema. The description is sufficient for an agent to select and invoke the tool correctly.

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 100%, providing a baseline of 3. The description adds value by explaining the order parameter's values and default, and giving real-world examples that clarify how the parameters are used together. It avoids repeating schema descriptions.

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 explicitly states the tool identifies 'which works gained new versions between two dates, how many each, and when' and contrasts it with diff/timeline which cover ONE work. This clearly distinguishes it from sister tools and defines the resource and action.

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?

It provides concrete example queries ('what changed between 2025 and 2026', 'which laws changed most during the pandemic') and explicitly names diff/timeline as alternatives for single-work queries, giving clear when-to-use and when-not-to-use 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.

Resources