Skip to main content
Glama

Analyses de l'eau du robinet

eau_potable_analyses

Retrieve recent tap water quality test results for a French municipality, grouped by sampling with compliance conclusions, quality limits, and parameter references.

Instructions

Les derniers résultats du contrôle sanitaire de l'eau du robinet d'une commune, regroupés par prélèvement, avec la conclusion de conformité, les limites et les références de qualité. Les plus récents d'abord.

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

Input Schema

NameRequiredDescriptionDefault
depuisNoPrélèvements à partir de cette date (AAAA-MM-JJ).
nombreNoNombre de résultats (30 par défaut, 200 au plus).
parametreNoLibellé exact du paramètre, pour ne garder que lui (ex. « Nitrates (en NO3) », « Escherichia coli /100ml - MF », « Chlore libre »).
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

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the disclosure burden. It does add real behavioral value: output is grouped by prélèvement, ordered most-recent-first, and includes compliance conclusions plus limit/reference values. However, it never states that this is a non-mutating read operation, nor does it describe result volume/pagination behavior beyond what the schema's 'nombre' parameter implies.

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 well-formed sentence that front-loads the resource and then the returned content and ordering. No filler or repetition. Slightly short of 5 only because the tightness comes at the cost of omitting usage routing.

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 simple read query with no output schema, the description adequately conveys what is returned (per-sampling results with conformity conclusion, limits and references) and in what order. With no annotations, the omission of an explicit read-only statement is the main residual gap; otherwise an agent has enough to call it correctly.

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 all four parameters (code_commune, depuis, nombre, parametre) are already documented with patterns, bounds and examples. The description's 'grouped by prélèvement' and 'most recent first' mildly reinforce the semantics of depuis/nombre ordering, but add no new syntax or format detail. Baseline 3 is appropriate.

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+resource in concrete terms: it returns the latest sanitary-control results for tap water in a municipality, grouped by sampling, with compliance conclusion, quality limits and references. An agent knows exactly what comes back. It stops short of 5 because it never distinguishes itself from the sibling eau_potable_reseaux, which an agent could plausibly confuse it with.

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 or when-not-to-use guidance and no mention of alternatives, including the closely related eau_potable_reseaux. Usage is only inferable from the resource named (a municipality's tap-water analyses). The schema hints at trouver_commune via the code_commune description, but that routing cue lives in the schema, not the description.

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