measurements_history
Retrieve historical weather and snow measurements for a Swiss place over past days or date ranges to check how warm, wet, or snowy conditions were.
Instructions
Get the weather and the snow measured near a place on past days, for one day or several days in a row.
Use this for "how warm was it yesterday", "how much did it rain last week" or "how much snow was
there on this day last year". The weather comes from a MeteoSwiss station and the snow from a
MeteoSwiss or SLF station, each named in the data_from of its block; without data_from, the station
is next to the place. Each weather day covers a UTC day, 00:00 to 24:00 UTC, which is 01:00 to 01:00
Swiss time in winter and 02:00 to 02:00 in summer. When a station did not yet measure the rain per
UTC day, a day has rain_06_to_06_utc_mm instead of rain_mm: the rain from 06:00 UTC on the day to
06:00 UTC the next day. The snow depth is measured at 06:00 UTC on the day, and the new snow covers
the 24 hours from then. A day's values are published the next morning. The days go back to
when the station started, at some stations to the 1860s. For the warmest day of a year, ask for
all its days. For the same day in several years, call once per year. For each data_from, always
say which station the values come from, how far away it is and how much higher or lower.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
start_date (str): The first day, e.g. "2026-09-23". Yesterday or earlier; days from today
on are left out.
days (int): How many days in a row, from 1 to 366, so up to a whole year. Default 1.
values (str): Optional. "weather" or "snow" for only one of them; without it, both.
Returns:
dict: the place; weather: data_from when its station is not next to the place, and per day:
date, weekday, mean, lowest and highest temperature, rain, sunshine hours and strongest
gust; snow: data_from in the same way, and per day: date, snow depth and new snow. A value
is None when the station did not measure it. snow is null when no snow station close
enough in distance and height measured on the days.
Examples:
measurements_history("Zürich", "2026-09-22")
measurements_history("Zürich", "2026-09-14", 7) # a week
measurements_history("Zürich", "2025-01-01", 365) # a whole year
measurements_history("Zürich", "1990-02-27")
measurements_history("Davos Dorf", "2025-01-01", 7, "snow") # only the snow
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>",
"start_date": "<start_date>"
},
"name": "measurements_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| near | No | Only when several places share the name: a village next to the place the user means. For "the Blausee near Bettmeralp" use location "Blausee" and near "Bettmeralp". Leave it out otherwise. | |
| values | No | ||
| location | Yes | ||
| start_date | Yes |