Skip to main content
Glama

weather_canada_river_percentile

Read-only

Canada river flow percentile (now vs history) — How unusual is a Canadian river right now? Takes the last-24h average of Water Survey of Canada real-time discharge (or water level) for one station (e.g. 02HC003) or the nearest active real-time station to lat, lon (radius_km default 40) and ranks it against every historical HYDAT monthly mean for the same calendar month: percentile, ratio to median, p10/p25/median/p75/p90, record low and high month with years, and a plain condition from much below normal to highest on record. Drought and flood context, not a warning. 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": {
      "station": "<station>"
    },
    "name": "weather_canada_river_percentile"
  }
}

Input Schema

NameRequiredDescriptionDefault
stationYes02HC003

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and non-destructive, so the bar is lower, yet the description adds substantial context beyond them: data source (Water Survey of Canada real-time), aggregation window (24h average), the historical baseline (HYDAT monthly means for the same calendar month), the returned statistics, and the per-call price of $0.003 USDC via x402. It stops short of noting latency, station availability failure modes, or units for discharge versus water level.

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 core question and method, then the output contents, then the pricing note — a logical order with no filler. It is dense and long for a one-parameter tool, and the lat/lon clause adds words for arguments the schema does not accept.

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 carries the return-value burden and does so well by enumerating percentile, ratio to median, quantiles, record low/high with years, and the condition label. The main completeness defect is the mention of lat/lon/radius_km parameters that the input schema does not define.

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 coverage is 100%, but the schema's own description for 'station' is only the bare example '02HC003', so the description does real work by explaining it is a station ID or that the nearest active real-time station is used. However, it also references lat, lon and a radius_km default of 40 that do not exist in the schema, which could lead an agent to pass unsupported arguments.

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 — ranks a Canadian river's last-24h discharge against historical HYDAT monthly means — and the framing question ('How unusual is a Canadian river right now?') plus 'Drought and flood context, not a warning' separates it from warning-style siblings like weather_river_flood or weather_canada_alerts.

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?

Usage is implied rather than stated: an agent can infer this is the tool for historical-context flow anomaly questions, and 'not a warning' excludes alert use cases. But there is no explicit when-to-use/when-not guidance naming alternatives such as weather_canada_river_peaks or weather_canada_rivers, and no stated prerequisites.

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