Skip to main content
Glama

French rent revision calculator (IRL indexation)

calculate_rent_revision
Read-only

New rent after the yearly IRL increase; F/G homes are frozen. · Nouveau loyer après la révision IRL annuelle ; les biens F/G sont gelés. — Computes the legally revised rent for a French residential lease using the INSEE IRL (indice de référence des loyers): new rent = current rent × (IRL of the lease's reference quarter ÷ IRL of the SAME quarter one year earlier), loi n° 89-462 art. 17-1. The reference quarter (trimestre de référence IRL) is the one written in the lease — pass it as reference_quarter. Two legal limits are enforced: the revision must be claimed within ONE YEAR of the lease anniversary or it is forfeited for that year, and it is BLOCKED for DPE class F or G (rent freeze since 25 August 2022, loi n° 2022-1158 art. 159) — pass dpe_class to get that check. Deterministic INSEE data + fixed formula — no AI. France métropolitaine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dpe_classNoDwelling's DPE class, if known — F or G blocks the revision (rent freeze).
current_rentYesCurrent monthly rent excluding charges (hors charges), in euros.
reference_quarterYesThe IRL reference quarter named in the lease (trimestre de référence). Accepts forms like '2026-T2', 'T2 2026', 'Q2 2026'.

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses deterministic behavior ('Deterministic INSEE data + fixed formula — no AI'), the legal basis (loi n° 89-462 art. 17-1), and specific enforced limits (one-year forfeiture, DPE F/G freeze since 25 August 2022). This provides substantial operational transparency that annotations alone would not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with a concise bilingual summary, then delivers the formula, legal limits, parameter guidance, and determinism note in a structured sequence. Every sentence carries necessary information with no filler — it is long but dense and well-organized.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (legal formula, multiple constraints, data source), the description covers all essential aspects: inputs, formula, legal limits, DPE freeze, geographic scope, and deterministic nature. No output schema exists, but the output is clearly implied as the new rent amount in euros. This is complete for an agent to select and invoke correctly.

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 description coverage is 100%, so baseline is 3. The description adds meaningful context: it explains that reference_quarter comes from the lease, that dpe_class triggers the freeze check, and clarifies that current_rent is 'hors charges'. These clarifications reinforce the schema's descriptions and add legal purpose, but they don't add new syntax or format details beyond what the schema already provides.

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 clearly states the tool 'Computes the legally revised rent for a French residential lease using the INSEE IRL' with the exact formula. It distinguishes itself from sibling tools (e.g., Swiss salary calculator, DPE restriction checker) by specifying the French rent revision context and the specific legal calculation.

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 description provides clear context for when to use the tool: for computing legally revised rent under French law, with special handling for the one-year claim limit and DPE F/G freeze. It explains when to pass dpe_class for the freeze check. However, it doesn't explicitly name alternative tools or state when not to use it, so it stops short of full when/when-not guidance.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Each tool is tied to a specific legal or payroll calculation, and the names clearly indicate their target: salary, rent revision, tenant notice, DPE restrictions, quasi-resident status, zone-tendue lookup, family allowances, and health insurance. Some overlap exists because rent revision and DPE checks both involve F/G rent freezes, and tenant notice relies on zone-tendue data, but descriptions keep boundaries clear.

Naming Consistency5/5

All tool names follow the same snake_case verb_noun pattern with a concise legal/domain object. The verbs vary by nature of action—calculate_, check_, compare_—but each is consistent and semantically meaningful.

Tool Count5/5

Eight tools is a well-scoped number for a specialist compliance server. Each tool handles a distinct calculation or legal lookup, and none feels redundant or purely decorative.

Completeness4/5

The set covers the main rental-revision, tenant-notice, DPE-restriction, zone-tendue, and cross-border worker salary/benefit comparisons well. Minor gaps remain around related compliance details such as rental deposits, landlord-side termination, or deeper Swiss tax filing checks, but they are not fatal to the tool set’s stated purpose.

Resources