Skip to main content
Glama

Calculer un apport-cession

simulate_apport_cession
Read-onlyIdempotent

Compare quatre scénarios d'apport-cession (CGI art. 150-0 B ter) : cession directe, réinvestissement au minimum légal, réinvestissement total, transmission par donation des titres. Entrées : valeur, prix de revient, taux de réinvestissement, horizon, rendement. Sortie : impôt reporté, coût de chaque scénario et valeur temps du report. 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": {
      "valeurCession": "<valeurCession>",
      "prixRevient": "<prixRevient>"
    },
    "name": "simulate_apport_cession"
  }
}

Input Schema

NameRequiredDescriptionDefault
horizonAnsNoHorizon de placement en années (défaut 10)
prixRevientYesPrix de revient (coût d'acquisition)
valeurCessionYesValeur de cession des titres
rendementAnnuelNoRendement annuel net de la trésorerie en report (défaut 0.05)
tauxReinvestissementNoTaux réinvestissement (min 0.60, défaut 0.60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a safe read-only, idempotent, non-destructive calculation. The description adds genuinely non-obvious behavior: the results are indicative (validated against Marcel reference cases), and it prescribes output discipline – show gaps as absolute differences, do not compute percentages, do not recommend an option. That is useful context beyond the 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?

Three dense sentences: purpose and scenarios first, then inputs, then outputs and presentation rules. Each sentence is functional, though the input enumeration partially restates schema fields already documented.

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?

For a five-parameter simulation with no output schema, the description covers what is compared, what inputs mean at a high level, what the result contains (deferred tax, cost per scenario, time value of deferral), and how to render the output. Nothing an agent needs to call it correctly is missing.

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 one of the five parameters carries its own description with defaults and bounds, so the schema does the heavy lifting. The description's input list (valeur, prix de revient, taux de réinvestissement, horizon, rendement) mirrors the schema without adding units, ranges, or interpretation.

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?

Uses a concrete verb (compare) with a specific tax resource (apport-cession, CGI art. 150-0 B ter) and enumerates the four scenarios compared, so the agent knows exactly what the tool produces. It does not explicitly differentiate itself from the closest sibling, simulate_cession_titres_vs_actifs, so it stops short of a 5.

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?

The legal reference and the four scenario variants imply when the tool applies, and the closing sentence constrains how to present results. However, there is no explicit when-to-use / when-not guidance and no pointer to the alternative cession simulation tools, leaving selection 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.