Skip to main content
Glama

Ukflood Warnings

ukflood_warnings
Read-onlyIdempotent

Flood warnings and flood alerts currently in force across England, from the Environment Agency. AUTHORITATIVE for "is there a flood warning in ", this is the feed the government broadcasts from, not a model. Returns each warning with its severity (Severe Flood Warning / Flood Warning / Flood Alert), the named flood area, county, river or sea, the EA message text and when it was last changed, plus a count by severity. A quiet day legitimately returns zero warnings in force; the severity counts are still returned so you can tell "nothing is happening" from "the call failed". Covers England only, Wales (NRW), Scotland (SEPA) and Northern Ireland publish elsewhere.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "min_severity": 4
    },
    "name": "ukflood_warnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax warnings to return (default 50, max 200).
countyNoOptional county filter, exactly as the EA spells it, e.g. "Lincolnshire", "Somerset".
min_severityNoLowest severity to include: 1 Severe Flood Warning, 2 Flood Warning, 3 Flood Alert, 4 also include warnings no longer in force. Default 3 (all live warnings and alerts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive, so the bar is lower, yet the description still adds substantial context: the data is authoritative rather than modeled, the response includes severity, area, county, river/sea, EA message text, last-changed time and severity counts. Most valuably it pre-empts the empty-result ambiguity — "a quiet day legitimately returns zero warnings in force; the severity counts are still returned so you can tell 'nothing is happening' from 'the call failed'".

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?

Front-loaded with the identity and scope, then the return contents, then the empty-result caveat, then coverage boundaries — a sensible ordering. It is dense but nearly every sentence carries decision-relevant information; the severity tier list is mildly redundant with the schema's min_severity definition.

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?

With no output schema, the description does the work of explaining the return payload (fields plus severity counts) and the zero-result semantics, and it bounds the geography. The main omission is any mention of the default/max result limit behavior, though that is fully specified in the schema. An agent has enough to call this correctly and interpret an empty response.

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%, so all three parameters (limit, county, min_severity) are already documented, including the non-obvious min_severity=4 case for warnings no longer in force. The description's enumeration of the three severity tiers loosely parallels the min_severity scale but adds no filtering syntax or semantics beyond the schema. Baseline 3 applies.

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 and resource ("Flood warnings and flood alerts currently in force") plus a precise scope ("across England, from the Environment Agency"). It explicitly distinguishes itself from modeling tools ("this is the feed the government broadcasts from, not a model") and from other national agencies, so an agent can identify it without opening the schema.

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?

Gives a concrete use case in quotes — "is there a flood warning in <English place>" — which is exactly the kind of when-to-use framing an agent needs. It also states the geographic exclusions (Wales/NRW, Scotland/SEPA, Northern Ireland). It does not name sibling tools like ukflood_areas or ukflood_station_readings, so routing among the flood family is left to inference.

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.