Skip to main content
Glama

Llueve

Lluvia reciente sobre la cuenca

get_recent_rain
Read-onlyIdempotent

ES: Lluvia caída en las últimas 1, 6, 12, 24 y 72 h sobre la cuenca vertiente de un embalse, o sobre la de cada embalse del que bebe un municipio (los de origen y los de aguas arriba): mm de media, volumen en hm³, % de la cuenca cubierta y número de pluviómetros. EN: Rain over the last 1, 6, 12, 24 and 72 h on a reservoir's catchment, or on the catchment of each reservoir a town draws on (source and upstream): mean mm, volume in hm³, share of the catchment covered and gauge count.

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": {
      "target": "<target>"
    },
    "name": "get_recent_rain"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoPara deshacer la ambigüedad cuando un embalse y un municipio se llaman igual / disambiguates a shared name
targetYesEmbalse o municipio: nombre, código (id MITECO o código INE) o slug / reservoir or town: name, code or slug
windowNoHoras: 1, 6, 12, 24 o 72; sin valor = todas / hours; omit for all

Output Schema

NameRequiredDescriptionDefault
urlYesPágina de Llueve para citar / the Llueve page to cite
as_ofYesFecha del dato más reciente (UTC, ISO 8601) / timestamp of the newest figure
notesYesAvisos: datos que faltan y por qué / caveats and gaps, in Spanish
sourceYesDe dónde salen las cifras / where the figures come from
targetYes
windows_hYes
reservoirsYes
attributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds non-obvious scope information: for a town, results aggregate the source reservoirs plus upstream ones, which is a user-visible aggregation rule not expressed in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scope and metrics are front-loaded and every clause carries information, but the full text is duplicated verbatim in Spanish and English, effectively doubling length without adding meaning for an agent that only needs one pass.

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 an output schema present, a 100%-covered input schema, and full read-only annotations, the remaining burden on the description is scope and aggregation behavior — both are covered. Minor gaps remain around ambiguity handling for name lookups and whether catchment figures are precomputed or interpolated.

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 coverage is 100%, so kind, target and window are already documented including the allowed hour values and default-to-all behavior. The description reinforces target semantics by explaining that a town maps to multiple upstream reservoirs, but adds no format or syntax detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 — rainfall totals over defined windows (1, 6, 12, 24, 72 h) on a reservoir catchment or on the catchments of reservoirs a town draws on — plus the exact metrics returned. That resource is distinctive enough that an agent can separate it from reservoir/town lookup siblings without opening a schema.

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 by the scope statement: query it when you want recent rainfall over a catchment rather than reservoir levels or history. However, no sibling is named, no when-not condition is given, and no guidance is offered on choosing reservoir vs town targets, leaving the agent to infer routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources