Skip to main content
Glama

retraite_optimisation

Optimisation de fin de carrière (menu classé des leviers) — À partir d'une situation (âge, trimestres, SAM, statut, enfants…), renvoie le MENU CLASSÉ des leviers d'optimisation retraite avec gain/ROI/confiance/sources : rachat de trimestres (2 options), surcote parentale, retraite progressive, âge de départ optimal, cumul emploi-retraite, optimisation du SAM, PER fin de carrière. PAS de total sommé (les leviers ne s'additionnent pas naïvement) — chaque levier chiffré séparément, classé par pertinence. Chaque montant porte sa confiance et sa source (Legifrance/BOFiP/service-public). (sources: CSS art. L351-14-1 (rachat), L351-1-2-1 (surcote parentale), L161-22-1-5 (retraite progressive), L161-22 (cumul) ; Circulaire CNAV 2026-04 (barème VPLR) ; Service-Public F15675/F16336/F12842/F13243 ; retraite_engine.js (leviers golden-testés, exemples officiels))

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageYesÂge actuel (ans).
rfrNoRFR — active le net (prélèvements sociaux).
samNoSalaire annuel moyen (25 meilleures années) — active les gains chiffrés.
tmiNoTMI en FRACTION 0-1 (ex. 0,30 pour 30 %) — chiffre l'économie d'IR du rachat / PER. ⚠️ l'outil "tmi" RENVOIE un pourcentage (30) ; ici on attend la fraction (0,30).
partsNo
statutNoStatut (insensible à la casse/accents). Reconnus : "salarié" (défaut), "fonctionnaire", "profession libérale" / "TNS" / "indépendant".
age_legalNoÂge légal de départ (défaut 64).
nb_enfantsNoNombre d'enfants — active surcote parentale (MDA) + majoration ≥3.
mda_parentaleNo≥1 trimestre de majoration de durée d'assurance pour enfant.
date_naissanceNoDate de naissance (YYYY-MM-DD) — recale le gel LFSS 2026 et la fenêtre surcote parentale.
trim_manquantsNoTrimestres manquants pour le taux plein — active le levier rachat.
quotite_travailNoRetraite progressive : quotité de temps partiel (0-1).
salaires_annuelsNoOptionnel : carrière année par année pour l'optimisation du SAM.
trimestres_acquisNo
trimestres_requisNo
pension_brute_annuelleNoPension de base brute annuelle — active les gains nets.
pension_complementaire_annuelleNo

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It does so by disclosing the key non-obvious behavior: levers are not summed naively, each amount has an associated confidence and legal source, and the output is separately quantified and ranked. It does not discuss side effects, but as an optimization computation the 'renvoie' framing makes read-only intent clear.

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 and output are front-loaded; the non-summation caveat appears early; legal sources are packed at the end. It is dense and somewhat repetitive ('menu classé' appears twice), but for a 17-parameter tool the length is justified.

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 complex tool with no output schema, it explains what is returned (menu, levers, gain/ROI/confidence/sources), what is not returned (no summed total), and what legal basis supports the amounts. It could be more explicit about how optional parameters activate or disable levers and about the exact return structure, but overall it gives enough context.

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 76%, so the schema already documents most parameters. The description adds domain-level grouping (âge, trimestres, SAM, statut, enfants…) and maps levers to parameter areas, but it does not compensate for the few undocumented parameters or add parameter-specific syntax beyond what the schema provides.

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?

The description states a specific deliverable: a ranked menu of retirement optimization levers, each with gain/ROI/confidence/source. It names the levers and the input situation, and its 'menu classé' framing clearly separates it from single-lever siblings like retraite_rachat or retraite_progressive.

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?

It gives clear context: use when you have a career-end situation and want a ranked set of optimization levers, not a single simulation. It does not explicitly name sibling tools as alternatives or state when-not-to-use, so it stops short of full routing 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.

TDQS

A3.7/5.0
Disambiguation4/5

The tool families are clearly separated by domain prefixes (fiscal, retraite, referentiel), and the descriptions proactively distinguish near-neighbors such as fiscal_tmi vs fiscal_prelevements_sociaux and retraite_estimation vs retraite_pension_totale. Some initial confusion is possible between retraite_pension_regime and retraite_regimes, but the descriptions are detailed enough to resolve it.

Naming Consistency4/5

Most tools follow a predictable snake_case domain_object pattern: fiscal_*, retraite_*, referentiel_*. The clear outlier is qotien_capacites, which uses a misspelled, non-domain prefix and breaks the otherwise consistent naming scheme.

Tool Count3/5

With 18 tools, the server is heavier than the typical 3-15 sweet spot, though it is organized into recognizable fiscal, retirement, and referential clusters. The count is defensible for a two-domain server, but it begins to feel like a large MCP surface that agents must navigate carefully.

Completeness4/5

The server covers the main French income-tax and retirement calculation needs: income tax, marginal rate, social levies, CEHR, property capital-gains surtax, pension estimation, multi-regime totals, net pension, buybacks, progressive retirement, and parental surcharge. Minor gaps exist—such as no explicit long-career early-retirement tool and pensions_fournies being referenced rather than exposed as a first-class tool—but agents can work around them.

Resources