Skip to main content
Glama

SiteCheck Shop & Social

Spanish weather station observations from AEMET OpenData

weather_aemet_spain_weather
Read-only

Spanish weather station observations from AEMET OpenData (official): latest hourly readings (temperature, humidity, wind, pressure, precipitation…) for all stations or one station ID (idema, e.g. 3195 Madrid Retiro), as published by AEMET. Requires the operator's free AEMET OpenData key. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
limitNoRows, 1 to 500 (default 100)
stationNoAEMET station ID (idema), e.g. 3195; empty = all stations

Output Schema

NameRequiredDescriptionDefault
countNo
sourceNo
stationNo
checkedAtNo
observationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds materially: an operator-supplied AEMET OpenData key is required, each successful call costs $0.002 via x402 (USDC on Base, Solana, etc.), and failures are not billed. That cost/auth model is exactly the kind of context annotations cannot express; only rate limits and data latency caveats are absent.

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?

Front-loaded with what the tool returns, then key scope, then auth and pricing in one compact sentence each. The pricing/network detail is dense but earns its place since it is a paid tool; no filler sentences.

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?

For a two-parameter read tool with an output schema, the description covers source, scope, variables, auth requirement and billing model. Minor gaps remain on units, update lag and rate limits, but nothing that would cause a misexecution.

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% and already documents both fields, including 'empty = all stations' and the 3195 example. The description adds only the station name 'Madrid Retiro' as a concrete anchor, so the baseline 3 applies.

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+scope: 'latest hourly readings ... for all stations or one station ID (idema)' from official AEMET OpenData, with the measured variables enumerated. An agent immediately knows this is station observation data, not forecasts or other geography.

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?

Gives clear selection context: omit station to get all stations, or pass a single idema such as 3195 Madrid Retiro. No alternatives or exclusions are named, but the sibling list contains no competing weather tools, so there is little to disambiguate.

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