Skip to main content
Glama

Hauteur ou débit d'une rivière en temps réel

riviere_temps_reel

Fetches recent water height or flow readings for a French river station or site by code, ordered by date, with up to one month of history.

Instructions

Les dernières mesures d'une station ou d'un site : hauteur d'eau (en mètres) ou débit (en m³/s), les plus récentes d'abord. Un mois d'historique au plus. Si une station ne répond rien, essayez le code de son site.

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

Input Schema

NameRequiredDescriptionDefault
codeYesCode du site (8 caractères) ou de la station (10 caractères), donné par rivieres_stations.
depuisNoMesures à partir de cette date (AAAA-MM-JJ, un mois au plus).
nombreNoNombre de résultats (24 par défaut, 500 au plus).
grandeurNohauteur (m) ou debit (m³/s).debit

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 provided, so the description carries the full behavioral burden. It does add real behavior: result ordering (most recent first), a one-month history cap, and a documented workaround when a station returns no data. It's silent on permissions, rate limits, and failure mode, and the empty-response fallback is only hinted at, so this is adequate but not rich for a tool with zero annotations.

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?

Three short sentences, each earning its place: what is returned and in what order, the one-month limit, and the fallback trick. The output shape is front-loaded. Minor redundancy with the schema on units keeps it from being perfect, though nothing is wasted.

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?

With four fully documented parameters and no output schema, the description needs to say what comes back: it states both measurement types, their units, and the ordering. It also flags the empty-result case. What's missing is the relationship to the sibling station-lookup tool and daily-flow tool, so an agent still has to connect the workflow itself.

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%, and every parameter already explains its own role, including the units and the 500-result cap, so the baseline is 3. The description reinforces the one-month window tied to 'depuis' and repeats the units the enum already carries, adding no syntax or format detail beyond the schema.

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 and resource: it returns the latest measurements for a station or site, either water height in meters or flow in m³/s, with the most recent first. It's clear what the tool returns and how the data is ordered, but it never contrasts itself with riviere_debits_journaliers, which is also a river-flow tool. An agent must infer from the word 'dernières' that this tool is the real-time view rather than the historical one.

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?

The description gives two usage constraints: it covers at most one month of history, and a fallback to the site code is suggested when a station returns nothing. This is useful troubleshooting guidance, but it never states when to choose this tool over riviere_debits_journaliers or to fetch the code via rivieres_stations first, so the agent must infer the front of the workflow from the schema description alone.

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