Skip to main content
Glama

dato402 - Spain & EU data

Official AEMET weather forecast for any Spanish municipality

spain_weather_forecast
Read-onlyIdempotent

Official AEMET weather forecast for any Spanish municipality (up to 7 days): sky, max and min temperature, chance of rain, wind, gusts and UV index.

ES: Previsión del tiempo oficial de AEMET para cualquier municipio de España (hasta 7 días): estado del cielo, temperaturas máxima y mínima, probabilidad de lluvia, viento, rachas e índice UV.

Free tool (no API key, no payment). Official Spanish/EU open data.

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": "spain_weather_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitud (opcional)
lonNoLongitud (opcional)
diasNoDías de previsión (1-7, por defecto 4)
codigoNoCódigo INE de 5 cifras (opcional)
municipioNoNombre del municipio, p. ej. Sevilla
provinciaNoProvincia (opcional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, and the description adds useful context beyond them: the data is official AEMET, requires no API key or payment, and is capped at 7 days. It still omits resolution behavior for ambiguous municipality names and error handling for unknown locations.

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?

Front-loaded and well structured, with the forecast scope and data fields first. However, the entire content is duplicated verbatim in Spanish, roughly doubling length for an agent that already has the English sentence.

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 no output schema, the description usefully enumerates expected return fields (sky, max/min temperature, rain probability, wind, gusts, UV index). For a 6-parameter, all-optional geolocation-dependent tool, the main remaining gap is guidance on which location parameter to supply.

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 all six parameters are already documented, including the 1-7 day range and the 5-digit INE code. The description adds only the implied constraint that the location must be a Spanish municipality; it does not explain precedence among municipio, codigo, and lat/lon.

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?

States a specific verb+resource (official AEMET weather forecast) with scope (any Spanish municipality, up to 7 days) and enumerates the returned data fields, so the agent knows exactly what it gets. No sibling in the catalog offers weather data, so no disambiguation is needed.

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?

Provides context (free, no API key, official Spanish/EU open data, Spanish municipalities only) but gives no explicit when-to-use/when-not guidance. It does not tell the agent how to choose between the alternate location parameters (municipio vs codigo INE vs lat/lon) or what to do when the place is not in Spain.

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