Latest real-time observation from the nearest AEMET weather station
get_nearest_observationFind the nearest AEMET weather station to a location and return its current temperature, humidity, wind, precipitation, and pressure readings.
Instructions
Finds the AEMET weather station closest to the requested location and returns its most recent reading (temperature, humidity, wind, precipitation, pressure). Useful for 'what's the weather right now' style questions.
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": {
"location": "<location>"
},
"name": "get_nearest_observation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | Where to observe. Accepts a Spanish municipality name ('Madrid'), 5-digit INE code ('28079'), or a decimal coordinate pair ('40.4168,-3.7038'). |