Skip to main content
Glama

Zéro problème : calculs du bailleur en France

Plus-value à la revente d’un LMNP

plus_value_lmnp
Read-onlyIdempotent

Calcule l’impôt sur la plus-value immobilière à la revente d’un bien loué en meublé non professionnel (LMNP) par un particulier, avec la réintégration des amortissements déduits (art. 84 de la loi de finances pour 2025) : impôt total, part due à la réintégration, abattements pour durée de détention, surtaxe. Hors exonérations (résidence principale, durée).

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": {
      "prix_vente": "<prix_vente>",
      "prix_achat": "<prix_achat>",
      "date_achat": "<date_achat>",
      "amortissements": "<amortissements>"
    },
    "name": "plus_value_lmnp"
  }
}

Input Schema

NameRequiredDescriptionDefault
travauxNoTravaux en euros, hors travaux déjà déduits ou amortis. Absent : forfait de 15 % après cinq ans.
date_achatYesDate d’achat, AAAA-MM-JJ.
date_venteNoDate de vente, AAAA-MM-JJ. Par défaut : aujourd’hui.
prix_achatYesPrix d’achat, en euros.
prix_venteYesPrix de vente, en euros.
amortissementsYesTotal des amortissements effectivement déduits sur le bien, hors mobilier, en euros.
frais_acquisitionNoFrais d’acquisition réels en euros. Absent : forfait de 7,5 %.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered. The description adds real behavioral context: the amortization reintegration rule, the outputs produced (impôt total, part due à la réintégration, abattements, surtaxe), and the exclusion boundary.

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?

A single dense sentence, front-loaded with the verb and resource, with the legal citation and exclusions trailing. No filler, though the length makes it slightly heavy to parse.

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 enumerating the computed outputs (impôt total, part due à la réintégration, abattements, surtaxe). Combined with full schema coverage and annotations, an agent has what it needs to call it correctly.

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%, so every parameter (travaux, frais_acquisition, dates, amortissements) is already documented with defaults and formats. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 resource (impôt sur la plus-value immobilière à la revente d'un bien loué en LMNP), plus the legal basis (art. 84 LF 2025). An agent can distinguish this from the sibling calculators (frais_de_notaire, micro_foncier_ou_reel, etc.) 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly scopes out cases: 'Hors exonérations (résidence principale, durée)' tells the agent when this tool does not apply. It does not name an alternative tool for those excluded cases, so it falls short of a 5.

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.

Resources