Skip to main content
Glama

Débits moyens journaliers d'une rivière

riviere_debits_journaliers

Retrieve daily mean river flow (m³/s) for a station or site over a chosen date range, defaulting to the last 30 days; use it to review recent and historical flow records.

Instructions

Le débit moyen de chaque jour (en m³/s) d'une station ou d'un site, du plus ancien au plus récent. Par défaut, les 30 derniers jours ; l'historique remonte souvent à plusieurs décennies.

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": "<code>"
    },
    "name": "riviere_debits_journaliers"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesCode du site (8 caractères) ou de la station (10 caractères), donné par rivieres_stations.
depuisNoPremier jour (AAAA-MM-JJ, il y a 30 jours par défaut).
nombreNoNombre de résultats (31 par défaut, 366 au plus).
jusqu_aNoDernier jour (AAAA-MM-JJ).

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?

No annotations are supplied, so the description must carry the load. It usefully discloses result ordering, the 30-day default window, and historical depth, but says nothing about the interaction between 'nombre' and the date range, whether data is paginated, or how gaps/missing days are represented.

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?

Two compact sentences, with the returned quantity and its unit stated first and the default/history context second. Nothing is redundant, though the second sentence leans on an imprecise qualifier ('souvent à plusieurs décennies').

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?

There is no output schema, and the description adequately covers the payload (daily mean flow in m³/s), its ordering, and the default time window. Remaining gaps — pagination and the resolution of overlapping date/count parameters — are moderate but not blocking for a read-only retrieval tool.

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 baseline is 3; each parameter is already documented in the schema. The description reinforces the default window and the chronological ordering, but does not clarify how 'nombre' (max 366) interacts with 'depuis'/'jusqu_a' when both are provided.

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 and measure — the mean daily discharge in m³/s for a station or site — plus the ordering ('du plus ancien au plus récent'). It is clearly distinguishable from a real-time feed, but it never names the sibling riviere_temps_reel, so the differentiation is left implicit.

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: 'Par défaut, les 30 derniers jours' tells the agent what happens if it supplies nothing, and 'l'historique remonte souvent à plusieurs décennies' hints at long-range retrieval. There is no explicit when-to-use/when-not statement and no mention of when to prefer the real-time sibling.

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