Skip to main content
Glama

retraite_estimation

Read-onlyIdempotent

Estimation de pension (données partielles) — Pension approchée à partir du statut, du revenu, de l'âge et de l'âge de départ : carrière reconstituée, SAM plafonné au PASS, décote. Rend un point central, une fourchette et un niveau de confiance. Ce N'est PAS un calcul certain — il remplace un relevé de carrière (RIS) manquant, pas l'inverse. Si le relevé de carrière ou de caisse est connu, préférer le calcul exact : régime en points → retraite_pension_regime ; fonction publique, régimes spéciaux, IEG → retraite_pension_annuites ; plusieurs régimes → retraite_pension_totale. (sources: CNAV — taux plein 50 %, SAM 25 meilleures années plafonné au PASS ; Agirc-Arrco — barème de points 2026 ; PASS 2026 = 48 060 € ; Fonction publique — 75 % du traitement indiciaire)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageYesÂge actuel (ans).
statutYesStatut (insensible à la casse et aux accents). Valeurs reconnues : "salarié cadre", "salarié non-cadre" (ou "salarié" seul = non-cadre), "fonctionnaire", "profession libérale" / "TNS" / "indépendant" (= libéral).
age_departNoÂge de départ souhaité (défaut 64).
trimestres_acquisNoTrimestres déjà acquis (RIS) — resserre la fourchette si fourni.
annee_debut_carriereNoAnnée de début de carrière — resserre la fourchette si fournie.
revenu_net_imposableYesRevenu net imposable annuel actuel (€).
traitement_indiciaireNoFonctionnaire uniquement : dernier traitement indiciaire brut annuel, hors primes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint=true and idempotentHint=true; the description adds the crucial approximation nature, the output shape (point central, fourchette, niveau de confiance), and that it substitutes for a missing RIS rather than the reverse. No contradiction with annotations. A small gap: it doesn't state whether results vary across calls or detail the confidence computation, but the safety profile is covered by annotations.

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 core purpose is front-loaded before the caveat and routing. It is somewhat long, but every clause earns its place: purpose, the critical 'not certain' caveat, sibling routing, and source citations. No filler or repetition of schema content.

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 7-parameter, 3-required estimation tool with no output schema, the description covers the method, the return value shape, the substitution caveat, and the sibling alternatives. It explains why a fourchette/confidence level is returned rather than an exact value. Minor omissions (precise confidence definition, traitement_indiciaire handling for fonctionnaires) are partially covered by schema, so the package is adequate.

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%, so the schema already documents all 7 parameters, their defaults, minimums, and the accepted statut values. The description adds some semantic color (SAM plafonné au PASS, décote, and how trimestres_acquis/annee_debut_carriere tighten the range) but that mostly restates what the schema param descriptions already convey. Baseline 3 is appropriate since the schema carries the load.

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 ('estimation'), resource (pension), and the exact inputs (statut, revenu, âge, âge de départ) with the method (SAM plafonné au PASS, décote). Explicitly distinguishes itself from the exact-calc siblings by declaring it is 'PAS un calcul certain' and naming the alternatives, so an agent can tell it apart without opening schemas.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (relevé de carrière RIS manquant) and when-not-to (relevé connu → prefer exact), then maps each condition to a named sibling: régime en points → retraite_pension_regime, fonction publique/IEG → retraite_pension_annuites, multi-régimes → retraite_pension_totale. Nothing is left 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.