Skip to main content
Glama
meteo-swiss-mcp

meteo-swiss-mcp

by cuolm

forecast_rain

Read-only

Check when and how much rain may fall at a Swiss location in 3-hour blocks, including chance of rain, median amount, wettest-hour potential, and weather in words.

Instructions

        Get when and how much it may rain at a place, and the weather in words, in 3-hour blocks
        over a period.

        Use this for "will it rain at 15:00" or "how is the weather this afternoon". Each block
        covers the 3 hours between its from and to times
        and gives the chance of rain, the median rainfall, how much the wettest hour may bring
        (its 90th percentile) and the weather in words. The median is often 0 when showers are
        possible, so read the chance and the "up to" amount as well. A period up to the end of
        the forecast ends with its last full 3-hour block. Medians do not add up, so for the
        total rain of a whole day use forecast_daily.

        Args:
            location (str): Name of a place in Switzerland, e.g. "Zürich".
            start (str): Start of the period, a full hour, e.g. "2026-09-23T12:00". Today or up to 8 days ahead.
            end (str): End of the period, a full hour after start, e.g. "2026-09-23T18:00".

        Returns:
            dict: data_from when the forecast point is far away or at a significantly different
                height, the place, the model run and per 3-hour block: from, to, chance of rain,
                median rainfall, wettest hour up to, weather in words and emoji.

        Examples:
            forecast_rain("Zürich", "2026-09-23T15:00", "2026-09-23T18:00")    # 15:00
            forecast_rain("Zürich", "2026-09-23T12:00", "2026-09-23T18:00")    # the afternoon
        

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": {
      "location": "<location>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "forecast_rain"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
nearNoOnly when several places share the name: a village next to the place the user means. For "the Blausee near Bettmeralp" use location "Blausee" and near "Bettmeralp". Leave it out otherwise.
startYes
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only declare readOnly+openWorld, so the description carries the real behavioral burden and does: it warns the median is often 0 and must be read alongside chance and the 90th-percentile 'up to' amount, that periods truncate to the last full block, and that data_from flags a distant or elevation-mismatched forecast point. It does not mention rate limits or failure behavior for an out-of-range date beyond the 8-day cap, which keeps 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?

Purpose and the sibling routing are front-loaded, and the Args/Returns/Examples layout is easy to scan. There is minor duplication: the block contents (chance, median, wettest hour, weather in words) are enumerated in the body and again in Returns, which could be consolidated.

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 supplies the return shape itself, including the data_from caveat and per-block fields, so an agent knows what it will get back. For a 4-parameter read tool this covers everything needed to call it correctly.

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 only 25% (just `near`), so the description must compensate and does: location is constrained to a place in Switzerland, start must be a full hour today or up to 8 days ahead, end must be a full hour after start, each with concrete timestamp formats and two worked examples. `near` is left to the schema, which already documents it fully.

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 when and how much it may rain at a place, and the weather in words') plus the granularity ('3-hour blocks over a period'), which immediately distinguishes it from forecast_daily and the other single-variable forecast siblings.

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

Usage Guidelines5/5

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

Gives concrete trigger phrases ('will it rain at 15:00', 'how is the weather this afternoon') and an explicit exclusion routing the agent to forecast_daily for whole-day totals, since 'Medians do not add up'. The when-not is stated with its reason, not just asserted.

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