Skip to main content
Glama
halizz821

Environment Canada Weather Alerts MCP Server

by halizz821

get_weather_alerts

Fetches real-time Environment Canada weather alerts by province, alert type, or search term, returning active warnings, watches, advisories, and statements.

Instructions

Fetches real-time weather alerts from Environment Canada.

Args: province: Two-letter Canadian province/territory code (e.g. 'ON', 'BC', 'AB', 'QC', 'NS', 'NB', 'MB', 'SK', 'PE', 'NL', 'YT', 'NT', 'NU'). alert_type: Type of alert filter ('warning', 'watch', 'advisory', 'statement'). search_query: Optional keyword to search in location names or alert description (e.g., 'Toronto', 'blizzard', 'fog'). language: Language for names and description ('en' for English, 'fr' for French). Default is 'en'.

Returns: JSON formatted string containing matching weather alerts. Each alert includes its 'status' (e.g. 'active', 'ended').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoen
provinceNo
alert_typeNo
search_queryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the source (Environment Canada), that results are real-time, and the response format with a 'status' field. It omits any auth/rate-limit context and does not clarify whether all params are optional filters (which the schema makes optional but is easy to misread).

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 purpose, then cleanly organized into Args and Returns blocks. Slightly verbose in the province enumeration, but every element is informative and earns its place.

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?

An output schema exists, so the return-value prose is partly redundant, but the parameter documentation is complete and the read-only nature is clear. Only minor gaps (no auth/limits, no explicit sibling differentiation) remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate fully, and it does: it enumerates the valid province codes, lists the accepted alert_type values, explains search_query matches against location names or descriptions with examples, and documents the language default. This is exactly the meaning the bare schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Fetches') and resource ('real-time weather alerts') with the data source ('Environment Canada'), so the agent knows exactly what it does. It does not, however, distinguish itself from siblings like get_alert_summary or get_alerts_near_coordinates, leaving the agent to infer the difference from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no sibling tool is named as an alternative. The filter parameters imply a 'use this to search alerts by region/keyword' scenario, but the agent must infer it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.