Skip to main content
Glama
Lucav21

heu-legal-mcp

by Lucav21

extract_heu_document_parties

Extract party details from Italian HEU contracts, including tax code, VAT, registered email, and addresses, by combining metadata and text analysis.

Instructions

Estrae i dati anagrafici delle parti da un documento HEU. Combina i metadati registrati (firmatari, ruoli, stato firma) con dati estratti dal testo del contratto: codice fiscale, P.IVA, codice univoco SDI, email/PEC, luogo e data di nascita, indirizzi, CAP. Pattern ottimizzati per contratti italiani.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesID del documento HEU
pagesNoRange pagine: '1-3', '5', '1,3,5-7'. Default: tutte (max 100). Le 'parti' sono spesso in pagina 1-2.
include_textNoSe true include nel risultato anche il testo grezzo (utile per ulteriore analisi). Default: false.
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. While it explains the combination of metadata and text extraction, it does not disclose whether the operation is read-only, potential side effects, auth requirements, or limitations (e.g., error handling).

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?

The description is a single concise paragraph that effectively communicates purpose and method. It could be slightly more structured (e.g., bullet points) but is not overly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description explains what data is extracted but lacks information about the output structure or format. Since no output schema is provided, this omission affects completeness. It also does not specify whether results are singular or plural (likely multiple parties).

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?

The input schema has 100% description coverage, so baseline is 3. The description adds overall context about extracted fields but does not enhance parameter-level understanding beyond schema descriptions.

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 clearly states the tool extracts party data from HEU documents, listing specific data fields and mentioning optimization for Italian contracts. This distinguishes it from siblings like extract_pdf_document_parties.

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 description implies usage for extracting party data from HEU documents but provides no explicit guidance on when to use this tool versus alternatives (e.g., extract_pdf_document_parties) or any exclusion criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lucav21/heu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server