Skip to main content
Glama

Lu Law Search

lu_law_search
Read-onlyIdempotent

Search Luxembourg national legislation (Legilux, Service central de legislation) by words from the French title, e.g. "protection des donnees" or "Commission nationale pour la protection". By default only laws (loi) and grand-ducal regulations (rgd) in force are returned; type picks another kind (agd grand-ducal decree, amin ministerial decree, rmin ministerial regulation, or "all"), and in_force_only=false adds repealed acts. Returns id (usable in lu_law_get), title, type, date, entry-into-force date, status, Memorial A number and year, whether a consolidated version exists, and a link; 25 per page, newest first, use page to continue. Titles are in French; use that language for the search. National law only, no EU law.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "protection des données"
    },
    "name": "lu_law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default 1)
typeNoKind of act: loi, rgd (default: both loi and rgd), agd, argd, amin, rmin, or all
queryYesWord(s) from the French title, all must match, e.g. "protection des donnees"
in_force_onlyNoOnly acts in force today (default true)

Output Schema

NameRequiredDescriptionDefault
pageNo
typeNo
countNo
queryNo
sourceNo
resultsNo
next_pageNo
data_as_ofNo
empty_reasonNo
in_force_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), yet the description still adds page size and ordering ("25 per page, newest first, use page to continue"), the returned field set, and the fact that a consolidated-version flag is included. Its only shortfall is that it doesn't spell out match semantics beyond "all must match", which the schema also states.

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 purpose, then defaults, then return shape, then the language/scope caveat — a logical order with no filler. It is a single dense block, though, and the parenthetical enumeration of decree codes makes it slightly run-on.

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 read-only search with an output schema and full annotation coverage, everything an agent needs is present: query language, match rule, defaults, widening options, pagination, and the handoff to lu_law_get. The description even describes the return fields despite the output schema carrying that burden.

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 coverage is 100%, so the schema already documents all four parameters, and the description largely mirrors it — repeating the type codes (agd, amin, rmin), the default for in_force_only, and paging via page. It does add the useful framing that "all" and in_force_only=false are the widening levers, but that is marginal over the schema baseline.

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?

Specific verb and resource: "Search Luxembourg national legislation (Legilux, Service central de legislation)". It also scopes the domain explicitly ("National law only, no EU law") and points to the companion tool by noting the id is "usable in lu_law_get", so an agent can place it against siblings without opening any schema.

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 description states the default retrieval behavior (loi + rgd, in force only), how to widen it (type picks another kind or "all"; in_force_only=false adds repealed acts), the required language for queries (French), and the exclusion of EU law. It also names the follow-up tool via the id, leaving little to inference.

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.