SEPA Rainfall History
sepa-scotland.rainfall.historyGet historical rainfall totals for one SEPA gauge station by station_no, aggregated by period: "hourly" (last 7 days), "daily" (last month), or "monthly" (multi-year archive, commonly a decade or more). Returns a timestamped list of rainfall totals in mm. Call sepa-scotland.stations_search first to find a station_no. Data: SEPA, no auth required, Open Government Licence v3.0.
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": {
"station_no": "<station_no>"
},
"name": "sepa-scotland.rainfall.history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Aggregation period: "hourly" (last 7 days), "daily" (last month), or "monthly" (multi-year history). Default "daily". | |
| station_no | Yes | SEPA rainfall gauge station number (e.g. "15018"). Obtain from sepa-scotland.stations_search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |