Skip to main content
Glama

Imperio — Italian Tax & Compliance Tools

Reverse charge (inversione contabile)

calc_reverse_charge
Read-onlyIdempotent

Computes the VAT the BUYER (cessionario) must self-assess under the Italian reverse charge and returns both parties' obligations with the applicable law. It separates the three cases most often confused: INTRA-EU reverse charge (non-IT EU supplier — art. 46 DL 331/93 for goods, art. 17 c. 2 DPR 633/72 for services: with 'oggetto' it also says how the supplier invoices and which integration document is needed), DOMESTIC reverse charge (Italian supplier — art. 17 c. 6, which is NOT general: it applies only in listed sectors such as construction subcontracting, scrap, building cleaning, electronics) and non-EU country (explicit error, not an implicit branch).

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>",
      "paese_cedente": "<paese_cedente>"
    },
    "name": "calc_reverse_charge"
  }
}

Input Schema

NameRequiredDescriptionDefault
oggettoNointraUE only: 'beni' (goods) or 'servizi' (services). For goods the EU supplier invoices an exempt intra-EU supply (integration TD18); for services «inversione contabile» (TD17). If missing, the response gives both cases in `per_oggetto`.
imponibileYesTaxable amount of the invoice in EUR.
aliquota_ivaNoVAT rate to self-assess (default 22).
paese_cedenteYesISO2 code of the SUPPLIER's (cedente) country: an EU Member State (e.g. DE, FR, ES; 'EL' or 'GR' for Greece; 'XI' for Northern Ireland) for the intra-EU reverse charge, or 'IT' for the domestic one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / aliquota_iva / description
      Previous value: -"Aliquota IVA da autoliquidare (default 22)."New value: +"VAT rate to self-assess (default 22)."
    • changedInput schema / properties / imponibile / description
      Previous value: -"Imponibile della fattura in EUR."New value: +"Taxable amount of the invoice in EUR."
    • changedInput schema / properties / oggetto / description
      Previous value: -"Solo intraUE: 'beni' o 'servizi'. Per i beni il fornitore UE fattura una cessione intracomunitaria esente (integrazione TD18); per i servizi «inversione contabile» (TD17). Se manca, la risposta dà entrambi i casi in `per_oggetto`."New value: +"intraUE only: 'beni' (goods) or 'servizi' (services). For goods the EU supplier invoices an exempt intra-EU supply (integration TD18); for services «inversione contabile» (TD17). If missing, the response gives both cases in `per_oggetto`."
    • changedInput schema / properties / paese_cedente / description
      Previous value: -"Codice ISO2 del paese del CEDENTE: uno Stato membro UE (es. DE, FR, ES; 'EL' o 'GR' per la Grecia; 'XI' per l'Irlanda del Nord) per il reverse charge intracomunitario, oppure 'IT' per quello interno."New value: +"ISO2 code of the SUPPLIER's (cedente) country: an EU Member State (e.g. DE, FR, ES; 'EL' or 'GR' for Greece; 'XI' for Northern Ireland) for the intra-EU reverse charge, or 'IT' for the domestic one."
  2. Changed1 schema field changed
    • addedInput schema / properties / oggetto
      Added value: +{
      +  "description": "Solo intraUE: 'beni' o 'servizi'. Per i beni il fornitore UE fattura una cessione intracomunitaria esente (integrazione TD18); per i servizi «inversione contabile» (TD17). Se manca, la risposta dà entrambi i casi in `per_oggetto`.",
      +  "enum": [
      +    "beni",
      +    "servizi"
      +  ],
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / imponibile / maximum
      Added value: +1000000000000
    • addedInput schema / properties / imponibile / minimum
      Added value: +0.01
  4. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. Beyond that the description discloses the return shape ('both parties' obligations with the applicable law'), the `per_oggetto` fallback when 'oggetto' is omitted, and that a non-EU supplier produces an explicit error rather than a silent branch — all useful behavioral detail.

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?

Front-loaded with the core purpose, then the three-case disambiguation; nothing is filler. The single dense paragraph with nested parentheses ('art. 46 DL 331/93 for goods, art. 17 c. 2 DPR 633/72 for services: with oggetto...') is heavier to parse than a short bulleted structure would be, but no sentence is wasted.

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?

There is no output schema, so the description must speak to returns — it does, mentioning both parties' obligations, the applicable law, and the `per_oggetto` fallback. Combined with fully documented parameters and complete annotations, an agent has enough to call this correctly; only the exact response field layout is left unspecified.

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?

Schema coverage is 100% with very rich per-parameter descriptions and enums, so the schema carries most of the load. The description still adds meaning beyond it by explaining the consequence of 'oggetto' for output (how the supplier invoices, which integration document TD17/TD18 applies) and by framing `paese_cedente` as the supplier's country driving branch selection.

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?

Names a specific verb and resource ('Computes the VAT the BUYER must self-assess under the Italian reverse charge') and then enumerates the three distinct cases it covers with the governing articles for each. An agent can tell this is the reverse-charge calculator, distinct from ordinary VAT or split-payment calculations, without opening the schema.

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?

Gives clear triggering context for the intra-EU case (non-IT EU supplier) and the domestic case (Italian supplier), plus an explicit exclusion: non-EU country is an explicit error, not an implicit branch. It stops short of naming sibling alternatives such as calc_iva for ordinary VAT, so routing between this and the general VAT tool is left partly 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