Skip to main content
Glama

get_hourly_weather

Retrieve an hourly weather forecast near a Canadian station, including wind speed in km/h and knots, temperature, rain chance, sunrise and sunset, for any time within the next 24 hours.

Instructions

Get the hourly weather forecast near a station: wind, temperature, rain chance.

    Uses the nearest Environment Canada city forecast point. Wind is given in
    km/h and in knots. The forecast only covers about the next 24 hours; the
    error tells you the window if you ask outside it. Also returns sunrise
    and sunset. For a marine warning or the wind over open water, use
    get_marine_forecast as well.

    Args:
        station: Station code like "00490" or a name like "Halifax".
        start: Start time. "2026-11-26T06:00" (station local time),
            "2026-11-26T11:00:00Z" (UTC), a date alone (start of that
            local day) or "now".
        end: End time, same formats. A date alone means the end of that day.
            Defaults to 24 hours after start.
    

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": "get_hourly_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
startNonow
stationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the data source and its approximation (nearest city forecast point, not the exact station), units (km/h and knots), the ~24-hour coverage ceiling, what happens when you ask beyond it, and the sunrise/sunset side returns. Defaults are also stated for end.

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 capability and the sibling exclusion, followed by behavioral constraints and then argument formats; each section is purposeful. The Args block partially restates the schema but earns its place by supplying format detail the schema lacks, so it is verbose rather than wasteful.

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?

For a 3-parameter tool with no output schema and no annotations, it covers source, units, time window, error behavior, defaults, and sibling usage. Minor gaps remain: the unit for temperature is unstated and the shape/ordering of the returned hourly series is only loosely implied by the field list.

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 coverage is 0%, so the description must compensate, and it does: station is explained with both a code format ('00490') and a name ('Halifax'), start is enumerated across localized ISO, UTC 'Z', date-only-means-start-of-local-day, and 'now', and end extends date-only to mean end of that day with a documented default.

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 ('Get the hourly weather forecast'), names the fields returned (wind, temperature, rain chance), the data source (nearest Environment Canada city forecast point) and the ancillary returns (sunrise/sunset). It also distinguishes itself from get_marine_forecast by pointing to that tool for open-water wind.

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?

Explicitly names the complement case: use get_marine_forecast as well for a marine warning or wind over open water. It also states the practical limit ('only covers about the next 24 hours') and how the error reveals the window, which steers an agent away from out-of-range calls. No exclusion guidance for station resolution against find_stations, but context is otherwise clear.

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