Skip to main content
Glama

It Normattiva Search

it_normattiva_search
Read-onlyIdempotent

Search Italian national legislation (laws, decree-laws, legislative decrees, the Constitution, regulations, ...) by full-text words, title words, act type and/or date range. Returns matching acts with their act type, title, emanation date, publication (Gazzetta Ufficiale) date kept separate from emanation date, and a constructed urn field for chaining into it_normattiva_get_act / it_normattiva_get_article. Pass in_force_on (YYYY-MM-DD) to restrict to acts in force on that date. act_type takes the official Italian label, e.g. "LEGGE", "DECRETO LEGISLATIVO", "DECRETO-LEGGE", "COSTITUZIONE", "REGOLAMENTO". Free-text query matching is OR-across-words over the whole corpus (not an exact phrase), so narrow with title/act_type/dates for tight results. 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": {
      "limit": 3,
      "query": "protezione dei dati personali",
      "act_type": "DECRETO LEGISLATIVO"
    },
    "name": "it_normattiva_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per page, 1-100 (default 20).
queryNoFull-text search words, e.g. "protezione dei dati personali".
titleNoWords to match in the act's title.
offsetNoResults to skip for paging (default 0).
act_typeNoOfficial act-type label, e.g. "LEGGE", "DECRETO LEGISLATIVO", "DECRETO-LEGGE", "COSTITUZIONE", "REGOLAMENTO".
in_force_onNoYYYY-MM-DD, restrict to acts in force on this date.
emanation_date_toNoYYYY-MM-DD, latest emanation (enactment) date.
emanation_date_fromNoYYYY-MM-DD, earliest emanation (enactment) date.
publication_date_toNoYYYY-MM-DD, latest Gazzetta Ufficiale publication date.
publication_date_fromNoYYYY-MM-DD, earliest Gazzetta Ufficiale publication date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / emanation_date_from / description
      Previous value: -"YYYY-MM-DD — earliest emanation (enactment) date."New value: +"YYYY-MM-DD, earliest emanation (enactment) date."
    • changedInput schema / properties / emanation_date_to / description
      Previous value: -"YYYY-MM-DD — latest emanation (enactment) date."New value: +"YYYY-MM-DD, latest emanation (enactment) date."
    • changedInput schema / properties / in_force_on / description
      Previous value: -"YYYY-MM-DD — restrict to acts in force on this date."New value: +"YYYY-MM-DD, restrict to acts in force on this date."
    • changedInput schema / properties / publication_date_from / description
      Previous value: -"YYYY-MM-DD — earliest Gazzetta Ufficiale publication date."New value: +"YYYY-MM-DD, earliest Gazzetta Ufficiale publication date."
    • changedInput schema / properties / publication_date_to / description
      Previous value: -"YYYY-MM-DD — latest Gazzetta Ufficiale publication date."New value: +"YYYY-MM-DD, latest Gazzetta Ufficiale publication date."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the bar is low, yet the description adds real behavioral content: the exact fields returned, the deliberate separation of emanation date from Gazzetta Ufficiale publication date, the synthesized urn field, and the crucial warning that free-text matching is OR-across-words rather than a phrase. It also names the upstream data source (IPZS Normattiva Open Data), which signals coverage.

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 and returns, then filters, then a query-shaping caveat, then provenance — a sensible ordering with dense, low-waste sentences. Minor redundancy: the act_type label examples are repeated verbatim from the schema description.

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?

Ten optional parameters and no output schema, so the description carries the return-shape burden — and it does, listing the fields each hit contains and the urn needed for follow-up calls. Combined with the query-semantics caveat and the paging behavior already documented in the schema, an agent has everything needed to call it correctly.

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; the description still earns extra by clarifying semantics the schema only hints at: that query is OR-across-words over the whole corpus and not a phrase, and that emanation date and publication date are distinct filter dimensions, which affects how the date-range parameters should be combined.

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 and resource (search Italian national legislation), enumerates the covered corpora (laws, decree-laws, legislative decrees, Constitution, regulations) and the matchable fields, and explicitly names it_normattiva_get_act / it_normattiva_get_article as the downstream tools. An agent can distinguish this list/search tool from the get tools 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 Guidelines4/5

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

Gives actionable usage guidance: use in_force_on to restrict to acts in force on a date, and narrow free-text with title/act_type/dates for tight results, plus the chaining condition (constructed urn feeds the get tools). It stops short of an explicit 'do not use this to retrieve full act text' exclusion, but the chaining statement effectively routes that case elsewhere.

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.