Skip to main content
Glama

dpe_trend

Read-onlyIdempotent

Track issued DPE counts and energy-label mix by year or month and location to compare diagnosis shares over time; results reflect diagnoses issued, not housing-stock evolution.

Instructions

Number of DPE issued and label mix per year or month (from 2021-07 by default). Use for "has the share of F-G diagnoses fallen since 2022 in Paris?". It shows diagnoses issued, which is not the evolution of the housing stock.

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_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoINSEE region code, e.g. '11' Île-de-France, '84' Auvergne-Rhône-Alpes, '93' PACA.
intervalNo'year' (default) or 'month'.year
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.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the description's real contribution is interpretive: results reflect diagnoses issued, not the housing stock, which is a non-obvious analytic caveat an agent would otherwise misreport. The temporal default of 2021-07 and the year/month granularity choice are also surfaced. It does not discuss coverage lag or provenance of the underlying dataset.

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?

Three short sentences, front-loaded with what is returned and at what granularity, then the use case, then the caveat. The quoted example question earns its place by concretizing the trend use case rather than restating parameters.

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 12 optional filters all described in the schema and an output schema present, the description only needs to fix scope and interpretation, which it does. The remaining gap is that it doesn't say what the geographic aggregation looks like when no location filter is supplied, which matters for a trend tool with all-optional parameters.

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% and each of the 12 filters is documented inline, including INSEE code formats and the pointer to dpe_find_commune. The description adds only the default start date and the interval choice, both of which the schema already states, so it lands at the baseline for a fully documented schema.

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?

States a concrete verb+resource: counts of DPE issued plus label mix, bucketed by year or month, with a default start of 2021-07. This is specific enough to separate it from dpe_label_distribution (a mix snapshot) and dpe_energy_stats, though it never names a sibling to sharpen the distinction.

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?

Gives a worked example question ('has the share of F-G diagnoses fallen since 2022 in Paris?') that shows exactly the temporal-trend use case, and adds a clear when-NOT-to-use signal by warning that this is not the evolution of the housing stock. It stops short of naming the alternative tool for stock questions.

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