Skip to main content
Glama

UK Flood Warnings & Alerts

uk-ea-flood-monitoring.warnings.current
Read-onlyIdempotent

Get currently active flood warnings and alerts for England from the UK Environment Agency, filterable by minimum severity (1=Severe Flood Warning down to 4=Warning no longer in force), county, or a geographic radius (lat/long/dist). Returns each warning's flood area, county, affected river or sea, severity, tidal flag, public message, and when it was raised/last changed. Data: environment.data.gov.uk/flood-monitoring, UK Open Government Licence v3.0, no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude for a geographic radius filter — use with `long` and `dist`.
distNoSearch radius in kilometres around `lat`/`long` — use with both.
longNoLongitude for a geographic radius filter — use with `lat` and `dist`.
countyNoFilter by county name of the affected flood area (e.g. "Devon", "North Yorkshire").
min_severityNoFilter to warnings at this severity or more severe (lower number = more severe): 1=Severe Flood Warning (danger to life), 2=Flood Warning (immediate action), 3=Flood Alert (be prepared), 4=Warning no longer in force. Omit for all active items.

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 declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive behavior. The description adds meaningful context beyond those: the upstream data source (environment.data.gov.uk/flood-monitoring), the UK Open Government Licence, and that no auth is required. It also discloses the exact fields returned, which helps set expectations without contradicting any annotation.

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 dense sentences with no filler: the first states action and filters, the second lists return fields, the third covers data source/license/auth. Key scoping information ('currently active', 'England') is front-loaded, and 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?

Given the rich input schema, abundant annotations, and existence of an output schema, the description is nearly complete. It covers filters, return contents, data provenance, licensing, and auth. The only minor gap is no explicit note on how filters combine (e.g., whether county and radius can be used together), but the schema's per-parameter 'use with' notes partially cover this.

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 description coverage is 100%, with every parameter (lat, long, dist, county, min_severity) already explained in the input schema. The description mostly restates the severity scale and filter options already present in the schema, adding no genuinely new parameter-level meaning. Baseline 3 is appropriate when the schema carries the semantic load.

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?

Description opens with a specific verb ('Get') and resource ('currently active flood warnings and alerts for England from the UK Environment Agency'), immediately distinguishing it from sibling station-focused tools like uk-ea-flood-monitoring.stations.readings and uk-ea-flood-monitoring.stations.search. It also enumerates filter options and return fields, leaving no ambiguity about what the tool does.

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 frames the tool as returning current warnings/alerts and names all filter dimensions, giving an agent clear context for when to call it. However, it does not explicitly say 'use stations.search for station data' or mention any exclusion cases, so it stops short of explicit when-not guidance.

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.