Skip to main content
Glama
cmendezs

mcp-fattura-elettronica-it

Get Natura Codes

get_natura_codes

Retrieve valid Natura exemption codes with legal references for Italian e-invoicing lines requiring a zero VAT rate (aliquota_iva 0.0).

Instructions

Return the complete list of valid Natura exemption codes with legal references.

Call this when add_linea_dettaglio() requires a Natura code (i.e. aliquota_iva is 0.0). Common codes: N1 (excluded, art. 15), N2.1 (out-of-scope, territoriality), N3.1 (exports), N3.2 (intra-EU supplies), N4 (VAT-exempt), N6.x (reverse charge), N7 (OSS/IOSS — VAT paid in another EU state). Note: parent codes N2, N3, N6 were removed from the FatturaPA XSD enumeration effective 1 January 2021. Use sub-codes (N2.1, N2.2, N3.1–N3.6, N6.1–N6.9) instead.

Always succeeds. Returns {'codes': [{'code', 'description', 'legal_ref'}, ...], 'total': int}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden, and it delivers: 'Always succeeds' plus an explicit return contract {'codes': [...], 'total': int}. The note about parent codes N2/N3/N6 being removed from the FatturaPA XSD in 2021 is a non-obvious, valuable behavioral/domain detail that prevents agents from using obsolete codes.

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 description is information-dense without bloat: purpose, trigger condition, common-code examples, an important caveat, and return format are each covered in a compact, well-structured block. No sentence is redundant or filler.

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?

For a zero-parameter lookup with an output schema, the description is complete: it gives the trigger context, expected output shape, success guarantee, and the legal/version constraints around valid codes. An agent has everything needed to decide to call it and interpret the result 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?

The tool has zero parameters, so the schema coverage is trivially 100% and the baseline is 4. There are no parameter-level semantics to add, and the description appropriately focuses on when the tool should be invoked instead.

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 ('Return') and resource ('complete list of valid Natura exemption codes with legal references'), immediately telling the agent what the tool does. The trigger condition ('when add_linea_dettaglio() requires a Natura code') further pins down its purpose and distinguishes it from sibling code-list tools by subject matter.

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?

'Call this when add_linea_dettaglio() requires a Natura code (i.e. aliquota_iva is 0.0)' is an explicit, actionable condition for when to use the tool. However, it does not name when-not cases or alternative lookup tools, so it stops short of the full when/when-not/alternatives guidance required for a 5.

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