Skip to main content
Glama

Lu Law Get

lu_law_get
Read-onlyIdempotent

Fetch one Luxembourg act: its record and text. id is the id from lu_law_search, e.g. "loi/2018/08/01/a686" (the Law of 1 August 2018 organising the National Commission for Data Protection). Returns title, type, date, entry-into-force date, in-force status, Memorial A citation, the version of the text (consolidated version applicable on a date, or the text as originally published) and the text. Pass article (e.g. "5", "1er", "2bis") for one article only; without it the text is capped at max_chars with a list of headings. Text is in French, CC BY 4.0, from the Service central de legislation; the Memorial A publication is the authentic text.

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": {
      "id": "loi/2018/08/01/a686",
      "article": "1er"
    },
    "name": "lu_law_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAct id from lu_law_search, e.g. "loi/2018/08/01/a686"
articleNoArticle number, e.g. "5", "1er", "2bis"
max_charsNoCap on returned text when no article is given (default 20000, max 100000)

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
dateNo
hintNo
textNo
typeNo
foundNo
titleNo
sourceNo
statusNo
articleNo
contentsNo
truncatedNo
data_as_ofNo
total_charsNo
empty_reasonNo
text_versionNo
article_countNo
in_force_fromNo
article_headingNo
gazette_citationNo
version_applicable_fromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only cover the read-only/idempotent safety profile; the description adds truncation behavior (text capped at max_chars with a headings list when no article is given), the returned field set, content language (French), licensing (CC BY 4.0), and the provenance caveat that Memorial A is the authentic text. Those are exactly the operational facts an agent cannot get from annotations.

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?

Purpose is front-loaded in the first clause, then id source, then return contents, then the article/max_chars branch. The parenthetical naming the act example is the only arguably expendable element, and it usefully disambiguates the id format.

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?

With an output schema present, the definition need not document return values in detail, yet it still enumerates the key fields and the article-vs-truncated-text distinction. Nothing required to invoke it correctly, including the authentic-source caveat, is missing.

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%, so the baseline is 3, but the description adds the interaction between parameters that the schema does not: max_chars only governs the returned text when article is omitted, otherwise a single article is returned. It also reinforces the article value formats with examples.

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?

"Fetch one Luxembourg act: its record and text" gives a specific verb and resource, and the definition separates it from lu_law_search by positioning that tool as the source of the id. An agent can tell immediately this is the single-act retrieval counterpart to search.

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

Usage Guidelines4/5

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

It states the prerequisite workflow (id comes from lu_law_search) and gives two concrete branching conditions: pass article for a single article, omit it for capped full text with headings. It does not explicitly state when to prefer lu_law_search over this, but the search-to-fetch relationship is clear enough to route correctly.

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.