Skip to main content
Glama

Imperio — Italian Tax & Compliance Tools

Calcola IMU

calc_imu
Read-onlyIdempotent

Calcola l'IMU italiana (L.160/2019) per fabbricati (da rendita catastale + categoria), terreni agricoli (da reddito dominicale) e aree edificabili (da valore venale), con acconto/saldo. L'aliquota (‰) è quella deliberata dal Comune: indicala (aliquota_permille) OPPURE indica il comune (codice catastale o nome) e il server usa l'aliquota del suo prospetto pubblicato dal MEF, con lo stato di legge (prospetto dell'anno · anno precedente, L.160/2019 c.767 · aliquote di base) e la fonte in aliquota_comune. Se il prospetto non è ancora stato letto, o il comune non ha l'IMU (Trento, Bolzano, Friuli Venezia Giulia), risponde calcolato: false con la spiegazione, senza importo. Gratis (€0), deterministico, nessun login richiesto.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
annoNoAnno d'imposta del verdetto per comune (default l'anno in corso). Solo con `comune`.
comuneNoCodice catastale (es. B519) o nome del comune. L'aliquota diventa quella del suo prospetto IMU pubblicato dal MEF per l'anno (o, per legge, quella dell'anno precedente o di base).
ex_comuneNoSolo comuni fusi con aliquote differenziate: l'ex comune dove sta l'immobile. Se serve e manca, la risposta elenca quelli possibili.
provinciaNoSigla della provincia, per i comuni omonimi (es. TO). Solo con `comune`.
detrazioneNoDetrazione in euro (solo fabbricati; es. 200 per abitazione principale di lusso).
mesi_possessoNoMesi di possesso nell'anno (default 12).
tipo_immobileNoTipo immobile → seleziona la formula (default abitazione_non_principale).
valore_venaleNoAree edificabili: valore venale in comune commercio al 1° gennaio (€). OBBLIGATORIO con `tipo_immobile: area_edificabile`.
aliquota_permilleNoAliquota deliberata dal Comune, in per mille (es. 8.6 per 8,6‰). OBBLIGATORIA se non indichi `comune`; con tutti e due vince questa, e la risposta dice se differisce dal prospetto.
rendita_catastaleNoFabbricati: rendita catastale annua in euro (da visura). OBBLIGATORIA per tutti i tipi diversi da `terreno_agricolo` e `area_edificabile` — cioè anche per il tipo di default `abitazione_non_principale`.
quota_possesso_pctNoQuota di possesso in % (default 100).
reddito_dominicaleNoTerreni agricoli: reddito dominicale da visura (base = ×1,25×135). OBBLIGATORIO con `tipo_immobile: terreno_agricolo`, tranne quando il terreno è esente (vedi i due flag).
categoria_catastaleNoCategoria catastale per i fabbricati (default A). Determina il moltiplicatore.
esente_montano_isolaNoTerreni: in comune montano/collinare o isola minore → esente.
coltivatore_diretto_iapNoTerreni: coltivatore diretto/IAP iscritto alla previdenza agricola → esente.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "if": {
      +      "not": {
      +        "required": [
      +          "comune"
      +        ]
      +      }
      +    },
      +    "then": {
      +      "required": [
      +        "aliquota_permille"
      +      ]
      +    }
      +  }
      +]
    • changedInput schema / properties / aliquota_permille / description
      Previous value: -"Aliquota deliberata dal Comune, in per mille (es. 8.6 per 8,6‰)."New value: +"Aliquota deliberata dal Comune, in per mille (es. 8.6 per 8,6‰). OBBLIGATORIA se non indichi `comune`; con tutti e due vince questa, e la risposta dice se differisce dal prospetto."
    • addedInput schema / properties / anno
      Added value: +{
      +  "description": "Anno d'imposta del verdetto per comune (default l'anno in corso). Solo con `comune`.",
      +  "maximum": 2100,
      +  "minimum": 2025,
      +  "type": "integer"
      +}
    • addedInput schema / properties / comune
      Added value: +{
      +  "description": "Codice catastale (es. B519) o nome del comune. L'aliquota diventa quella del suo prospetto IMU pubblicato dal MEF per l'anno (o, per legge, quella dell'anno precedente o di base).",
      +  "maxLength": 120,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • addedInput schema / properties / ex_comune
      Added value: +{
      +  "description": "Solo comuni fusi con aliquote differenziate: l'ex comune dove sta l'immobile. Se serve e manca, la risposta elenca quelli possibili.",
      +  "maxLength": 120,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • addedInput schema / properties / provincia
      Added value: +{
      +  "description": "Sigla della provincia, per i comuni omonimi (es. TO). Solo con `comune`.",
      +  "maxLength": 2,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "aliquota_permille"
      -]New value: +[]
  2. Changed1 schema field changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "required": [
      -      "rendita_catastale"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "reddito_dominicale"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "valore_venale"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "coltivatore_diretto_iap": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "coltivatore_diretto_iap"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "esente_montano_isola": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "esente_montano_isola"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "rendita_catastale"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "tipo_immobile": {
      +        "const": "terreno_agricolo"
      +      }
      +    },
      +    "required": [
      +      "reddito_dominicale",
      +      "tipo_immobile"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "tipo_immobile": {
      +        "const": "area_edificabile"
      +      }
      +    },
      +    "required": [
      +      "valore_venale",
      +      "tipo_immobile"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "coltivatore_diretto_iap": {
      +        "const": true
      +      },
      +      "tipo_immobile": {
      +        "const": "terreno_agricolo"
      +      }
      +    },
      +    "required": [
      +      "coltivatore_diretto_iap",
      +      "tipo_immobile"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "esente_montano_isola": {
      +        "const": true
      +      },
      +      "tipo_immobile": {
      +        "const": "terreno_agricolo"
      +      }
      +    },
      +    "required": [
      +      "esente_montano_isola",
      +      "tipo_immobile"
      +    ]
      +  }
      +]
  3. Changed4 schema fields changed
    • addedInput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "rendita_catastale"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "reddito_dominicale"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "valore_venale"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "coltivatore_diretto_iap": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "coltivatore_diretto_iap"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "esente_montano_isola": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "esente_montano_isola"
      +    ]
      +  }
      +]
    • changedInput schema / properties / reddito_dominicale / description
      Previous value: -"Terreni agricoli: reddito dominicale da visura (base = ×1,25×135)."New value: +"Terreni agricoli: reddito dominicale da visura (base = ×1,25×135). OBBLIGATORIO con `tipo_immobile: terreno_agricolo`, tranne quando il terreno è esente (vedi i due flag)."
    • changedInput schema / properties / rendita_catastale / description
      Previous value: -"Fabbricati: rendita catastale annua in euro (da visura)."New value: +"Fabbricati: rendita catastale annua in euro (da visura). OBBLIGATORIA per tutti i tipi diversi da `terreno_agricolo` e `area_edificabile` — cioè anche per il tipo di default `abitazione_non_principale`."
    • changedInput schema / properties / valore_venale / description
      Previous value: -"Aree edificabili: valore venale in comune commercio al 1° gennaio (€)."New value: +"Aree edificabili: valore venale in comune commercio al 1° gennaio (€). OBBLIGATORIO con `tipo_immobile: area_edificabile`."
  4. First observed

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 and non-destructive, so safety is covered. The description adds genuine behavioral context beyond that: no login required, free, deterministic, and the exact degraded response shape (`calcolato: false` with explanation and no amount) when the MEF table is unavailable or the Comune is exempt.

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?

Substantial but front-loaded and information-dense: the three property categories come first, then the rate-resolution rule, then failure modes and the free/deterministic note. Every sentence earns its place, though the parenthetical legal citations add length that an agent does not strictly need.

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?

For a 15-parameter tool with no output schema and non-trivial tax branching, the description covers the intent, the mutually exclusive input paths, and the error contract. It stops short of describing the successful return payload (only `aliquota_comune` and `calcolato` are named), which is the one remaining gap.

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% so the parameter docs carry most meaning, setting a baseline of 3. The description goes a step beyond by stating the cross-parameter relationship (aliquota_permille wins over common and the response flags divergence) and by naming the returned `aliquota_comune` field with its legal-status variants.

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 ('Calcola l'IMU italiana (L.160/2019)') and immediately enumerates the three supported property bases (fabbricati, terreni agricoli, aree edificabili) with their respective input sources. An agent can distinguish it from every calc_* sibling 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?

The description resolves the key input decision explicitly: either pass `aliquota_permille` OR pass `comune` and let the server pull the MEF rate, with the precedence rule stated. It also names the failure conditions (prospetto not yet read, Comuni without IMU such as Trento, Bolzano, FVG). No sibling alternative exists, so nothing more is owed.

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