Skip to main content
Glama

Calculer la valeur nette rapatriable d'une holding

simulate_sortie_holding
Read-onlyIdempotent

Calcule la valeur nette rapatriable d'une holding à l'IS vers son associé personne physique, en une fois ou sur N années civiles à montants égaux : IS sur les plus-values latentes (un seul passage, taux réduit si la société y est éligible), remboursement sans impôt du compte courant et des apports, boni de liquidation ou dividendes au prélèvement forfaitaire, contribution exceptionnelle sur les hauts revenus par année civile (CGI art. 223 sexies) et contribution différentielle (CGI art. 224) quand le revenu imposable hors dividendes et les parts sont fournis. Contrat de capitalisation selon l'art. 238 septies E. Entrées : actifs (type, valeur, prix de revient fiscal, composition des OPC), dettes, compte courant, apports remboursables, éligibilité au taux réduit, foyer, nombre d'années. Éligibilité au taux réduit et composition des OPC : requises, jamais supposées. Sortie : deux scénarios dans un ordre fixe (une fois, N années), écart signé, option pour le barème si elle est chiffrable. Droit de partage, ordre des primes d'émission et titres de participation : non chiffrés. Calcul non couvert par les jeux 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

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": "simulate_sortie_holding"
  }
}

Input Schema

NameRequiredDescriptionDefault
foyerNoRequis : absent, la question est posée.
actifsNoRequis : absent, la question est posée.
dettesNoRequis : absent, la question est posée. 0 s'il n'y en a pas.
rythmeNoRequis : absent, la question est posée.
eligibleTauxReduitNoRequis : absent, la question est posée. Taux réduit d'IS (CGI art. 219, I-b) : jamais déduit du chiffre d'affaires ni du capital.
apportsRemboursablesNoRequis : absent, la question est posée. Capital et primes représentant des apports réels, hors réserves incorporées au capital.
compteCourantAssocieNoRequis : absent, la question est posée. 0 s'il n'y en a pas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds meaningful behavior of its own: missing inputs become questions instead of assumptions, certain components are deliberately left unquantified, the result is flagged indicative, and the output ordering (one-shot then N years, signed gap) is fixed. The final instruction on how to render gaps is a presentational rule rather than tool behavior, which dilutes the value somewhat.

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

Conciseness3/5

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

The computation is front-loaded, but the body is a single dense block mixing tax mechanics, an input inventory already covered by the schema, exclusions, a caveat about reference test sets, and a presentational instruction on how to report gaps. Several sentences could be cut without losing selecting or calling information.

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?

There is no output schema, and the description does state the return shape: two scenarios in fixed order (one-shot, N years), a signed gap, and the barème option only when numeric. For a tool this complex, the key behavioral caveats (assumed-nothing inputs, unquantified items, indicative result) are present, leaving only minor gaps in how values are formatted.

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%, including per-field notes on when each input is required, so the description's input recap ('actifs... dettes, compte courant, apports remboursables, éligibilité au taux réduit, foyer, nombre d'années') adds no semantics beyond the schema. Baseline 3 applies: the schema does the heavy lifting and the description only orients the reader.

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?

The opening sentence states a precise verb and resource: computes the net repatriable value of a French IS-subject holding to its individual partner, in one shot or spread over N calendar years. The computation is further specified (IS on latent gains, tax-free repayment of current account and contributions, boni de liquidation or PFU dividends, CEHR, art. 224 differential contribution), which clearly separates it from income-flow siblings like simulate_revenu_holding. It never names an alternative tool explicitly, so the sibling routing is inferred rather than stated.

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 description sets real boundaries: reduced-rate eligibility and OPC composition are 'requises, jamais supposées', missing inputs trigger a question rather than a default, and several items (droit de partage, ordre des primes d'émission, titres de participation) are explicitly not quantified. It also warns the result is indicative because the case is not covered by the Marcel reference sets. What is absent is a direct 'use X instead when...' statement against sibling simulators.

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.