Skip to main content
Glama

get_commune

Read-onlyIdempotent

DataRespublica — fiche communale INSEE (territoires.level=commune) : population, superficie km², évolution démographique INSEE (série Population totale), prix DVF de tête, indicateurs fiscaux et sécurité quand présents.

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_commune"
  }
}

Input Schema

NameRequiredDescriptionDefault
commune_codeYesCode INSEE de la commune, sur 5 caractères en général (ex. 69123 pour Lyon, 2A004 pour Ajaccio)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / commune_code / description
      Previous value: -"Code INSEE commune (ex. 69123)"New value: +"Code INSEE de la commune, sur 5 caractères en général (ex. 69123 pour Lyon, 2A004 pour Ajaccio)"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds useful context beyond that: fiscal and safety indicators are conditional ('quand présents') and the DVF figure is a headline price only ('de tête'), implying the full DVF series lives elsewhere. It does not describe response shape or missing-data behavior, which keeps this at an adequate 3.

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?

A single dense sentence that front-loads the source and resource, then lists payload contents. Every clause conveys a distinct piece of information; only the parenthetical 'territoires.level=commune' is slightly implementation-flavored but still aids disambiguation.

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 read-only lookup with no output schema, the description compensates by enumerating the returned data categories, which is exactly what an agent needs to decide whether to call it. It omits return structure and what happens when optional indicators are absent, a minor gap given the tool's simplicity.

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?

With a single parameter at 100% schema description coverage, including format examples (69123, 2A004) and the 4-5 character constraint, the schema already carries the parameter semantics. The description adds nothing about commune_code beyond implying it is an INSEE code, 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 names a specific resource ('fiche communale INSEE', territoires.level=commune) and enumerates the contents returned: population, superficie km², INSEE demographic series, headline DVF price, fiscal and safety indicators. The verb is only implicit in 'fiche', but an agent can tell this is the aggregated commune fact sheet rather than a single-metric tool like get_dvf_commune or get_delinquance_commune.

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 statement, no exclusions, and no routing to sibling tools such as get_commune_loyers, get_dvf_commune, or get_delinquance_commune that overlap on the same territory. The only guidance-like element is 'quand présents', which describes field availability, not selection criteria.

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