Skip to main content
Glama

Live flood warnings near a postcode

flood_warnings
Read-onlyIdempotent

Reads the Environment Agency real time flood warning service (England, updated every 15 minutes) for flood alerts, flood warnings and severe flood warnings near the customer's postcode, and gives the plain-English reading for the customer: flood water or a plumbing fault, whether to send an engineer, Floodline's number. Wales, Scotland and Northern Ireland get the link to their own flood service. Use it before emergency_triage when water is coming in. Example: {"postcode":"YO1 7HH","radius_km":10}.

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": {
      "postcode": "<postcode>"
    },
    "name": "flood_warnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
postcodeYesThe property's full UK postcode.
radius_kmNoSearch radius, 1 to 50 km. Default 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety bar is low; the description still adds substantive behavior beyond them. It discloses the geographic scope (England only), data currency (updated every 15 minutes), what the response is interpreted into (flood water vs plumbing fault, engineer dispatch advice, Floodline number), and the graceful fallback for other UK nations.

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 verb, source and resource, followed by interpretation, use ordering and an example — a sensible progression with no filler sentences. It is dense though: the enumeration of alert/warning/severe warning plus the interpretation list makes the first sentence long, and slight tightening would improve scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two parameters, full schema coverage, and annotations covering the safety profile, the remaining risk was ambiguity about scope and output — both are addressed (England-only coverage, fallback links, plain-English interpretation). No output schema exists, yet the description still tells the agent what kind of answer comes back, which is exactly what a caller needs before invoking it in an emergency flow.

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 both parameters including the 1-50 km range and the default of 10 are already documented in structured data. The description only adds a concrete example call that illustrates postcode format and a typical radius, which is marginal extra meaning. Baseline 3 is appropriate when the schema does the heavy lifting.

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: reads the Environment Agency real-time flood warning service and returns alerts/warnings/severe warnings near the customer's postcode with a plain-English interpretation. It also distinguishes itself from emergency_triage by ordering and by naming the devolved-nation alternatives, so an agent can tell what it is 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 Guidelines5/5

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

"Use it before emergency_triage when water is coming in" gives an explicit sequencing rule and trigger condition, and the Wales/Scotland/Northern Ireland sentence tells the agent when this tool will not return local data and what it does instead. Coverage limits and the alternative path are both spelled out.

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.