dpe_energy_stats
Calculate mean and 10th/50th/90th percentile statistics for French DPE energy use, greenhouse-gas emissions, or living area by location, building type, and period; use the median to avoid outliers.
Instructions
Mean, 10th/50th/90th percentile of an energy, emissions or surface indicator for a scope. Use for "what is the median consumption of houses built before 1948 in Lozère?". Prefer the median: a few declared values are data-entry outliers.
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": {
"indicator": "<indicator>"
},
"name": "dpe_energy_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | INSEE region code, e.g. '11' Île-de-France, '84' Auvergne-Rhône-Alpes, '93' PACA. | |
| indicator | Yes | One of: primary_energy_kwh_m2, ghg_kg_m2, living_area_m2. primary_energy_kwh_m2 = 5-usage primary energy; ghg_kg_m2 = greenhouse-gas emissions. | |
| department | No | INSEE department code: '01'-'95', '2A', '2B', '971'-'976'. | |
| dpe_date_to | No | Only DPE established on/before this date (YYYY-MM-DD). | |
| postal_code | No | 5-digit postal code, e.g. '33000'. | |
| climate_zone | No | Climate zone, one of: H1a, H1b, H1c, H2a, H2b, H2c, H2d, H3. | |
| building_type | No | One of: appartement, maison, immeuble. | |
| commune_insee | No | 5-character INSEE commune code, e.g. '33063' (Bordeaux). Get it from dpe_find_commune. | |
| dpe_date_from | No | Only DPE established on/after this date (YYYY-MM-DD). Dataset starts 2021-07-01. | |
| construction_period | No | Construction period, one of: avant 1948; 1948-1974; 1975-1977; 1978-1982; 1983-1988; 1989-2000; 2001-2005; 2006-2012; 2013-2021; après 2021. | |
| construction_year_max | No | Latest construction year (1700-2030). | |
| construction_year_min | No | Earliest construction year (1700-2030). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||