Skip to main content
Glama

Calculer une opération de marchand de biens

simulate_marchand_biens
Read-onlyIdempotent

Calcule le résultat d'une opération de marchand de biens : droits de mutation réduits avec engagement de revente (CGI art. 1115), impôt sur les sociétés au taux réduit et au taux normal, TVA sur marge (CGI art. 268) ou sur le prix total. Entrées : prix d'achat, travaux, prix de vente, régime de TVA, éligibilité au taux réduit. Sortie : frais, bénéfice, impôt, net. 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": {
      "prixAchat": "<prixAchat>",
      "prixVente": "<prixVente>"
    },
    "name": "simulate_marchand_biens"
  }
}

Input Schema

NameRequiredDescriptionDefault
travauxNo
prixAchatYes
prixVenteYes
regimeTVANo
eligiblePMENo
autresChargesNo
sortieDividendeNo
engagementReventeNoDMTO réduit 0,715% si true (défaut true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description adds value beyond that: it discloses that results are indicatifs and covered by reference cases Marcel, and it gives a presentation rule (differences are écarts, showed without a computed percentage and without recommending an option). It does not discuss defaults or edge-case behavior for regimes, keeping it short of a 5.

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, front-loaded with the computation scope before inputs, outputs and the rendering rule. Every sentence carries information, though the input/output enumeration is somewhat list-like and could be tightened.

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 compensates by naming the return values (frais, bénéfice, impôt, net). For an 8-parameter calculation tool it covers the main flow and the indicatif caveat, but leaves several parameters and the TVA regime choice under-explained.

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 only 13%, so the description must compensate. It names five of the eight inputs (prix d'achat, travaux, prix de vente, régime de TVA, éligibilité au taux réduit), which maps them but adds no meaning: the enum values SANS_TVA / TVA_MARGE / TVA_TOTALE, autresCharges and sortieDividende are never explained, and the tax consequence of each regime is left to inference.

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?

States a specific verb (calcule) and a specific resource (opération de marchand de biens), then enumerates the tax mechanics covered: DMTO réduit with engagement de revente (CGI 1115), IS au taux réduit et normal, TVA sur marge ou sur prix total (CGI 268). The domain is narrow and unambiguous, so an agent can tell it apart from the other simulate_* siblings (PV immo IR, SCI, holding) without opening the schema.

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 list of inputs and outputs implies the usage context (a marchand de biens acquisition/resale operation), but there is no explicit when-to-use statement, no exclusion, and no named alternative such as simulate_pv_immo_ir for a private individual's resale gain. Guidance is inferable but never asserted.

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.