Skip to main content
Glama

get_cadre_vie_commune

Read-onlyIdempotent

DataRespublica — cadre de vie d’une commune, tel qu’affiché sur sa fiche : historique des prix DVF, rendement locatif brut, répartition des DPE, zonage logement, climat récent vs 1991-2000, qualité de l’eau, offre de santé (comptes agrégés), résultats scolaires, équipements du quotidien (BPE), équipements sportifs, antennes mobiles, risques. Chaque bloc porte source, URL et millésime ; null = non publié ou donnée insuffisante.

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": {
      "commune_code": "<commune_code>"
    },
    "name": "get_cadre_vie_commune"
  }
}

Input Schema

NameRequiredDescriptionDefault
commune_codeYesCode INSEE communal ou d’arrondissement PLM (ex. 33063 pour Bordeaux, 75115 pour Paris 15e).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuinely useful behavior beyond that: each block carries its source, URL and vintage, and null means 'not published or insufficient data' – important for interpreting gaps. It does not disclose payload size, latency, or whether blocks can be individually requested.

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?

One dense sentence front-loads the identity ('cadre de vie d'une commune') before the block enumeration, then closes with the null/provenance caveat. The block list is long but each item earns its place by telling the agent what data is available. Slightly list-heavy, but no filler.

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?

For a one-parameter aggregate tool with no output schema, the description is fairly complete: it enumerates the returnable blocks, states that each block carries source/URL/vintage, and defines null semantics. What remains unstated is response shape and call weight, though the enumerated blocks largely substitute for an output schema.

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 coverage is 100% and the single parameter commune_code is fully documented in the schema, including the INSEE/PLM arrondissement pattern and examples (33063, 75115). The description adds nothing about the parameter, so the baseline 3 applies – the schema does all the work.

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 names a specific resource (cadre de vie d'une commune, as shown on its fiche) and enumerates the concrete blocks returned: DVF price history, gross rental yield, DPE breakdown, housing zoning, climate, water quality, health offer, school results, BPE facilities, sports facilities, mobile antennas, risks. An agent can tell it is a consolidated per-commune bundle rather than a single-topic tool. It stops short of naming a sibling to distinguish from overlapping ones (get_dvf_commune, get_commune_loyers).

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not guidance. The phrase 'tel qu'affiché sur sa fiche' implies this is the aggregate fiche view, but nothing tells the agent when to prefer it over single-topic siblings like get_dvf_commune or get_commune, nor whether it is a heavy call better avoided when only one block is needed.

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