Skip to main content
Glama

It Normattiva Get Act

it_normattiva_get_act
Read-onlyIdempotent

Resolve an exact citation (URN:NIR) to an Italian national act, e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196" (the Privacy Code). Returns the act's title, type, emanation date, Gazzetta Ufficiale publication date (kept separate from emanation and from in-force dates), and the opening text (preamble through the start of Article 1). Pass as_of (YYYY-MM-DD) for the version in force on that date (multivigenza), or original: true for the text as originally enacted, default is the current consolidated text. For a specific article's text, use it_normattiva_get_article instead. Source: Istituto Poligrafico e Zecca dello Stato (IPZS), Normattiva Open Data.

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": {
      "urn": "urn:nir:stato:decreto.legislativo:2003-06-30;196"
    },
    "name": "it_normattiva_get_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
urnYesURN:NIR citation, e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196", or urn:nir:stato:<tipo.atto>:<yyyy-mm-dd>;<numero> built from an it_normattiva_search result.
as_ofNoYYYY-MM-DD, the version in force on this date (multivigenza). Omit for the current consolidated text.
originalNotrue, return the text as originally enacted, ignoring later amendments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / as_of / description
      Previous value: -"YYYY-MM-DD — the version in force on this date (multivigenza). Omit for the current consolidated text."New value: +"YYYY-MM-DD, the version in force on this date (multivigenza). Omit for the current consolidated text."
    • changedInput schema / properties / original / description
      Previous value: -"true — return the text as originally enacted, ignoring later amendments."New value: +"true, return the text as originally enacted, ignoring later amendments."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds genuinely useful behavior: the response is deliberately limited to the preamble through the start of Article 1, and the GU publication date is kept distinct from both the emanation and in-force dates. What is not covered is failure behavior for malformed or unresolvable URNs, worth a small deduction on an openWorldHint tool.

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?

The verb and a worked example are front-loaded, followed by return contents, then version modes, then the sibling hand-off. Every sentence carries distinct information, and the parenthetical about separating emanation, GU, and in-force dates preempts a common misreading without padding.

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 no output schema, the description carries the burden of describing returns, and it does so adequately by naming the fields and delimiting the text snippet. Versioning semantics and provenance (IPZS, Normattiva Open Data) are both present, leaving only not-found/error handling unstated for a low-parameter, single-resource lookup.

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 per-parameter mechanics are already documented and the baseline is 3. The description earns one point above that by framing the parameters as a mutually exclusive mode choice (as_of vs. original vs. default), which is routing information the schema lists but does not present as a decision. It still does not state precedence if as_of and original are both supplied.

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 opens with a specific verb and resource: "Resolve an exact citation (URN:NIR) to an Italian national act," and immediately grounds it with a concrete URN example that is identified as the Privacy Code. It also enumerates what comes back (title, type, emanation date, GU publication date, opening text), so an agent can distinguish this lookup tool from search and article retrieval without opening a 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?

It gives a complete selection rule across the three modes: pass as_of for the version in force on a date, original: true for the text as enacted, and otherwise the current consolidated text applies. It also names the alternative explicitly — "For a specific article's text, use it_normattiva_get_article instead" — so the boundary with the nearest sibling is stated rather than inferred.

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.