french-rental-compliance
Server Details
Free French rental-compliance lookups: zone tendue, tenant notice period, DPE letting restrictions.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.6/5 across 3 of 3 tools scored.
Each tool addresses a distinct legal concept: notice period calculation, DPE rental restrictions, and zone tendue classification. No overlaps in purpose; calculate_tenant_notice_period internally resolves zone tendue, but check_zone_tendue serves independent verification needs.
All tool names follow a clear verb_noun pattern in lowercase snake_case: calculate_tenant_notice_period, check_dpe_rental_restrictions, check_zone_tendue. The verbs 'calculate' and 'check' accurately reflect each action.
Three tools is well-scoped for this specialized domain, covering the most common rental compliance checks for France. Each tool has a clear standalone use case and the count feels neither sparse nor excessive.
The set covers notice periods, DPE restrictions, and zone tendue status—major compliance areas for residential leasing. Minor gaps like rent increase limits or deposit rules exist, but the included tools handle the most critical obligations and form a coherent package.
Available Tools
3 toolscalculate_tenant_notice_periodTenant notice period (préavis) calculator — French residential leaseARead-onlyInspect
Computes the tenant's notice period for terminating a French residential lease (loi n° 89-462 art. 15): furnished = always 1 month; unfurnished = 3 months, reduced to 1 month in a zone tendue commune (first-list perimeter, resolved automatically from insee_code/commune) or on a statutory ground (art. 15 I, 1° à 5° incl. 3° bis). Returns the end date computed de quantième à quantième from the RECEPTION date, plus which justificatifs must accompany the letter. Deterministic legal formula — no AI involved. France métropolitaine rules.
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name, e.g. 'Lyon'. Used when insee_code is not provided. | |
| ground_id | No | Statutory ground for the reduced 1-month notice on an unfurnished lease (art. 15 I). | |
| insee_code | No | INSEE commune code (5 chars, e.g. 75056 for Paris, 2A004 for Ajaccio). Preferred when known — skips name resolution. | |
| lease_type | Yes | 'vide' = unfurnished, 'meuble' = furnished | |
| code_postal | No | 5-digit postal code — disambiguates homonym communes. | |
| zone_tendue | No | Explicit zone-tendue (first list) flag if already known — otherwise resolved from insee_code/commune. | |
| reception_date | No | ISO date the LANDLORD RECEIVES the notice (LRAR reception, remise en main propre, or acte de commissaire) — never the sending date. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Even though readOnlyHint=true already communicates safety, the description adds behavioral details beyond annotations: it returns an end date calculated 'de quantième à quantième' from receipt date, returns required justificatifs, auto-resolves zone tendue from insee_code/commune, and explicitly states it is a deterministic legal formula with no AI. It also clarifies the reception-date meaning, which is a potential misuse trap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two information-dense sentences with no fluff. It front-loads the core purpose and then packs the essential legal logic, output, and determinism note. Every clause contributes necessary meaning for correct selection and invocation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex tool with 7 parameters, no output schema, and no nested objects, the description is remarkably complete. It covers the legal basis, decision branches, input dependencies, return content (end date and justificatifs), geographic scope, and determinism. Combined with full schema descriptions and readOnly annotation, an agent has enough to select and invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
While the schema covers 100% of parameters with descriptions, the tool description adds meaningful semantic integration: it explains how lease_type drives the base period, how insee_code/commune resolve zone tendue, how ground_id maps to statutory grounds under art. 15 I, and that reception_date is the receipt date. This goes well beyond the individual parameter descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb+resource ('Computes the tenant's notice period for terminating a French residential lease'), and immediately adds the key legal formula (furnished vs unfurnished, reduced conditions). This clearly distinguishes it from sibling tools like check_zone_tendue or check_dpe_rental_restrictions, which perform different checks.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when this tool is relevant (notice period calculation in France métropolitaine) and sets exclusions ('France métropolitaine rules'). It implicitly differentiates from siblings by focusing on notice period rather than DPE or zone-tendue alone, though it does not explicitly name alternative tools or state 'use this instead of X'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_dpe_rental_restrictionsDPE rental restrictions — letting ban, rent freeze, DPE validityARead-onlyInspect
Given a dwelling's DPE class (A–G), returns the French rental restrictions in force: letting ban status and date (loi n° 2021-1104 Climat et Résilience — G banned since 2025, F from 2028, E from 2034, France métropolitaine), the F/G rent freeze (in force since 25 Aug 2022), and — when dpe_issue_date is provided — whether the DPE itself is still valid (10-year rule + the 2013–2021 transitional expiries). Deterministic rules from official thresholds — no AI involved.
| Name | Required | Description | Default |
|---|---|---|---|
| dpe_class | Yes | Energy class from the dwelling's DPE. | |
| dpe_issue_date | No | ISO issue date of the DPE — enables the validity check. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations declare readOnlyHint=true, and the description reinforces this with 'Deterministic rules from official thresholds — no AI involved.' It adds specific behavioral context: exact legal citations, dates (2025, 2028, 2034, 25 Aug 2022), and the 10-year validity rule with transitional details. This goes beyond the annotations, providing confidence in predictability and covering the conditional behavior when dpe_issue_date is supplied.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences and front-loads the core purpose. Each sentence adds essential information: what the tool returns, specific thresholds, and the deterministic nature. It is slightly dense but appropriately detailed for a tool with legal rules; no fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description sufficiently enumerates the return values (letting ban status/date, rent freeze, DPE validity) and their conditions. It also provides the legal context and geographic scope. It is complete enough for an agent to understand the tool's capabilities and constraints, though a explicit return structure would be even clearer.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already covers both parameters with descriptions and enum, but the description enriches dpe_issue_date by explaining its exact role ('whether the DPE itself is still valid (10-year rule + the 2013–2021 transitional expiries)'). It also implicitly clarifies that dpe_class is the primary input. This value-add justifies a score above the baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'returns the French rental restrictions in force' given a DPE class, naming the specific verb ('returns'), resource ('rental restrictions'), and input ('dpe_class'). It enumerates exact outputs (ban status/date, rent freeze, validity) and distinguishes itself from siblings (calculate_tenant_notice_period and check_zone_tendue) by focusing on DPE-based rental rules.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implicitly tells when to use it: 'Given a dwelling's DPE class... returns...' which is a clear trigger condition. It does not explicitly contrast with alternatives, but the unique scope (DPE rental restrictions) makes the use case obvious. No exclusions are needed for such a specialized tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_zone_tendueZone tendue status of a French communeARead-onlyInspect
Checks whether a French commune is in the 'zone tendue' perimeter and — crucially — WHICH one: the first list (décret n° 2013-392 annex, 1,434 communes, agglomérations >50k) where the tenant's reduced 1-month notice applies, or the wider TLV tax perimeter added in 2023 where ONLY fiscal measures apply (widely mislabelled 'zone tendue' — the reduced notice does NOT apply there). Deterministic dataset lookup on DILA reference data (service-public.fr simulator dataset) — no AI involved. Provide insee_code, or commune (+ code_postal to disambiguate).
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name, e.g. 'Lyon'. Used when insee_code is not provided. | |
| insee_code | No | INSEE commune code (5 chars, e.g. 75056 for Paris, 2A004 for Ajaccio). Preferred when known — skips name resolution. | |
| code_postal | No | 5-digit postal code — disambiguates homonym communes. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the bar is lower. The description adds substantial behavioral context beyond annotations: it is a 'deterministic dataset lookup on DILA reference data — no AI involved.' This discloses the underlying data source and non-AI nature, which is valuable for expectations. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single compact paragraph but is well-structured: purpose first, then the critical nuance, then the data source, then input instructions. Every sentence carries unique information; no filler or repetition. It is appropriately sized for the complexity of the tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 3 parameters, no output schema, and annotations are present. The description covers the purpose, the two perimeters, the data source, and input requirements. It does not explicitly state the return format (e.g., boolean or which list), but the description's emphasis on 'which one' strongly implies the output will include the applicable perimeter. Given the lack of an output schema, a brief mention of the response would have made it complete, so one point is deducted.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, but the description adds essential relational semantics: 'Provide insee_code, or commune (+ code_postal to disambiguate).' This explains the priority of insee_code and the role of code_postal for homonym disambiguation—information not present in the schema's individual parameter descriptions. This is a clear added value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool 'Checks whether a French commune is in the zone tendue perimeter' and crucially distinguishes between the two lists (décret n° 2013-392 vs TLV tax perimeter). This is a specific verb+resource+scope that far exceeds a simple restatement and effectively sets it apart from the sibling tools (tenant notice, DPE restrictions).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit input guidance: 'Provide insee_code, or commune (+ code_postal to disambiguate).' It also clarifies which perimeter matters for the reduced notice vs fiscal measures, implicitly telling the user when this tool's distinction is critical. However, it does not explicitly name sibling tools or state when not to use this tool, so it falls short of a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Alicense-qualityBmaintenanceExact French real-estate legal calculations for AI agents: IRL rent revision, service-charge reconciliation, compliant rent receipts — legal basis included in every answer.MIT
- Alicense-qualityBmaintenanceEnables AI agents to access French residential rental tools including lease creation and e-signing, rent control checks, rent revision, and document generation.MIT
- Flicense-qualityDmaintenanceAsk Valérie about French property prices, recent transactions (22M+ DVF records 2020–2025), and internet coverage at any address. Free tier + €5/month subscription.
- AlicenseAqualityDmaintenanceFrench building permits MCP server: 1.2M Sitadel permits (2014-2026, daily refresh), DVF transactions, cadastre DGFiP, PLU zoning, BRGM risks, and property-dealer opportunity scoring through 11 MCP tools. Free tier 500 req/month, no credit card.113MIT