Skip to main content
Glama

dpe_heating_energy_mix

Read-onlyIdempotent

Get counts and shares of heating energy sources for French dwellings by location, building type, construction period, and DPE date to answer questions like how many homes heat with oil.

Instructions

Main energy source of dwellings (electricity, natural gas, heating oil, wood, district heating...) with counts and shares. Use for "how many homes still heat with oil in Finistère?".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dpe_heating_energy_mix"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoINSEE region code, e.g. '11' Île-de-France, '84' Auvergne-Rhône-Alpes, '93' PACA.
departmentNoINSEE department code: '01'-'95', '2A', '2B', '971'-'976'.
dpe_date_toNoOnly DPE established on/before this date (YYYY-MM-DD).
postal_codeNo5-digit postal code, e.g. '33000'.
climate_zoneNoClimate zone, one of: H1a, H1b, H1c, H2a, H2b, H2c, H2d, H3.
building_typeNoOne of: appartement, maison, immeuble.
commune_inseeNo5-character INSEE commune code, e.g. '33063' (Bordeaux). Get it from dpe_find_commune.
dpe_date_fromNoOnly DPE established on/after this date (YYYY-MM-DD). Dataset starts 2021-07-01.
construction_periodNoConstruction 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_maxNoLatest construction year (1700-2030).
construction_year_minNoEarliest construction year (1700-2030).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so safety is fully covered. The description adds that results are counts plus shares across all energy sources, but says nothing about aggregation granularity when no filters are supplied, sampling, or dataset scope beyond what the schema notes.

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?

Two compact sentences with the resource and output stated first and the example trailing. Nothing is wasted, though the embedded question is slightly ornate where a plain scenario phrase would read cleaner.

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 an output schema present and full schema-level parameter docs, the description only needs to convey resource and intent, which it does. The remaining minor gap is that it never says what happens with zero filters (national-level mix) for an 11-parameter optional tool.

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 11 filters (INSEE codes, dates, climate zone, construction period) are already documented in the schema itself. The description adds only the indirect hint that no energy-source filter exists — the mix is returned whole and read off by row — which is mildly useful but not compensation for a real gap.

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 states a specific aggregation resource (main heating energy source of dwellings) and the output shape (counts and shares), which lets an agent distinguish it from a label or trend tool. It does not explicitly contrast itself with siblings such as dpe_energy_stats, so differentiation is inferred from the fields rather than stated.

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

Usage Guidelines3/5

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

The quoted example question ("how many homes still heat with oil in Finistère?") gives a concrete usage scenario, implying when to reach for this tool. However, there is no explicit when-not guidance and no named alternative for related energy questions, leaving the agent to infer boundaries from sibling names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.