Skip to main content
Glama

Rents, energy ratings, natural risks, local taxes and internet of a French commune

commune_profile
Read-onlyIdempotent

For a French commune (by name, INSEE code or position) or département: for a commune, its zone ABC (which sets the PTZ, Denormandie and LLI), whether it is a zone tendue, its rent control (encadrement des loyers, with its territory) and its social housing under the SRU law (homes, share, target, déficitaire, carencée), and its building plots' median price per m² of land (DVF, with its département's and France's); asking rents per m² (charges included) for flats, small and large flats and houses, with their range (ANIL/DHUP Carte des loyers); the energy ratings (DPE A–G) of its dwellings diagnosed since July 2021 and the share of passoires thermiques (F or G, which may no longer be let: G since 2025, F from 2028, and E from 2034), per flats and houses (ADEME); its natural risks: the risks listed by the state (DDRM), natural disaster (CatNat) decrees since 1982, prevention plans, radon potential (Géorisques); its local tax rates (DGFiP, in %): taxe foncière on buildings and on land, the household waste tax (TEOM; null where a fee pays for it), taxe d'habitation (on second homes and vacant dwellings only since 2023) with the commune's surcharge on second homes, the latest year's and the first's, the taxe foncière year by year, and for a commune how each rate splits between the commune, its syndicates, its intercommunality (named), special taxes and GEMAPI; its median price per m² of recorded sales (DVF) for flats, houses and both over the latest two years against the two before, and year by year; its home internet (ARCEP Ma connexion internet): the share of premises fibre, cable, copper DSL (copper_closed: no new subscribers), fixed 4G, radio and satellite reach, the share getting 8 and 30 Mbit/s and 1 Gbit/s by wire, and its premises by best technology; each mobile operator's 4G coverage of its homes (Orange, SFR, Bouygues Telecom, Free Mobile: the share of homes at each level of ARCEP's simulated maps, very good meaning indoors; metropolitan France), and their antennas in the commune (sites with 4G, 5G, 5G at 3.5 GHz). Each compared with its département and France.

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (WGS84).
lngNoLongitude (WGS84).
placeNoCity, city start or postcode (e.g. "Carnac", "Paris 11e", "75011"); with address, the place it is in. Ignored when lat and lng are given.
addressNoStreet address with its postcode or city (e.g. "17 rue Gambey, 75011 Paris"), located where its sales were recorded (else its street's). Ignored when lat and lng are given.
communeNoCommune name or INSEE code (e.g. "Carnac", "56034"), or a département code ("56").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / place / description
      Previous value: -"City, city start or postcode (e.g. \"Carnac\", \"Paris 11e\", \"75011\", \"SW1A\"); with address, the place it is in. Ignored when lat and lng are given."New value: +"City, city start or postcode (e.g. \"Carnac\", \"Paris 11e\", \"75011\"); with address, the place it is in. Ignored when lat and lng are given."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context: data provenance (DVF, ANIL/DHUP, ADEME, Géorisques, DGFiP, ARCEP), time windows, comparison baselines (département and France), and the 'metropolitan France' scope limit for mobile coverage. It says nothing about response size or latency for what is clearly a very heavy aggregate call.

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?

The content is dense rather than padded, and with no output schema the return-value enumeration arguably earns its place. But it is delivered as one enormous run-on sentence joined by semicolons, with no headings or bullets, making it hard to parse. Front-loading exists but is immediately buried under the enumeration.

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?

With no output schema, the description carries the full burden of describing returns, and it does so exhaustively — every metric, unit, source and comparison is stated. The main missing piece is usage routing against siblings, which is a guidelines concern rather than a return-shape one.

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?

Schema description coverage is 100%, so all five parameters (lat, lng, place, address, commune) are already documented, including precedence rules. The description only echoes the accepted inputs ('by name, INSEE code or position') and adds that a département code is valid, which the schema also states. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description makes clear this is a comprehensive commune-level profile, enumerating the exact datasets returned (rents, DPE, risks, taxes, internet). It is a distinct resource from point-lookup siblings like street_prices or sales_at_address. However, it never explicitly distinguishes itself from overlapping siblings such as property_prices, ptz, crime_stats and rank_communes, leaving the agent to infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus the thirteen siblings. With overlapping tools like property_prices, ptz and crime_stats present, the absence of routing guidance ('use this when you need everything about a commune; use X for a single metric') is a real gap. Usage is only implied by the breadth of the enumeration.

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