Skip to main content
Glama

weather_england_rainfall

Read-only

England rainfall (Environment Agency rain gauges) — Observed rainfall from the nearest reporting Environment Agency tipping-bucket rain gauge in England (15-minute data): totals for the last 1h, 3h, 6h, 24h, 48h, 72h and 7 days, a dry/light/moderate/heavy label for the last 24h, peak 15-minute intensity in the last 24h (mm and mm/h), last rain time and dry hours, daily totals (UTC) and 24h totals at up to 3 nearby gauges. lat and lon required (England only; for Scotland use /v1/weather/scotland-rainfall). Source: Environment Agency real-time flood-monitoring API, 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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "weather_england_rainfall"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes51.5074
lonYes-0.1278

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond readOnlyHint/openWorldHint by disclosing the upstream source (EA real-time flood-monitoring API), licence (OGL v3.0), data resolution (15-minute), gauge-selection behavior (nearest gauge, plus up to 3 nearby), and notably a paid x402 call at $0.003 USDC on Base — a cost/auth fact an agent must know before invoking. It does not state failure behavior when no gauge is nearby or coverage/rate limits, keeping it short of a 5.

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?

A single front-loaded paragraph that leads with the resource and scope, then metrics, then requirements and cost. The metric enumeration is long but each item is decision-relevant; the licence and price sentences are the only parts that could be tightened.

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 no output schema, the description carries the return-value burden and does so by listing the aggregates, intensity fields, and nearby-gauge totals. Combined with source, resolution, coverage boundary, and pricing, an agent has everything needed to call it correctly and to anticipate the cost.

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?

Schema coverage is 100%, but the schema's own parameter descriptions are bare example values ('51.5074', '-0.1278') with no types guidance. The description compensates by declaring both required, constraining them to England only, and explaining that the location is used to select the nearest reporting gauge, which is meaning the schema does not convey.

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+resource ('Observed rainfall from the nearest reporting Environment Agency tipping-bucket rain gauge in England') and enumerates exactly what is returned (1h/3h/6h/24h/48h/72h/7d totals, intensity, dry hours, nearby gauges). It explicitly distinguishes itself from the Scotland counterpart, so an agent can route 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 clear usage condition ('lat and lon required (England only)') and names the alternative for the excluded case ('for Scotland use /v1/weather/scotland-rainfall'). The gap is that it points to an endpoint path rather than the sibling tool name weather_scotland_rainfall, and it offers no guidance on when to prefer the England tide-gauge or groundwater siblings.

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