Skip to main content
Glama

France API Geo Official Municipalities & Regions MCP

Search France communes

search_france_communes
Read-onlyIdempotent

Search official French INSEE communes by name, postal code, departement code, or region code.

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

Input Schema

NameRequiredDescriptionDefault
nomNoCommune name search query (e.g. "Paris", "Lyon", "Marseille").
limitNoMaximum communes to return (default 10).
code_postalNo5-digit French postal code (e.g. "75001", "69002").
code_regionNo2-digit INSEE region code (e.g. "11" for Ile-de-France).
code_departementNo2 or 3 character departement code (e.g. "75", "69", "2A", "974").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds almost nothing behavioral beyond the word "official" — it doesn't say whether matching is substring or prefix, whether accents/case are normalized, or how multiple supplied codes combine (AND vs OR), which are the real ambiguities for a search tool.

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?

A single front-loaded sentence that states the verb, the resource, and the accepted filter keys with zero filler. Nothing could be removed without losing information.

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?

Annotations cover safety and the schema fully documents all five optional parameters, so an agent can call the tool. What's missing is behavioral detail: filter combination semantics, matching strictness, and result ordering — meaningful gaps for a search tool with no output schema to clarify shape.

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 description coverage is 100%, with each parameter carrying format examples (5-digit postal code, 2–3 char departement code including "2A"/"974", limit max 25, default 10). The description only restates the parameter names in prose, adding no extra semantics, so the baseline 3 applies.

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 gives a specific verb ("Search") plus a precisely scoped resource ("official French INSEE communes") and enumerates the four filter axes. It implicitly separates itself from get_france_commune_by_insee by framing this as a search rather than a lookup, but it never names a sibling explicitly.

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: the list of filterable fields suggests a query/filter-style lookup, but there is no statement of when to prefer this over get_france_commune_by_insee or the list_france_* tools. No preconditions or exclusions are given, leaving routing to inference from tool names.

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.