Skip to main content
Glama

Imperio — Italian Tax & Compliance Tools

Regime Forfettario calculator

calc_forfettario
Read-onlyIdempotent

Computes the substitute tax and INPS contributions of the Italian regime forfettario (flat-rate scheme) from turnover. With ateco or coefficiente: the exact calculation, with deadlines and advance payments. With ricavi only: a TABLE with the calculation for each statutory profitability coefficient (modalita: 'tabella_per_coefficiente', field scenari), because the coefficient depends on the activity and has no default. Field soglia_ricavi states whether the regime applies (fascia: entro_limite = within €85,000; uscita_anno_successivo = above €85,000 up to €100,000, valid this year, exit next year; uscita_immediata = above €100,000, the regime ceases this year and calcolo_valido_anno_corrente is false: the amounts do not apply).

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": {
      "ricavi": "<ricavi>"
    },
    "name": "calc_forfettario"
  }
}

Input Schema

NameRequiredDescriptionDefault
atecoNoATECO code from which the profitability coefficient is derived. ALTERNATIVE to `coefficiente`. With neither, the response is the per-coefficient table, not the exact calculation.
ricaviYesAnnual revenue/fees in euro.
startupNoReduced 5% rate for new businesses: applies to the starting year and the following four (default false → 15%). It does not change the advance payments: none are due in the first year of activity, and the response notes say so.
codice_atecoNoAlias of `ateco` (ATECO activity code): the same value, accepted because other tools of this server use this name. If you send both names, the values must match.
coefficienteNoProfitability coefficient in % (manual override). ALTERNATIVE to `ateco`. With neither, the response is the per-coefficient table.
riduzione_35No35% INPS contribution reduction (artisans/traders).
gestione_inpsNoINPS pension scheme or professional fund (optional).
contributi_cassa_privataNoPrivate professional fund contributions already paid, in euro (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / codice_ateco / description
      Previous value: -"Alias di `ateco` (codice ATECO): stesso dato, accettato perché altri tool di questo server lo chiamano così. Se mandi entrambi i nomi, i valori devono coincidere."New value: +"Alias of `ateco` (ATECO activity code): the same value, accepted because other tools of this server use this name. If you send both names, the values must match."
  2. Changed7 schema fields changed
    • changedInput schema / properties / ateco / description
      Previous value: -"Codice ATECO da cui derivare il coefficiente di redditività. ALTERNATIVO a `coefficiente`. Senza nessuno dei due la risposta è la tabella per coefficiente, non il calcolo puntuale."New value: +"ATECO code from which the profitability coefficient is derived. ALTERNATIVE to `coefficiente`. With neither, the response is the per-coefficient table, not the exact calculation."
    • changedInput schema / properties / coefficiente / description
      Previous value: -"Coefficiente di redditività in % (override manuale). ALTERNATIVO ad `ateco`. Senza nessuno dei due la risposta è la tabella per coefficiente."New value: +"Profitability coefficient in % (manual override). ALTERNATIVE to `ateco`. With neither, the response is the per-coefficient table."
    • changedInput schema / properties / contributi_cassa_privata / description
      Previous value: -"Contributi cassa privata già versati, in euro (opzionale)."New value: +"Private professional fund contributions already paid, in euro (optional)."
    • changedInput schema / properties / gestione_inps / description
      Previous value: -"Gestione previdenziale INPS/cassa (opzionale)."New value: +"INPS pension scheme or professional fund (optional)."
    • changedInput schema / properties / ricavi / description
      Previous value: -"Ricavi/compensi annui in euro."New value: +"Annual revenue/fees in euro."
    • changedInput schema / properties / riduzione_35 / description
      Previous value: -"Riduzione contributiva INPS del 35% (artigiani/commercianti)."New value: +"35% INPS contribution reduction (artisans/traders)."
    • changedInput schema / properties / startup / description
      Previous value: -"Aliquota agevolata 5% per le nuove attività: vale per l'anno di inizio e per i quattro successivi (default false → 15%). Non cambia gli acconti: nel primo anno di attività non sono dovuti, e le note della risposta lo dicono."New value: +"Reduced 5% rate for new businesses: applies to the starting year and the following four (default false → 15%). It does not change the advance payments: none are due in the first year of activity, and the response notes say so."
  3. Changed1 schema field changed
    • addedInput schema / properties / codice_ateco
      Added value: +{
      +  "description": "Alias di `ateco` (codice ATECO): stesso dato, accettato perché altri tool di questo server lo chiamano così. Se mandi entrambi i nomi, i valori devono coincidere.",
      +  "maxLength": 12,
      +  "pattern": "^[0-9.]{1,12}$",
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "required": [
      -      "ateco"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "coefficiente"
      -    ]
      -  }
      -]
    • changedInput schema / properties / ateco / description
      Previous value: -"Codice ATECO da cui derivare il coefficiente di redditività. ALTERNATIVO a `coefficiente`: uno dei due è obbligatorio (senza, il calcolo non ha coefficiente e il tool risponde «Fornire 'ateco' oppure 'coefficiente'»)."New value: +"Codice ATECO da cui derivare il coefficiente di redditività. ALTERNATIVO a `coefficiente`. Senza nessuno dei due la risposta è la tabella per coefficiente, non il calcolo puntuale."
    • changedInput schema / properties / coefficiente / description
      Previous value: -"Coefficiente di redditività in % (override manuale). ALTERNATIVO ad `ateco`: uno dei due è obbligatorio."New value: +"Coefficiente di redditività in % (override manuale). ALTERNATIVO ad `ateco`. Senza nessuno dei due la risposta è la tabella per coefficiente."
  5. Changed1 schema field changed
    • changedInput schema / properties / startup / description
      Previous value: -"Aliquota startup 5% per i primi 5 anni (default false → 15%)."New value: +"Aliquota agevolata 5% per le nuove attività: vale per l'anno di inizio e per i quattro successivi (default false → 15%). Non cambia gli acconti: nel primo anno di attività non sono dovuti, e le note della risposta lo dicono."
  6. Changed3 schema fields changed
    • addedInput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "ateco"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "coefficiente"
      +    ]
      +  }
      +]
    • changedInput schema / properties / ateco / description
      Previous value: -"Codice ATECO per derivare il coefficiente di redditività (opzionale)."New value: +"Codice ATECO da cui derivare il coefficiente di redditività. ALTERNATIVO a `coefficiente`: uno dei due è obbligatorio (senza, il calcolo non ha coefficiente e il tool risponde «Fornire 'ateco' oppure 'coefficiente'»)."
    • changedInput schema / properties / coefficiente / description
      Previous value: -"Coefficiente di redditività in % (override manuale, opzionale)."New value: +"Coefficiente di redditività in % (override manuale). ALTERNATIVO ad `ateco`: uno dei due è obbligatorio."
  7. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds real behavioral context instead: deadlines and advance payments are computed, the return contains `scenari` in table mode, and `calcolo_valido_anno_corrente: false` signals amounts that must not be used. It does not cover rounding or rate application details, so 4 rather than 5.

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 purpose, then proceeds mode-by-mode with tight parentheticals; nearly every clause carries information (euro thresholds, exit semantics, validity flag). It is dense rather than wasteful, though the third sentence is long and could be split for scanability.

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 and 8 parameters, the description carries the interpretive burden and does it: it explains the two response shapes (`scenari` table vs exact calc), the `soglia_ricavi`/`fascia` classification with all three enum values, and the warning flag that invalidates the amounts. An agent can call this correctly and interpret the result without further documentation.

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 description coverage is 100%, so baseline would be 3, but the description adds cross-parameter semantics the schema states only in fragments: the mutual exclusivity of `ateco`/`coefficiente` and the consequence (table, not exact calc) when neither is sent. It also glosses the meaning of each `fascia` value in `soglia_ricavi`, which no schema field explains.

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 substitute tax and INPS contributions of the Italian regime forfettario') and immediately disambiguates the two operating modes: exact calculation with `ateco`/`coefficiente` versus a per-coefficient table with `ricavi` only. An agent can tell what it gets and how it differs from the other calc_* siblings 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 conditional routing: supply `ateco` or `coefficiente` for the exact calculation, supply `ricavi` alone and you get the table because the coefficient has no default. It stops short of naming an alternative tool or an explicit when-not-to-use case (e.g. other regimes), so it is not a full 5.

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