Skip to main content
Glama

Comparer trois modes de transmission

compare_transmission
Read-onlyIdempotent

Porte sur le cas où les trois modes à comparer sont déjà fixés par l'utilisateur : donation en pleine propriété, donation de la nue-propriété et succession, pour un même patrimoine. Pour une seule donation, voir simulate_donation ; pour un démembrement seul, simulate_demembrement ; pour une donation-partage, simulate_donation_partage ; pour des scénarios de donation ou de démembrement non fixés à l'avance, optimiser_patrimoine. Entrées : valeur, âge, héritiers, donateurs (1 ou 2). Avec 2, chaque parent transmet la moitié avec ses abattements et son âge. Les parts sont en pleine propriété ; en nue-propriété, la part taxée suit le barème de l'article 669. Sortie : droits de chaque mode, écarts et détail par donateur. 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": {
      "valeurPatrimoine": "<valeurPatrimoine>",
      "ageDonateur": "<ageDonateur>",
      "heritiers": "<heritiers>"
    },
    "name": "compare_transmission"
  }
}

Input Schema

NameRequiredDescriptionDefault
donateursNoNombre de donateurs. Absent : 1. Avec 2, chaque parent transmet la moitié.
heritiersYes
ageDonateurYes
valeurPatrimoineYes
ageDonateurConjointNoÂge du second donateur. Absent avec deux donateurs : le même âge, signalé.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / heritiers / items / properties / partRecue / description
      Previous value: -"Part de la valeur en pleine propriété, tous donateurs confondus. 0 : répartition égale."New value: +"Part en euros de la valeur en pleine propriété, tous donateurs confondus. Somme égale à la valeur. Absente ou 0 pour tous : répartition égale."
    • addedInput schema / properties / heritiers / items / properties / quotePart
      Added value: +{
      +  "description": "Part en fraction de la valeur, entre 0 et 1. À saisir pour chacun, somme égale à 1. Ne pas combiner avec partRecue.",
      +  "type": "number"
      +}
    • changedInput schema / properties / heritiers / items / required
      Previous value: -[
      -  "id",
      -  "lienParente",
      -  "partRecue"
      -]New value: +[
      +  "id",
      +  "lienParente"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / ageDonateurConjoint
      Added value: +{
      +  "description": "Âge du second donateur. Absent avec deux donateurs : le même âge, signalé.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / donateurs
      Added value: +{
      +  "description": "Nombre de donateurs. Absent : 1. Avec 2, chaque parent transmet la moitié.",
      +  "enum": [
      +    1,
      +    2
      +  ],
      +  "type": "number"
      +}
    • addedInput schema / properties / heritiers / items / properties / partRecue / description
      Added value: +"Part de la valeur en pleine propriété, tous donateurs confondus. 0 : répartition égale."
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description goes further by flagging that results are indicative ("Calcul couvert par des cas de référence Marcel : résultat indicatif") and by imposing an output-presentation rule (show écarts as differences, no computed percentage, do not designate a winning option) – real behavioral context not in the annotations. Not a 5 because nothing is said about limits or edge behavior beyond the 2-donateur case.

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?

Front-loaded with the scope statement, then the sibling routing, then inputs, then output. Dense but every block earns its place; the only friction is that the routing list of four alternatives sits before the input/output explanation, adding some sentence weight for a fairly simple tool.

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?

No output schema exists, and the description compensates by naming the return content (droits de chaque mode, écarts, détail par donateur) plus the rendering constraint on écarts. Combined with the input explanation and the indicatif caveat, an agent can call and interpret it correctly; only the fiscal assumptions behind the article 669 treatment remain implicit.

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

Parameters4/5

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

Schema coverage is only 40%, so the description must add meaning, and it does: it explains that with two donateurs each parent transmits half with their own abattements and age, that parts are in pleine propriété, and that in nue-propriété the taxed part follows the article 669 barème. The heritiers/quotePart/partRecue details are left to the schema, but the interpretive content on donation splitting and the 669 rule is substantive.

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?

Names a specific verb (comparer) and the exact three fixed modes compared (donation en pleine propriété, donation de nue-propriété, succession) for a single patrimoine. The opening clause "Porte sur le cas où les trois modes à comparer sont déjà fixés par l'utilisateur" separates it cleanly from the simulate_* siblings without needing their 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?

Explicitly routes the agent: simulate_donation for a single donation, simulate_demembrement for démembrement alone, simulate_donation_partage for a donation-partage, and optimiser_patrimoine when the scenarios are not fixed in advance. It also states the pre-condition for using this tool (the three modes are already fixed), which is exactly the when-to-use information an agent needs.

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.