Skip to main content
Glama

Nivel del río comparado con años anteriores

nivel_rio_comparado
Read-onlyIdempotent

Compares average river levels for recent days against the same period in previous years since 2017, showing whether the river is high or low and its historical rank.

Instructions

¿El río está alto o bajo para la época? Media de la altura en los últimos dias (1 a 31) hasta hasta (por defecto hoy), comparada con los mismos días de cada año desde 2017, y en qué lugar queda. Los años con pocas lecturas se excluyen y se listan. La primera consulta puede tardar.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nivel_rio_comparado"
  }
}

Input Schema

NameRequiredDescriptionDefault
diasNo
hastaNo
estacionNoSalto

Output Schema

NameRequiredDescriptionDefault
notaYes
avisoNo
actualYes
bajadoYes
fuenteYes
estacionYes
posicionYes
copia_vencidaNo
anios_excluidosYes
anios_anterioresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "title": "Aviso",
      +  "type": "string"
      +}
    • addedOutput schema / properties / copia_vencida
      Added value: +{
      +  "title": "Copia Vencida",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: low-coverage years are excluded from the comparison and reported as a list, and the first call can be slow (a cold-start latency warning). It does not say how many years typically qualify or what the ranking is computed against, but the essentials are present.

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?

Three sentences, front-loaded with the question that motivates the tool, then the mechanics, then the two operational caveats (excluded years, slow first call). No filler and no restatement of the name.

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?

An output schema exists, so return values need not be explained, and the description responsibly covers the two things an agent could otherwise trip on: data-quality exclusions and initial latency. The remaining gap is station selection, which is undocumented anywhere. Given the low parameter count and the rich annotation set, it is close to complete.

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 0%, so the description carries the burden and partially meets it: it constrains `dias` to 1-31 and clarifies that `hasta` defaults to today (the schema's default of an empty string is otherwise meaningless). However, the `estacion` parameter and its default of 'Salto' are never mentioned at all, leaving a third of the inputs to guesswork.

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?

States a precise and non-trivial operation: the mean river height over the last `dias` up to `hasta`, benchmarked against the same calendar days each year since 2017, plus the resulting rank. That is far more specific than the bare name, and the seasonal framing ('¿El río está alto o bajo para la época?') makes the output concept clear. It does not explicitly name or contrast with the sibling `nivel_rio`, so an agent must infer the distinction between a single reading and this historical comparison.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The opening question functions as a clear use-case trigger: reach for this when the user wants seasonal/historical context rather than a raw current value. There are no explicit exclusions or named alternatives, but the context is unambiguous enough for selection. It stops short of the top score because it never says when the simpler `nivel_rio` is the better choice.

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