Skip to main content
Glama

Comparer deux détentions d'un bien au Portugal

simulate_immo_portugal
Read-onlyIdempotent

Compare deux façons d'investir au Portugal depuis la trésorerie d'une SASU française : distribution puis achat en nom propre, ou prêt en compte courant à une filiale portugaise. Applique la convention France-Portugal. Entrées : trésorerie, prix, loyers, horizon, tranche. Sortie : coût d'entrée, flux annuels et net de chaque option, optionNetLePlusEleve (libellé de l'option au net le plus élevé, sans recommandation) et optionNetLePlusEleveFaisable (false si cette option n'est pas faisable telle quelle : en nom propre, la trésorerie restant après le prélèvement de sortie est inférieure au prix, et le calcul porte sur une quote-part du bien ; en filiale, le prêt est limité à la trésorerie, inférieure au prix, et le complément de financement n'est pas modélisé). 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": {
      "tresorerieSASU": "<tresorerieSASU>",
      "prixAchat": "<prixAchat>",
      "loyersBrutsAn": "<loyersBrutsAn>",
      "chargesAnnuelles": "<chargesAnnuelles>",
      "prixRevente": "<prixRevente>",
      "horizonAnnees": "<horizonAnnees>",
      "tmiFrance": "<tmiFrance>"
    },
    "name": "simulate_immo_portugal"
  }
}

Input Schema

NameRequiredDescriptionDefault
tauxPretNoTaux prêt inter-entreprises (défaut 0.04)
prixAchatYes
tmiFranceYesTMI France (ex: 0.30)
prixReventeYes
horizonAnneesYes
loyersBrutsAnYes
tresorerieSASUYesTrésorerie SASU nette d'IS
chargesAnnuellesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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/closed-world, so the bar is lower, and the description adds real substance on top: results are 'indicatif', validation rests on reference cases, no recommendation is produced, and the precise conditions under which optionNetLePlusEleveFaisable becomes false are spelled out (cash after exit tax below price, loan capped at cash, complementary financing not modeled). It does not discuss runtime, currency, or what happens on out-of-range inputs.

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 block, but it is front-loaded with the comparison itself before moving to outputs and caveats. Given there is no output schema, the long output sentence about optionNetLePlusEleve and its feasibility flag earns its place; the input list is thin but no sentence is pure filler.

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 8-parameter simulator with no output schema, the description covers the return shape unusually well (entry cost, annual flows, net per option, highest-net label plus feasibility flag) and discloses the key modeling limitation. The gap is on the input side, where three of eight parameters get no explanation anywhere.

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?

Only 38% of the 8 parameters carry schema descriptions, so the description must compensate, and it does so only partially: it names trésorerie, prix, loyers, horizon and 'tranche' in shorthand, but never maps them to tresorerieSASU, prixAchat, loyersBrutsAn, horizonAnnees or tmiFrance, and leaves prixRevente, chargesAnnuelles and tauxPret (default 0.04) unmentioned.

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 gives a specific verb (compare) and a precise resource: two ways of holding a Portuguese property funded from a French SASU's cash. It names both branches (distribution then purchase in personal name vs. current-account loan to a Portuguese subsidiary) and anchors the country scope with 'Applique la convention France-Portugal', which cleanly separates it from the Belgium/Spain/Italy/Greece siblings.

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 usage context is explicit: comparing two acquisition structures from French SASU cash under the France-Portugal tax convention. It also tells the agent how to present results (show differences as 'écarts', no percentages, no recommended option). It stops short of stating when NOT to use it or naming a sibling simulator for a single-structure analysis.

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.