Skip to main content
Glama

weather_uk_flood_warnings

Read-only

England flood warnings now (Environment Agency) — Live flood warnings and flood alerts for England from the Environment Agency real-time flood-monitoring API (updated every 15 minutes). Returns an overall status (SEVERE_FLOOD_WARNING, FLOOD_WARNING, FLOOD_ALERT or NO_ACTIVE_WARNINGS), counts by severity and each warning with severity, flood area, county, river or sea, tidal flag, times raised/changed and the official message. Optional: lat + lon (England) with radius_km (default 40, max 300) to search around a point, county (substring match, e.g. Somerset), min_severity 1-4 (1 severe only, 2 adds flood warnings, 3 adds flood alerts = default, 4 adds warnings no longer in force), n (max rows, default 50). Last good copy kept in KV and flagged stale if upstream fails. Attribution: this uses Environment Agency flood and river level data from the real-time data API (Beta), Open Government Licence v3.0. Price: $0.003 USDC (Base, via x402).

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": {
      "min_severity": "<min_severity>"
    },
    "name": "weather_uk_flood_warnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
min_severityYes3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish a read-only, open-world, non-destructive operation, and the description adds real behavioral context on top: a 15-minute refresh cadence, a fallback KV copy flagged stale when upstream fails, and the per-call cost. However, it says nothing about rate limits or how partial or failed responses surface beyond the stale flag.

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

Conciseness4/5

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

The description is front-loaded: purpose first, then return shape, then filters, then operational notes. It is dense and mostly earns its length, though the long parenthetical enumerations and the boilerplate attribution/pricing tail make it heavier than strictly needed.

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?

There is no output schema, and the description compensates by enumerating the returned status values, per-warning fields, and aggregates, plus the stale-cache fallback and pricing. The residual gap is the mismatch between the described filter set and the single-parameter input schema, which an agent would have to reconcile on its own.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds substantial meaning beyond the schema: defaults and caps for radius_km (40, max 300) and n (50), the semantics of each min_severity level (1 = severe only … 4 = includes warnings no longer in force), and a concrete county example (Somerset). However, the schema exposes only min_severity as a string and omits lat, lon, radius_km, county, and n entirely, so the described surface does not match the declared input.

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?

The description states a specific resource (live flood warnings and flood alerts for England from the Environment Agency real-time flood-monitoring API), names the overall status taxonomy, and makes the geographic and source scope clear enough to separate it from generic alerts or river-level siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives implied usage through the min_severity ladder and the point-radius option ("to search around a point"), but it never says when to prefer this tool over alternatives such as the river-level or broader alert tools, and there are no exclusions.

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.

Resources