Skip to main content
Glama

Infoparcelle - cadastre, DVF, DPE, PLU

infoparcelle_municipalites_search

Read-onlyIdempotent

🏙️ Rechercher des communes (municipalités) françaises.

Fonction: Trouver des communes par code INSEE, nom, département, région ou coordonnées GPS.

Retourne:

  • Code INSEE de la commune (identifiant unique)

  • Nom officiel

  • Code postal(s)

  • Département et région

  • Superficie et périmètre

  • Population

  • Coordonnées GPS (centre)

  • Géométrie (contour de la commune si demandé)

Cas d'usage:

  • Trouver le code INSEE d'une commune par son nom

  • Lister toutes les communes d'un département

  • Identifier la commune la plus proche de coordonnées GPS

  • Obtenir les limites géographiques d'une commune

  • Rechercher des communes par région

Exemples:

  1. Trouver Paris: { nom: "Paris" }

  2. Toutes les communes du département 75: { code_departement: "75" }

  3. Commune la plus proche de coordonnées: { lat: 48.8566, lon: 2.3522 }

  4. Communes commençant par "Saint" dans le 69: { nom: "Saint", code_departement: "69" }

Conseils:

  • Utilisez le code INSEE pour une identification précise

  • La recherche par nom est insensible à la casse et accepte les correspondances partielles

  • Utilisez geometrie='contour' pour obtenir les limites administratives

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

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (avec lon)
lonNoLongitude (avec lat)
nomNoNom de la commune (recherche partielle)
codeNoCode INSEE (5 car). Ex: '75056'
champsNoChamps souhaités. Valeurs possibles: nom, code, codes_postaux, superficie, population, departement, region, est_rnu, perimetre, centre, contour, bbox
formatNoFormatjson
limiteNoRésultats/page
curseurNoCurseur pagination
champ_triNoChamp de tri
geometrieNoGéométriecentre
ordre_triNoDirection triasc
code_regionNoCode région. Ex: '11'
code_departementNoCode département (2-3 car). Ex: '75'

Output Schema

NameRequiredDescriptionDefault
donneesYes
paginationNoPagination a curseur.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral detail beyond that – case-insensitive partial name matching, the precision of code INSEE, and the geometrie='contour' option. It says nothing about pagination semantics (curseur flow, the 50-result cap) or what an empty result looks like, so it does not exceed a solid baseline.

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?

Bold section headers and numbered examples make it well front-loaded and scannable, and the examples genuinely earn their space. The "Retourne" list, however, restates every returned field even though an output schema exists, making that block largely redundant.

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 13-parameter tool with full annotation and output-schema coverage, the description supplies enough context to call it correctly in the common cases. Remaining gaps are the unmentioned sort parameters and the mechanics of cursor-based paging, both of which an agent would have to infer from the schema alone.

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 coverage is 100%, so the baseline is 3; the description earns the bump by adding semantics the schema lacks – case-insensitive partial matching for nom, preference for code INSEE for exact identification, and the explicit combination of nom with code_departement. The sorting parameters (champ_tri, ordre_tri) and pagination cursor are still left entirely to the schema.

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 verb and resource ("Rechercher des communes françaises") and enumerates the five search axes (code INSEE, nom, département, région, GPS). It is easy to tell what the tool does, but it never contrasts itself with the geocoder siblings (infoparcelle_geocoder_search, infoparcelle_geocoder_coordinates), which is a real ambiguity given the "commune la plus proche de coordonnées GPS" use case.

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?

The "Cas d'usage" block gives five concrete scenarios and four worked examples, including a combined-filter case (nom + code_departement), which tells the agent when the tool is appropriate. It stops short of exclusions – nothing says when to prefer a geocoder sibling or what to do if no commune matches.

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