Skip to main content
Glama

verifier_loyer_encadrement

Vérifie si un loyer respecte l'encadrement légal français (Paris, Lyon, Lille, Bordeaux, Montpellier, Plaine Commune, Est Ensemble). Retourne : conforme oui/non, loyer max autorisé, écart en €, niveau de risque légal, action recommandée (négociation amiable, LRAR, commission de conciliation). À UTILISER quand l'utilisateur suspecte un loyer trop élevé, veut négocier, ou prépare un recours.

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": {
      "adresse": "<adresse>",
      "loyer_mensuel_hors_charges": "<loyer_mensuel_hors_charges>",
      "surface_m2": "<surface_m2>",
      "nombre_pieces": "<nombre_pieces>",
      "meuble": "<meuble>"
    },
    "name": "verifier_loyer_encadrement"
  }
}

Input Schema

NameRequiredDescriptionDefault
meubleYes
adresseYesAdresse complète (numéro, rue, code postal, ville)
surface_m2Yes
nombre_piecesYes
annee_constructionNo
loyer_mensuel_hors_chargesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral load, and it does disclose the response shape (compliance flag, cap, gap, legal risk level, recommended action) plus the legal regime and zone scope. The main undisclosed behavior is what happens for an address outside the seven listed zones — error, null, or fallback — which matters for a 5-required-parameter call.

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 compact segments: what it does, what it returns, when to use it — with the purpose front-loaded. There is no filler or repetition. It is dense but well-ordered; the only slight crowding is the parenthetical city list inside the opening sentence.

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 return fields. Given six inputs with sparse schema documentation, it is nearly complete for invocation, with the residual gaps being out-of-zone handling and the legal significance of 'meuble'/'annee_construction'.

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 17% — just 'adresse' is documented — yet the description adds no meaning to any parameter, including the legally decisive ones like 'meuble' (rent control differs for furnished vs unfurnished) and 'annee_construction' (which triggers the rent freeze reference date). The agent must infer the significance and correct formats of 'loyer_mensuel_hors_charges', 'surface_m2', 'nombre_pieces', and 'meuble' entirely from their names.

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 ('Vérifie') and a specific legal resource ('encadrement légal français' of rents), and enumerates the covered geographies (Paris, Lyon, Lille, Bordeaux, Montpellier, Plaine Commune, Est Ensemble). It also lists the concrete outputs (conforme, loyer max, écart, risque, action), so an agent immediately knows this is a rent-control compliance check rather than a general rent calculator.

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 'À UTILISER quand...' clause gives three explicit triggering situations: suspected excessive rent, intent to negotiate, or preparing a legal challenge. That is genuine when-to-use guidance. It stops short of exclusions or named alternatives (e.g., when to prefer a rent-estimate or listing-risk tool), so it is clear context without full routing.

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