Skip to main content
Glama

weather_canada_alerts

Read-only

Canada weather alerts for a point — Active Environment Canada warnings, watches, advisories and special weather statements whose alert polygon contains lat, lon: name, type, area, colour, confidence, impact, issued/expiry times and the full alert text, sorted warning > watch > advisory > statement. Returns count 0 with a headline when nothing is active. Canada only. Price: $0.002 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_canada_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes46.81
lonYes-71.21

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 cover read-only/non-destructive/open-world, but the description adds genuinely new operational facts: the response ordering (warning > watch > advisory > statement), the empty-result contract ('Returns count 0 with a headline'), and a per-call price of $0.002 USDC via x402. Cost disclosure in particular is behavior an agent needs but could not infer from structured fields.

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?

Effectively one dense sentence followed by two short ones; the geography and alert-type scope is front-loaded and nothing is padded. It is slightly overstuffed in the first clause, packing polygon semantics, field list, and sort order together, which reduces 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?

There is no output schema, so the description carries the burden of describing returns — and it does, naming the fields and the empty case. Combined with input semantics, geographic restriction, and pricing, an agent has everything needed to decide and call correctly.

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 descriptions are only bare examples ('46.81', '-71.21') with no stated units or meaning. The description supplies the decisive semantics — the alert polygon must *contain* lat/lon, i.e. a point-in-polygon test — which is meaning beyond the schema.

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 concrete verb+resource+scope: 'Active Environment Canada warnings, watches, advisories and special weather statements' for a point, and enumerates the return fields. Combined with 'Canada only' it is clearly separable from generic siblings such as weather_alerts without opening any 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?

'Canada only' plus the alert-polygon containment condition gives an agent a clear signal for when this tool applies versus a generic alerts tool, and implicitly when not to use it (non-Canadian coordinates). It stops short of naming an explicit alternative for non-Canada points, so it does not reach a 5.

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