Skip to main content
Glama

Imperio — Italian Tax & Compliance Tools

Split payment (scissione dei pagamenti)

calc_split_payment
Read-onlyIdempotent

Computes the split payment (scissione dei pagamenti) for supplies to the Italian Public Administration (art. 17-ter DPR 633/72): the supplier invoices taxable amount + VAT but collects from the PA ONLY the taxable amount, while the PA pays the VAT directly to the Treasury. Returns the two amounts separately, the cash-flow impact for the supplier and the FatturaPA instructions (EsigibilitaIVA=S; the N6 Natura codes are NOT used, they belong to the reverse charge only). It does NOT apply to self-employed fee invoices with withholding tax (art. 17-ter c. 1-sexies): for a professional use calc_iva with con_ritenuta.

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": {
      "imponibile": "<imponibile>"
    },
    "name": "calc_split_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
imponibileYesTaxable amount of the supply to the PA in EUR.
aliquota_ivaNoVAT rate shown on the invoice (default 22).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / aliquota_iva / description
      Previous value: -"Aliquota IVA esposta in fattura (default 22)."New value: +"VAT rate shown on the invoice (default 22)."
    • changedInput schema / properties / imponibile / description
      Previous value: -"Imponibile della fornitura alla PA in EUR."New value: +"Taxable amount of the supply to the PA in EUR."
  2. Changed2 schema fields changed
    • addedInput schema / properties / imponibile / maximum
      Added value: +1000000000000
    • addedInput schema / properties / imponibile / minimum
      Added value: +0.01
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description then adds genuinely new behavioral context: what is returned (the two amounts separately plus the supplier's cash-flow impact), and the FatturaPA representation to emit (EsigibilitaIVA=S, N6 Natura codes not used). Remaining gap is minor — no note on output shape beyond content or edge cases such as 'esente'/'fuori_campo' rates.

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?

Front-loads the verb, resource and legal basis, then the mechanism, then what is returned, then the exclusion and alternative — a clean priority order. Every clause earns its place: the N6-code note and the art. 17-ter c. 1-sexies carve-out both prevent concrete agent errors rather than adding background.

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?

With no output schema, the description carries the burden of explaining return values, and it does so precisely (two amounts, cash-flow impact, FatturaPA instructions). For a two-parameter, read-only, closed-domain calculation with full annotation coverage, nothing an agent needs in order to call it correctly is missing.

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% with only two parameters, so the schema already defines imponibile and the aliquota_iva enum with its default. The description mentions the taxable amount and VAT conceptually but adds no format, rounding or rate-specific guidance beyond what the schema supplies, so baseline 3 applies.

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 (computes the split payment under art. 17-ter DPR 633/72) and explains the mechanism: supplier invoices taxable amount + VAT but collects only the taxable amount, PA pays VAT to the Treasury. It also explicitly names what it is not (reverse charge with N6 codes, self-employed fee invoices), so an agent can distinguish it from calc_reverse_charge and calc_iva 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 Guidelines5/5

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

Gives an explicit exclusion plus the routing alternative: it does NOT apply to self-employed fee invoices with withholding tax (art. 17-ter c. 1-sexies), and for those the agent should use calc_iva with con_ritenuta. The when-not condition and the named sibling are both present, leaving nothing to inference.

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.

Resources