Skip to main content
Glama

Comparer deux détentions d'un bien en Espagne

simulate_immo_espagne
Read-onlyIdempotent

Compare deux façons d'investir en Espagne depuis la trésorerie d'une SASU française : distribution puis achat en nom propre, ou prêt en compte courant à une filiale espagnole. Applique la convention France-Espagne. 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_espagne"
  }
}

Input Schema

NameRequiredDescriptionDefault
tauxPretNoTaux prêt inter-entreprises (défaut 0.04)
prixAchatYes
tmiFranceYesTMI France (ex: 0.30)
prixReventeYes
horizonAnneesYes
loyersBrutsAnYes
tresorerieSASUYes
chargesAnnuellesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/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 safety is covered. The description adds genuine behavioural context beyond that: the France-Spain convention is applied, results are indicative, feasibility is a modelled constraint with explicit limits (own-name purchase capped at remaining cash and computed on a partial share; subsidiary loan capped at available cash with no complementary financing), and a presentation rule forbids computing percentages or recommending an option.

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?

Purpose is front-loaded in the first sentence, and most of the content earns its place. However, it arrives as one dense block where inputs, outputs, feasibility logic and output-formatting rules are interleaved rather than separated, making the output specification harder to scan than necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 usefully compensates by naming the returned figures (entry cost, annual flows, nets, optionNetLePlusEleve, optionNetLePlusEleveFaisable) and explaining the feasibility flag. Against that, this is an eight-parameter, seven-required financial simulation with only quarter schema coverage, and the input side remains substantially under-explained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (just tauxPret and tmiFrance), so the description must carry the load — but its input summary ('trésorerie, prix, loyers, horizon, tranche') is loose and does not map cleanly onto the eight parameters: chargesAnnuelles and prixRevente are unmentioned, and 'tranche' is ambiguous against tmiFrance. Required vs. optional status and units/defaults are left entirely to the schema.

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 specific verb and resource: comparing two ways of holding Spanish property (distribution then purchase in own name vs. current-account loan to a Spanish subsidiary) funded from a French SASU's cash. The scope (Spain, French tax convention) is unambiguous and clearly separates it from the Belgium/Greece/Italy/Portugal sibling simulations.

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 funding context ('depuis la trésorerie d'une SASU française') implies when the tool applies, and 'résultat indicatif' sets expectations, but there is no explicit statement of when to prefer this over simulate_immo_* siblings or what prerequisites (e.g. a real Spanish acquisition project) are needed. Usage must be inferred from the country and structure described.

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.