Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

French DPE (energy performance diagnostics of existing dwellings, ADEME open data, Licence Ouverte 2.0, DPE issued since July 2021). Aggregated statistics only: no address, no dwelling-level record is ever returned, and any group under 10 dwellings is suppressed. Geography uses INSEE codes: department ('75', '2A', '971'), region ('11'), commune ('33063'). Unsure of a commune code? Call dpe_find_commune first. Always cite the source block.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
dpe_find_communeA

Find the INSEE code of a French commune from its name, with how many DPE it has. Use this before any commune-level question. Paris is split into arrondissements (75101-75120); use department='75' for the whole city. Returns up to 10 matches ranked by number of DPE.

dpe_label_distributionA

How many dwellings get each energy label (A to G), plus the share of A-B and of F-G ('passoires thermiques'). Use for questions like "what share of homes in Gironde are F or G?". At most one of department, region, commune_insee, postal_code; no geography means all of France. Counts are DPE issued since July 2021, not the housing stock.

dpe_energy_statsA

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.

dpe_rank_territoriesA

Rank départements, régions or communes by share of F-G dwellings, share of A-B, or mean primary energy. Use for "which departments have the most passoires thermiques?". region may narrow a department ranking; group_by=region takes no geography.

dpe_heating_energy_mixA

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?".

dpe_trendA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
regionsINSEE region codes and names

TDQS

A3.9/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a distinct analytical role: lookup, distribution, descriptive stats, ranking, heating mix, and time trend. There is some conceptual overlap between label distribution, ranking by label share, and trend label mix, but the descriptions clarify the intended scope and grouping.

Naming Consistency4/5

All tools consistently use the dpe_ prefix and snake_case, making them easy to scan as a family. The suffixes mix verb_noun and noun_phrase patterns (e.g. dpe_find_commune vs dpe_energy_stats), but the deviations are minor and readable.

Tool Count5/5

Six tools is well-scoped for a focused DPE analytics server. Each tool covers a meaningful question type without redundant surface area.

Completeness4/5

The set covers discovery, aggregation, statistics, ranking, heating mix, and trends, which supports most DPE analysis workflows. Minor gaps include no explicit metadata tool for listing available departments/regions or a direct record-level lookup, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues