Skip to main content
Glama

Parcellaire — cadastre, DVF & DPE

Rechercher une commune

search_communes
Read-onlyIdempotent

Recherche une commune française par nom ou code postal. Retourne le code INSEE (utilisable comme insee_id de get_commune_stats), les coordonnées et l'URL de la page cadastre quand elle existe. Les autres outils acceptent directement un nom de commune : utiliser search_communes pour lever une ambiguïté ou obtenir le code INSEE.

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": {
      "query": "<query>"
    },
    "name": "search_communes"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesNom de commune ou code postal, ex: 'Bordeaux' ou '33000'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish this is a safe, idempotent, closed-world read, so the description need not restate safety. It adds genuinely useful context beyond the annotations by describing the return payload, including the conditional cadastre URL ('quand elle existe'). It stops short of saying what happens on ambiguous multi-match input, which is the one behavioral detail left implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences with no filler: what it does, what it returns, and when to prefer it. The most decision-relevant routing information is placed where an agent will read it, and the downstream insee_id link is stated inline rather than buried.

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 no output schema, the description carries the return-value burden and discharges it by listing the three returned fields. Combined with the annotation set covering safety and determinism, an agent has enough to call this correctly. Only the shape of ambiguous or empty results is left unaddressed.

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 already carries a description with examples ('Bordeaux' ou '33000'). The description restates the same accepted inputs (nom ou code postal) without adding syntax, normalization, or partial-match rules beyond what the schema provides, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Recherche une commune française'), specifies the two lookup keys (nom, code postal), and enumerates what comes back (code INSEE, coordonnées, URL cadastre). It also positions itself against siblings by noting that other tools accept a commune name directly, so the agent can tell why this tool exists as a separate lookup.

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

Usage Guidelines5/5

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

Explicit when-to-use is given: to resolve ambiguity or to obtain the INSEE code. It also states a when-not-to-use by clarifying that other tools take a commune name directly, which prevents unnecessary calls. It further names the downstream consumer of the return value ('utilisable comme insee_id de get_commune_stats'), making the ordering of calls obvious.

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