Skip to main content
Glama

Nivel del río comparado con años anteriores

nivel_rio_comparado
Read-onlyIdempotent

Compares average river height for recent days against the same period each year since 2017, ranks the current level, and excludes low-data years to show if the river is high or low.

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.

Input Schema

NameRequiredDescriptionDefault
diasNo
hastaNo
estacionNoSalto

Output Schema

NameRequiredDescriptionDefault
notaYes
actualYes
bajadoYes
fuenteYes
estacionYes
posicionYes
anios_excluidosYes
anios_anterioresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds real behavioral context beyond them: years with sparse readings are excluded and surfaced in the output, and the first call may be slow (cold-start latency). That latency warning is exactly the kind of thing annotations cannot express.

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 tight sentences with the user-facing question front-loaded, then mechanics, then the edge-case caveats. Nothing is redundant; the only minor cost is that the question framing delays the operative description by one clause.

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?

An output schema exists, so return values need not be described, and the comparison logic and exclusion rule are well covered. The gap is the entirely undocumented `estacion` parameter — for a tool whose entire result depends on which station is queried, leaving that undocumented in a 0%-coverage schema is a real omission.

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?

With 0% schema description coverage the description must carry all parameter meaning, and it only partly does: `dias` gets a range (1–31) and `hasta` gets a default (today), but the date format for `hasta` is unstated and the `estacion` parameter is never mentioned at all, even though it defaults to "Salto". Two of three parameters are addressed, one is invisible.

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 states precisely what the tool computes: the average river height over the last `dias` up to `hasta`, compared against the same calendar days in every year since 2017, plus the resulting ranking. That is specific enough to separate it from the sibling `nivel_rio`, though the differentiation is only implicit (comparison vs. raw level) and is never stated outright.

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 opening question ("¿El río está alto o bajo para la época?") frames the use case well and implies when this tool is the right pick. However, no alternative is named and no exclusion is given — nothing tells the agent to prefer `nivel_rio` for a plain current reading, which is the most likely confusion given the sibling set.

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