Skip to main content
Glama

Analyze DPE Price & Thermal Risk

analyze_dpe_price_and_thermal_risk
Read-only

Full DPE picture in one call: price per energy class AND the thermal-sieve (F/G) stock.

Returns:

  1. Median price/m² per energy class (A–G), with taux_couverture_dpe (share of sales with a DPE within 200m)

  2. prime_verte: each class's median vs class D (descriptive gap; see limitations in the response)

  3. Thermal sieves: share of F/G sales since 2022, with the annual trend

REQUIRED: one location: code_postal, commune ("PARIS 11") or code_departement. Optional: type_local (Maison | Appartement). Alsace-Moselle (67, 68, 57) returns nothing: DVF doesn't cover it. Each sale is matched to the nearest DPE within 200m, often a neighbouring building, so class gaps are indicative.

Cost: 10 credits

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": "analyze_dpe_price_and_thermal_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
communeNoCommune name in uppercase (e.g., 'LYON', 'PARIS 15')
annee_minNoOnly include transactions from this year onward (default: all years)
type_localNoProperty type filter (default: all)
code_postalNoPostal code
code_departementNoDepartment code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the safe-read profile is covered before the description starts. The description then adds genuinely non-schema context: a 10-credit cost, a data-coverage exclusion (Alsace-Moselle), and the methodology caveat that each sale is matched to the nearest DPE within 200m so class gaps are indicative. That is solid added context, though it does not describe return shape, failure modes, or latency, keeping it below the top band.

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?

The value proposition is front-loaded in the first line, the returns are a tight numbered list, and the operational constraints and cost are grouped at the end. Every block carries information, though the returns list is somewhat verbose and could be trimmed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return semantics itself, and it does: it defines taux_couverture_dpe, explains what prime_verte compares, and specifies the F/G metric and its time window. Combined with the coverage exclusion, the matching-methodology caveat, and the credit cost, an agent has everything needed to call this correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description earns an increment by supplying a constraint the schema does not encode: required_parameters is empty, yet the description tells the agent that exactly one of code_postal, commune, or code_departement must be supplied. It adds little else beyond the schema, and annee_min goes unmentioned, but it is documented in the schema itself.

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 opening line states a specific, compound deliverable: median price per energy class plus the F/G thermal-sieve stock, framed as 'full DPE picture in one call.' That framing implicitly separates it from a plain DPE distribution tool, and the numbered returns make the two outputs concrete. It stops short of naming a sibling explicitly, so the differentiation is inferred 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 Guidelines4/5

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

It states the call precondition precisely ('REQUIRED: one location' with the three acceptable forms) and names an explicit when-not: Alsace-Moselle departments 67/68/57 return nothing because DVF does not cover them. What is missing is guidance on when to prefer this over the narrower DPE or thermal-risk siblings, so an agent knows the context but not the alternatives.

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