Skip to main content
Glama

Calcul de l'IFI

simulate_ifi
Read-onlyIdempotent

Calcule l'IFI (CGI art. 964 à 979) : assiette, barème, décote et plafonnement. Entrées : actifs immobiliers et leur quote-part, passifs, revenu fiscal de référence, impôt sur le revenu estimé, âge. Sortie : IFI dû. Entre 1 300 000 et 1 400 000 euros de patrimoine net taxable, la décote de l'art. 977 (17 500 euros moins 1,25 % du patrimoine) est une ligne séparée, ligneDecote. La quote-part immobilière d'une SCPI est l'entrée quotePartImmo. Le plafonnement utilise le revenu fiscal de référence fourni. Rendu des écarts : une différence entre deux montants est un écart, à présenter comme tel, sans pourcentage calculé et sans désigner d'option à retenir.

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": {
      "actifs": "<actifs>",
      "passifs": "<passifs>",
      "revenusFiscauxReference": "<revenusFiscauxReference>",
      "irEstime": "<irEstime>"
    },
    "name": "simulate_ifi"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNo
actifsYes
passifsYes
irEstimeYes
revenusFiscauxReferenceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish a pure, idempotent, closed-world read computation, so the bar is lower; the description still adds real behavioral content — that the décote appears as a dedicated output line 'ligneDecote', that plafonnement consumes the supplied revenu fiscal de référence rather than recomputing it, and that differences must be reported as 'écarts' without computing percentages. What it does not disclose is the rest of the response shape, which matters since there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded and information-dense, but the remainder is a run-on sequence of domain caveats (décote band, SCPI quote-part, plafonnement input, écart presentation) with no structure or ordering logic. Every clause is relevant, yet the paragraph reads as accumulated notes rather than a deliberately organized definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, nested-input tax computation with no output schema, the description should sketch the returned structure; it only states 'Sortie : IFI dû' plus one named field ('ligneDecote'). The fiscal mechanics are well covered, but an agent cannot predict the full result payload (assiette breakdown, barème detail) before calling.

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 0%, so the description must carry the burden and it only partly does: it names all five inputs conceptually and explicitly maps SCPI real-estate share to 'quotePartImmo'. It says nothing about the 'type' enum values (rp, locatif, sci_is, sci_ir, scpi, autre_immo), the meaning of 'deductible' on passifs, or how 'age' affects the computation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb and resource ('Calcule l'IFI (CGI art. 964 à 979) : assiette, barème, décote et plafonnement') and enumerates the inputs and the single output, so an agent knows exactly what computation this performs. It does not, however, contrast itself with any of the many sibling simulation tools, leaving that disambiguation to the unique 'IFI' domain term in the name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: the legal article range and the 1.3M–1.4M decote band signal the applicable situation, but there is no explicit when-to-use statement, no prerequisites, and no named alternative for related estate/wealth simulations. The final sentence about presenting 'écarts' is output handling guidance, not invocation guidance.

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.