Skip to main content
Glama

Prix immobiliers d'une commune

dvf_statistiques
Read-onlyIdempotent

Retrieve median price per square meter for houses and apartments in a French municipality by year from DVF single-property sales, including sale counts and median prices.

Instructions

Prix médian au m² des maisons et des appartements d'une commune, année par année, calculé sur les ventes DVF d'un seul logement. Renvoie aussi le nombre de ventes et le prix médian.

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": {
      "code_insee": "<code_insee>"
    },
    "name": "dvf_statistiques"
  }
}

Input Schema

NameRequiredDescriptionDefault
depuisNo
code_inseeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: what is computed (median €/m² per year for houses and apartments), the source population (single-dwelling DVF sales only), and what is returned (sales count plus median price). It does not disclose coverage caveats or the historical depth of the 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?

Two tight sentences with the core purpose front-loaded and no filler. There is mild redundancy in restating the median price in the second sentence, but the sentence still earns its place by adding the sales-count return value.

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

Completeness3/5

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

A read-only, two-parameter tool with no output schema, so the description correctly supplies the return shape. However, it omits the meaning of both parameters and any note on DVF data coverage or historical limits, which matters for a statistics endpoint whose value depends on available years and communes.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and it does not. Neither the required INSEE code (format, where to obtain it) nor 'depuis' (start year, default 2021, minimum 2021) is mentioned; the schema only hints at code format via a regex pattern. An agent must infer that 'depuis' is the starting year of the year-by-year series.

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 precise resource: median price per m² for houses and apartments in a single commune, year by year, plus sales count. The aggregation basis ('calculé sur les ventes DVF d'un seul logement') implicitly separates it from the raw-sales sibling dvf_ventes, but no sibling is named explicitly, so the differentiation is left to inference.

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?

Usage is only implied by the phrase 'd'une commune, année par année' – an agent can infer this is the aggregate/statistics query rather than a listing. There is no explicit when-to-use vs dvf_ventes, no stated preconditions (e.g. that the commune must have DVF coverage), and no exclusions.

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