Skip to main content
Glama

italy-legislation-mcp-server

Read current Italian acts

italylaw_get_act
Read-onlyIdempotent

Read the current consolidated act as an outline or as complete text for a selected part. Omit part for the whole outline. Use an exact outline path, an unambiguous article or section, Preambolo, or an allegato as part. For a historical article use italylaw_get_provision. Pending export tokens also work with italylaw_list_versions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "italylaw_get_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
actNoItalian citation, URN:NIR, ELI, Normattiva URL, or exact Gazzetta Ufficiale coordinates. Mutually exclusive with job_token.
partNoExact outline path or unambiguous Italian section, article, preamble, or annex label. Omit for the full outline.
outlineNoReturn the selected part as an outline instead of legal text.
job_tokenNoResume a job from italylaw_get_act or italylaw_list_versions. Mutually exclusive with act. Tokens expire and are lost on server restart. Keep anonymous continuation tokens private.
wait_secondsNoPoll for up to this many seconds after submission and confirmation. Zero submits and confirms without polling.

Output Schema

NameRequiredDescriptionDefault
actNoAct identity verified against the Gazzetta Ufficiale publication.
partNoText and address of the selected section.
errorNoPresent when the call failed. Absent on success.
foundNoThe act could not be found.
sourceNoNormattiva attribution and usage notice.
statusNoReady for an outline or text, pending or busy for export continuation, part_not_found for a missing or ambiguous part, or not_found or ambiguous for act resolution.
outlineNoRecursive act outline in publication order.
percentNoActual export progress percentage when supplied by Normattiva.
guidanceNoHow to continue, disambiguate, or choose a different selector.
job_tokenNoOpaque continuation token to resume in either current-export tool.
candidatesNoDistinct publication identities when the act reference is ambiguous.
extracted_onNoCurrent export extraction day in Rome.
version_countNoNumber of dated lifecycle events in the export.
requested_partNoPart selector that could not be resolved uniquely.
candidate_pathsNoExact outline paths for an ambiguous part selector.
expression_dateNoDate of the current expression recorded in Akoma Ntoso.
retry_after_secondsNoSuggested delay before resuming or retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered; the description adds genuine behavior beyond that: outline is a selectable rendering, part omission yields the full outline, and pending export tokens carry over to italylaw_list_versions. It does not itself disclose token expiry or server-restart loss, but that lives in the schema's job_token field.

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 short sentences, each doing distinct work: purpose, mode selection, part forms, and sibling routing. No repetition of annotation or schema content beyond what is needed to disambiguate usage.

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?

No required parameters and a published output schema mean return values need no explanation; the description covers the two things an agent must decide — outline vs. full text and part granularity — plus the escape hatch for historical articles and job resumption.

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 description coverage is 100% and the field descriptions already define act, part, outline and job_token in detail. The description restates the semantics of part and its omission rather than adding syntax, format or example values, so this is the baseline for a fully documented schema.

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?

Opens with a specific verb and resource ('Read the current consolidated act') and immediately splits the two output modes (outline vs. complete text). It distinguishes itself from italylaw_get_provision by naming the historical-article case explicitly, so an agent can route without opening either 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?

Gives a concrete when-to-use condition ('For a historical article use italylaw_get_provision') plus acceptance forms for part (outline path, article/section, Preambolo, allegato) and the omission rule for the whole outline. The only note on job tokens points to italylaw_list_versions as the companion tool.

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.