Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

Compound interest and French savings tax (livret A, PEA, assurance-vie)

savings_fr_calculate
Read-onlyIdempotent

Compound interest of savings at a constant annual rate, then French taxes (2026 rules). Payments on the 1st of each month: initial_amount (euros) in month 1, monthly_contribution (euros) every month from month 1; years: whole years (1-60). annual_rate_pct: gross yearly rate in % (3 decimals at most; optional for a regulated livret: the rate in force is used). compounding: 'annual' (rate/12 a month, simple within the year, capitalised yearly; default), 'monthly', or 'fortnightly' (livret rule R221-4: from the 16th after a payment on the 1st, rate/24 per fortnight, capitalised on 31 December; forced for regulated livrets). envelope: 'none' (gross), 'livret_a' / 'ldds' / 'lep' / 'livret_jeune' (tax-free, deposits within the ceiling), 'livret_bancaire' (12.8 % + 18.6 % withheld from each interest payment), 'cto' (compte-titres, gain taxed 31.4 % at the sale), 'pea' (payments within 150 000 €; from 5 years only 18.6 % social levies), 'assurance_vie_euros' (17.2 % levies every year) or 'assurance_vie_uc' (17.2 % at the end); assurance-vie: total surrender at the end, 12.8 % before 8 years, from 8 years abatement 4 600 € (9 200 € if couple=true) then 7.5 % up to 150 000 € of premiums and 12.8 % above. inflation_pct: optional, gives the net value in today's euros. Returns payments, gross interest, taxes, net value and a yearly table. Not covered: barème option, fees, variable rates, premiums before 27/09/2017, several contracts, partial surrenders.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "savings_fr_calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNo
coupleNo
envelopeNonone
compoundingNoannual
inflation_pctNo
initial_amountNo
annual_rate_pctNo
monthly_contributionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses calculation conventions (rate/12 monthly with yearly capitalisation, livret R221-4 fortnightly rule from the 16th, capitalisation on 31 December, forced compounding for regulated livrets), per-envelope withholding mechanics and timing, the assurance-vie abatement thresholds, and what the result contains (payments, gross interest, taxes, net value, yearly table). For a pure computation tool this is unusually complete behavioral disclosure.

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?

Content is front-loaded (purpose, then parameters, then returns, then exclusions) and essentially every clause carries parameter or tax-rule information rather than filler. The main cost is presentation: it is one dense semicolon-chained block, so the envelope definitions in particular are hard to scan despite being individually necessary.

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

Completeness5/5

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

With eight parameters, nine envelope modes, an output schema present, and safety annotations supplied, the description covers everything an agent needs: input conventions, tax treatment per envelope, output contents, and explicit exclusions. Nothing material is left to inference for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so for all eight parameters: years is bounded (1-60), annual_rate_pct notes 3-decimal precision and optionality for regulated livrets, compounding and envelope enums are each given their semantics, inflation_pct is defined as net value in today's euros, and couple is tied to the 9 200 € abatement. It adds meaning far beyond the bare schema types.

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 opens with a specific verb+resource: compound interest on savings at a constant annual rate, then French taxes under 2026 rules. It immediately scopes itself against the sibling calculators by naming the envelopes handled (livret A, LDDS, LEP, CTO, PEA, assurance-vie), so an agent can tell this apart from income_tax_fr_calculate or per_fr_calculate without opening a schema.

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?

The 'Not covered' sentence (barème option, fees, variable rates, pre-2017 premiums, multiple contracts, partial surrenders) gives real when-not-to-use guidance, and the envelope list tells the agent which product scenarios are in scope. What is missing is explicit routing to a named alternative — notably savings_fr_parameters for the regulated rates — so the agent must infer that a rate lookup belongs elsewhere.

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.