Skip to main content
Glama
banca-dati-merito-mcp

banca-dati-merito-mcp

Leggi testo del provvedimento

leggi_testo_provvedimento
Read-only

Retrieves the full pseudonymized text of an Italian civil decision by ID and returns it in chunks; continue with the next character offset to read long rulings.

Instructions

Restituisce il testo integrale del provvedimento, pseudonimizzato dalla Banca Dati (le parti diventano Parte_1, Controparte_1 ecc.). I testi lunghi arrivano a blocchi: se continua è vero, richiama con da_carattere uguale a prossimo_da.

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": {
      "id": "<id>"
    },
    "name": "leggi_testo_provvedimento"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentificativo restituito dalle ricerche.
da_carattereNo
max_caratteriNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses two non-obvious behaviors: text is pseudonymized by the Banca Dati (parties become Parte_1, Controparte_1) and long texts are returned in chunks. The weak point is that it references `continua` and `prossimo_da`, which appear in neither the input schema nor an output schema, leaving their origin unexplained.

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?

Two dense sentences with no filler; the core purpose comes first and the pagination mechanics follow. The backtick-heavy continuation clause is compact but slightly opaque on a first read.

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 and low schema coverage, the description carries the burden well by explaining pseudonymization, chunking and the continuation loop. It is not fully complete: the response fields `continua` and `prossimo_da` are never defined, and `max_caratteri` behavior is unaddressed.

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 coverage is only 33% (only `id` is documented), so the description must compensate. It explains the role of `da_carattere` in continuation but says nothing about `max_caratteri`, its 20000 default or 60000 cap, which materially affects how many calls are needed.

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: it returns the full text ('testo integrale') of the provvedimento, which distinguishes it from the abstract/metadata siblings (leggi_abstract, leggi_provvedimento). It does not name those siblings explicitly, so the differentiation is implied rather than stated.

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?

It gives concrete guidance for repeated calls (if `continua` is true, call again with `da_carattere` = `prossimo_da`), which is real usage instruction. However, it never says when to prefer this over leggi_provvedimento or leggi_abstract, nor any preconditions (e.g., the id must come from a prior search).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.