SEPA Rainfall History
sepa-scotland.rainfall.historyRetrieve historical rainfall totals for a SEPA gauge station by station number and aggregate them hourly, daily, or monthly to analyze rainfall patterns over time.
Instructions
Get 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.
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. |