Skip to main content
Glama

SEPA Rainfall Station Search

sepa-scotland.rainfall.stations
Read-onlyIdempotent

Search Scotland's ~280-gauge live rainfall telemetry network by station name substring (e.g. "Glasgow"), or list all stations. Returns each station's number, name, latitude/longitude, and latest reading (value in mm and timestamp). Call sepa-scotland.station_current or sepa-scotland.rainfall_history with a result's station_no for live or historical data. Data: SEPA (Scottish Environment Protection Agency), no auth required, Open Government Licence v3.0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of stations to return (1-50, default 20)
queryNoSubstring to match against rainfall gauge station names (e.g. "Glasgow"). Omit to list all ~280 stations.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, etc., and the description adds data source, licensing, no-auth requirement, and return field details, providing good transparency beyond the structured metadata.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core action, no filler. Every sentence earns its place.

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?

The description covers the search behavior, return fields, data source, licensing, and how to chain to sibling tools. The only flaw is the incorrect sibling tool name, which prevents it from being fully complete.

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 descriptions already fully document both parameters (limit and query) with defaults and examples, so the description adds little beyond restating them. Baseline 3 is appropriate.

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 (search/list) and resource (rainfall stations), and explicitly distinguishes from the current/history tools by explaining the intended downstream use. The description clearly identifies what the tool does and how it differs from siblings.

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?

The description clearly directs the agent to use sepa-scotland.station_current or sepa-scotland.rainfall_history for live or historical data, but the first tool name appears incorrect (should be sepa-scotland.rainfall.current based on siblings). This minor inaccuracy could mislead, so not a perfect 5.

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.