Skip to main content
Glama

Réseaux d'eau potable d'une commune

eau_potable_reseaux

Retrieve drinking water distribution networks that serve a French municipality by year, using an INSEE commune code and optional result limit.

Instructions

Les réseaux de distribution (unités de distribution) qui alimentent une commune en eau potable, par année. Une grande ville en a souvent plusieurs, par quartier.

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": {
      "code_commune": "<code_commune>"
    },
    "name": "eau_potable_reseaux"
  }
}

Input Schema

NameRequiredDescriptionDefault
anneeNoAnnée (la plus récente par défaut).
nombreNoNombre de résultats (20 par défaut, 100 au plus).
code_communeYesCode INSEE de la commune, 5 caractères (ex. 35238 pour Rennes). Voir trouver_commune.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses cardinality behavior — a large city often has several networks, per neighborhood — which tells the agent to expect multiple rows rather than a single entity. It does not state that the call is read-only, how results are ordered, or what fields a réseau record contains.

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?

Two short sentences, front-loaded with what is returned, followed by the one non-obvious behavioral fact. No filler, no restatement of the title.

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?

For a simple three-parameter lookup with fully documented schema this is nearly sufficient, and the cardinality note covers the main surprise. However, with no output schema, the description never indicates what a returned réseau record looks like or how the year filter behaves across multiple years, leaving a gap an agent will only discover at call time.

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%, so the schema already explains code_commune, annee and nombre. The description adds only the 'par année' framing, reinforcing that results are year-scoped, and the neighborhood note indirectly motivates the result count. Baseline 3 is appropriate when the schema does the heavy lifting.

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 (réseaux de distribution / unités de distribution) and a specific scope (alimentant une commune en eau potable, par année). It clearly distinguishes itself from a sibling like eau_potable_analyses by focusing on network geometry/entities rather than quality analyses, though it never names the 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 implied rather than stated: an agent can infer this is the lookup for 'which distribution networks serve commune X', but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool. The code_commune field description does point to trouver_commune, which is the only routing hint present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.