Skip to main content
Glama

italy-legislation-mcp-server

Resolve Italian legislation citations

italylaw_lookup_citation
Read-onlyIdempotent

Resolve Italian statutory citations, code abbreviations, URN:NIR, ELI, and Normattiva links to publication coordinates. For italylaw_get_provision, pass act_ref as act, provision as an item in provisions, and the returned date selection as as_of or original. For the current act or its lifecycle, pass act_ref to italylaw_get_act or italylaw_list_versions. Resubmit any unprocessed citations.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "citations": "<citations>"
    },
    "name": "italylaw_lookup_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationsYesFrom 1 to 25 citations, for example art. 3-bis della L. 241/1990 or art. 2043 c.c.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
sourceNoNormattiva Open Data attribution and legal notice.
noticesNoNotes about availability and continuing the lookup.
resultsNoOne resolution per processed citation, in input order.
unprocessedNoOriginal citations remaining when the lookup budget expired. Resubmit these citations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description adds genuinely new behavior: results carry a date selection that must be forwarded as as_of or original, and processing may be partial so unprocessed citations must be resubmitted. It does not mention limits or failure modes beyond that, so a 4 rather than 5.

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?

Purpose is front-loaded in one sentence, followed by two short conditional handoff sentences. Dense but every clause carries routing information; the phrasing ('the returned date selection as as_of or original') is terse enough to require schema cross-referencing.

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 an output schema present, the description need not explain return values, and annotations cover the safety profile. It supplies the missing piece — how to reuse resolved output in the rest of the toolset. Minor gaps remain around unresolvable-citation outcomes and whether resolution is deterministic across runs.

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% (one required array with an example and 1–25 bounds), so the baseline would be 3. The description earns extra by enumerating the citation dialect space (code abbreviations, URN:NIR, ELI, Normattiva links) that the single 'citations' string array actually accepts, which the schema example alone does not convey.

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?

States a specific verb (Resolve) and a precise input class (Italian statutory citations, code abbreviations, URN:NIR, ELI, Normattiva links) with a named output (publication coordinates). An agent can immediately tell this is the normalization front-end to the other italylaw_* tools rather than a lookup or search tool.

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?

Gives concrete downstream routing: act_ref goes to italylaw_get_provision/italylaw_get_act/italylaw_list_versions, and provisions map to the provisions item. It also instructs to resubmit unprocessed citations. It stops short of saying when NOT to call this first (e.g., when a citation is already a known act_ref), so not quite a 5.

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.