Skip to main content
Glama

italy-legislation-mcp-server

Search Italian state acts

italylaw_search_acts
Read-onlyIdempotent

Search Italian state acts by Italian words in titles or article text, act type, enactment or publication dates, and number. Results follow publication order. Use the returned GU coordinates with italylaw_get_act or italylaw_get_provision.

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_search_acts"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoDay of the month of enactment.
sortNoPublication order, newest or oldest.newest
typeNoAct type code or Italian name, e.g. PLE or LEGGE.
yearNoYear of enactment.
limitNoRequested acts per page, up to 500.
monthNoMonth of enactment, 1–12.
queryNoItalian words in titles or article text. With only type and/or year filters, all words must match and quotes group a phrase. With any other filter, individual words can match and quotes do not enforce phrases.
facetsNoInclude selected match breakdowns by type, enactment year, or issuer. Omit or pass an empty array for no breakdowns.
numberNoAnnual act number.
offsetNoZero-based offset into the result set.
statusNoNormattiva consolidation class, applied independently of in_force_on.
enacted_toNoLast enactment date, inclusive.
in_force_onNoMatch acts that entered into force by this date, including repealed acts. Use italylaw_get_provision for text in force on a date.
title_wordsNoItalian words in titles only. Individual words can match and quotes do not enforce phrases.
enacted_fromNoFirst enactment date, inclusive.
published_toNoLast Gazzetta Ufficiale publication date, inclusive.
published_fromNoFirst Gazzetta Ufficiale publication date, inclusive.

Output Schema

NameRequiredDescriptionDefault
actsNoMatched acts with exact publication identifiers.
sortNoPublication sort order.
errorNoPresent when the call failed. Absent on success.
limitNoEffective page size.
totalNoTotal upstream matches.
facetsNoRequested search breakdowns as supplied by Normattiva.
offsetNoStarting result offset.
sourceNoNormattiva attribution and usage notice.
filtersNoNormalized search filters.
noticesNoIgnored blank filters, matching behavior, date semantics, limit adjustments, or zero-result guidance.
next_offsetNoPass this offset to read the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/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 that results follow publication order and that records carry GU coordinates, but it does not mention pagination behavior, result caps, or what happens when no filters are supplied — all relevant for a 17-parameter search.

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?

Three short sentences, front-loaded with the core capability and ending with the actionable follow-up. Minor redundancy between 'Results follow publication order' and the schema's sort parameter, but nothing wasteful.

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?

The tool is complex (17 optional parameters), but the schema is fully documented and an output schema exists, so the description need not explain return values or per-parameter behavior. What an agent needs in order to choose and call it — capability, ordering, and the follow-up path — is present, with only pagination and facets left implicit.

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%, so every parameter is already documented, including the subtle query-matching semantics and the status/in_force_on distinction. The description's parameter summary restates the schema at a high level and adds no new meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 state acts') and enumerates the searchable dimensions: words in titles or article text, act type, enactment/publication dates, and number. It also signals the distinction from the retrieval siblings by naming italylaw_get_act and italylaw_get_provision as follow-ups, though it does not contrast itself with italylaw_list_versions or italylaw_lookup_citation.

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

Usage Guidelines3/5

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

The final sentence gives a clear next step ('Use the returned GU coordinates with italylaw_get_act or italylaw_get_provision'), which is useful workflow guidance. However, there is no explicit statement of when to search versus when to use the citation lookup or version-listing siblings, and no exclusions or prerequisites.

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.