Skip to main content
Glama

fiscal_foncier_regime

Read-onlyIdempotent

Location nue : micro-foncier ou régime réel — Arbitrage du régime des revenus fonciers d'une location NUE : micro-foncier (abattement 30 %, loyers ≤ 15 000 €) vs régime réel (charges, intérêts, déficit imputable plafonné). Gain = Δ d'impôt TOTAL du foyer (IR au barème avec quotient familial + prélèvements sociaux 17,2 %), pas loyers × TMI. Même calcul que l'étude patrimoniale (cOptiFoncier). Au-delà de 15 000 € de loyers, le réel est obligatoire : pas d'arbitrage. Pour une location MEUBLÉE, utiliser fiscal_lmnp_regime. (sources: CGI art. 32 (micro-foncier) ; CGI art. 28 à 31 (régime réel) ; CGI art. 156-I-3° (déficit foncier) ; LFSS 2026 art. 12 (PS 17,2 % foncier))

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": {
      "loyers": "<loyers>",
      "revenu_net_imposable_hors": "<revenu_net_imposable_hors>"
    },
    "name": "fiscal_foncier_regime"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsNoNombre de parts de quotient familial.
loyersYesLoyers bruts annuels de la location nue (€).
teaserNoAperçu gratuit, sans paiement : true renvoie le chiffre de tête avec sa confiance et ses sources (free preview, no payment).
chargesNoCharges déductibles au réel (€/an), hors intérêts.
interetsNoIntérêts d'emprunt (€/an).
situationNoSituation familiale (plafonnement du quotient familial).Célibataire
parent_isoleNoParent isolé (case T, art. 194 II CGI) : célibataire ou divorcé vivant seul avec au moins un enfant à charge. La part du 1er enfant est alors plafonnée à 4 262 € (art. 197 I-2) au lieu de 2 × 1 807 €. Les parts transmises doivent déjà inclure la demi-part case T.
demi_parts_195_abeNoDemi-parts de l'art. 195-1 a, b ou e CGI (personne vivant seule ayant élevé seule un enfant 5 ans, enfant décédé, enfant adopté) incluses dans les parts : plafonnées à 1 079 € chacune.
residence_alterneeNoAvec parent_isole : enfants UNIQUEMENT en résidence alternée — la demi-part de chacun des deux premiers enfants est plafonnée à 2 131 € (art. 197 I-2 CGI). Les parts transmises doivent inclure les majorations de 0,25 (art. 194 I).
demi_parts_invaliditeNoDemi-parts d'invalidité ou d'ancien combattant (art. 195-1 c, d, d bis, f et 195-2 à 6 CGI) incluses dans les parts : plafond de droit commun + réduction de 1 801 € chacune quand le plafonnement joue.
revenu_net_imposable_horsYesRevenu net imposable du foyer HORS ces loyers (€).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / teaser
      Added value: +{
      +  "default": false,
      +  "description": "Aperçu gratuit, sans paiement : true renvoie le chiffre de tête avec sa confiance et ses sources (free preview, no payment).",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/closed-world; the description goes well beyond them by disclosing the computation model ('Gain = Δ d'impôt TOTAL du foyer (IR au barème avec quotient familial + prélèvements sociaux 17,2 %), pas loyers × TMI') and by noting it mirrors the cOptiFoncier study. It also cites the governing legal sources (CGI 32, 28-31, 156-I-3°, LFSS 2026 art. 12), which is real behavioral context for trusting the output.

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?

It is front-loaded with scope, then method, then the threshold caveat, then the sibling redirect, then sources — a sensible order. It is dense with parentheticals and legal citations, so it is longer than strictly necessary, but every sentence carries information an agent would otherwise lack.

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?

For an 11-parameter, two-branch tax comparison with no output schema, the description supplies the decision rule, the computation basis, the invalid-input regime, and the alternative tool. It stops short of describing the returned comparison structure (headline figure, confidence, sources, teaser preview), which only the schema hints at, leaving a small gap.

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 100 %, so the schema already documents all 11 parameters and a baseline of 3 would apply. The description adds meaning on top: it ties the 15 000 € ceiling to the loyers input and explains that charges, intérêts and the plafonné déficit are the réel-side levers, which is more than the schema states per-field.

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?

The description names a precise verb+resource ('Arbitrage du régime des revenus fonciers d'une location NUE') and immediately frames the two branches compared (micro-foncier vs régime réel). It also names the sibling it is not ('Pour une location MEUBLÉE, utiliser fiscal_lmnp_regime'), so an agent can route correctly without opening another schema.

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?

Explicit boundary conditions are given: micro-foncier applies at loyers ≤ 15 000 € with a 30 % abattement, and 'Au-delà de 15 000 € de loyers, le réel est obligatoire : pas d'arbitrage' tells the agent when the tool's comparison is meaningless. The furnished-rental case is redirected to a named alternative.

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.