Skip to main content
Glama

Calculer la déduction d'un versement PER

simulate_per
Read-onlyIdempotent

Calcule le disponible fiscal d'un versement PER (CGI art. 163 quatervicies), la part déductible, l'effet sur l'impôt sur le revenu et l'imposition de la part déduite à la sortie. Entrées : revenus professionnels, versement, tranche d'entrée, hypothèse de sortie. Sortie : disponible, part déductible, effet à l'entrée et à la sortie. La capitalisation n'est pas projetée. Calcul couvert par des cas de référence Marcel : résultat indicatif. 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": {
      "versement": "<versement>",
      "revenusProN1": "<revenusProN1>",
      "tmiEntree": "<tmiEntree>"
    },
    "name": "simulate_per"
  }
}

Input Schema

NameRequiredDescriptionDefault
tmiEntreeYesTMI actuelle en décimal (ex: 0.30)
versementYesMontant versé sur le PER
revenusProN1YesRevenus professionnels N-1
tmiSortieSaisieNoTMI estimée à la retraite (prioritaire)
pensionEstimeeAnnuelleNoPension annuelle pour estimation de la TMI de sortie

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is settled. The description adds real behavioral context: results are covered by 'cas de référence Marcel' and are explicitly indicative, and capitalisation is not projected. The closing rule on how to render 'écarts' (no percentages, no option recommendation) is a presentation constraint rather than tool behavior, so it adds less than it appears to.

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?

The purpose is front-loaded in the first sentence, followed by compact input/output lists that are justified because there is no output schema. Minor waste comes from the input list restating fields the schema already documents, and the final sentence on gap rendering is long relative to its value.

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?

With no output schema, the description carries the burden of describing returns and does so by naming the four outputs (disponible, part déductible, effet à l'entrée, effet à la sortie). It also discloses the indicative-result caveat and the non-projection of capitalisation. What it lacks is any indication of return shape or the relationship between the two exit-hypothesis parameters.

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%, and every parameter carries its own description including the 'prioritaire' note on tmiSortieSaisie, so the baseline of 3 applies. The description groups the inputs as 'revenus professionnels, versement, tranche d'entrée, hypothèse de sortie', which loosely maps to the five fields but adds no formats, units, or interaction rules beyond the schema.

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 names a specific computation chain: the available PER deduction ceiling (CGI art. 163 quatervicies), the deductible share, the income-tax effect at entry, and the taxation of the deducted share at exit. It is far more than a restatement of the name. It stops short of explicitly differentiating itself from siblings like simulate_per_sortie or simulate_remuneration_per, which an agent must infer.

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?

Scope is implied through the input/output enumeration and the exclusion 'La capitalisation n'est pas projetée', which tells the agent what this tool will not answer. However, there is no explicit when-to-use guidance and no named alternative for the exit-side or remuneration questions that sibling tools appear to cover. The agent must infer routing from scope alone.

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.