Skip to main content
Glama

MaCalculatriceEnLigne

Calculate Retirement Pension

calculate_retirement_pension
Read-onlyIdempotent

Estimate French basic retirement pension (retraite de base Assurance Vieillesse). Returns: {average_salary_best25, annual_pension, max_monthly_pension, prorata_pct}. See list_bundles for related 'finance-france' calculators.

Input Schema

NameRequiredDescriptionDefault
target_yearsNoTarget quarters for full pension (default 172 = 43 years)
years_contributedYesTotal years of contribution
average_salary_best25YesAverage annual salary of best 25 years in euros

Output Schema

NameRequiredDescriptionDefault
resultNoComputed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools).
sourceNoAuthoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21").
formulaNoHuman-readable formula or method used (e.g. "I=P·r·t", "Magnus formula").
reference_urlNoLink to a calcul2 page documenting the calculation in detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare this as a safe, read-only, idempotent, closed-world calculation, so the description does not need to repeat safety traits. It adds domain context by identifying the French Assurance Vieillesse scheme and naming return fields, but it does not disclose calculation assumptions, limitations, or interpretation caveats.

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

Conciseness5/5

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

The description is front-loaded with the core purpose, followed by return keys and a related-bundle pointer. It uses two tight sentences with no filler and every element serves a routing or interpretation purpose.

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?

Given full schema coverage, rich annotations, an output schema, and a simple three-parameter calculation, the description is largely complete for correct invocation. Its main gap is routing clarity among the numerous pension and retirement siblings, which is partially mitigated by the specific French basic pension wording.

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 all three parameters are documented in the input schema, including units for average_salary_best25 and target quarters for target_years. The description itself adds no parameter-level detail beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 verb and resource: estimating the French basic retirement pension (retraite de base Assurance Vieillesse). It distinguishes itself from non-French pension siblings through the explicit French scheme reference, and it lists the return fields, which further clarifies what the calculation produces.

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 implied by the specific French basic pension scope, but the description does not explicitly say when to use this versus siblings such as calculate_belgian_pension, calculate_retirement_savings_gap, or calculate_retirement_date. The pointer to list_bundles is ancillary rather than direct 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.