Skip to main content
Glama
meteo-swiss-mcp

meteo-swiss-mcp

by cuolm

forecast_temperature

Read-only

Get hourly temperature forecasts with likely ranges for a place in Switzerland. Use it to answer questions like how warm it is at 15:00 or this afternoon.

Instructions

        Get the temperature hour by hour at a place, with its likely range.

        Use this for "how warm is it at 15:00" or "how warm is it this afternoon". Without end
        it returns the one hour starting at start. Each row gives the mean temperature of one
        hour, between its from and to times.

        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-23T15:00". Today or up to 8 days ahead.
            end (str): Optional. 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 hour: from, to, temperature with its 10th
                and 90th percentile. In 8 of 10 possible outcomes, the temperature lies between its
                10th and 90th percentile.

        Examples:
            forecast_temperature("Zürich", "2026-09-23T15:00")                        # one hour
            forecast_temperature("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>"
    },
    "name": "forecast_temperature"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
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.4.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses real behavioral traits: the forecast horizon (today to 8 days ahead), the full-hour requirement, that each row is the mean for an hour bounded by from/to, and the data_from fallback when the forecast point is far away or at a different elevation. It also interprets the 10th/90th percentile band as an 8-in-10 outcome interval, which is exactly the context annotations cannot carry.

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?

It is front-loaded with purpose before the mechanical Args/Returns/Examples blocks, and the worked examples resolve ambiguity instantly. The Args block partially duplicates parameter titles already present in the schema, which is mild redundancy but readable rather than wasteful.

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 (data_from, place, model run, per-hour from/to/temperature/percentiles) so an agent knows what comes back. Combined with the time-window constraint and the far-away/elevation caveat, nothing essential for correct invocation is missing.

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 only 25%, but the description compensates by specifying formats and constraints for location ('Name of a place in Switzerland', with an example) and start/end ('a full hour', timestamp examples, 8-day window). The near parameter is left entirely to the schema's own description, so one of four parameters gets no added meaning from the description.

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?

The opening sentence gives a specific verb (Get), resource (temperature), granularity (hour by hour), and scope (at a place, with its likely range). The temperature-specific framing plus the sibling set of forecast_rain/forecast_wind/forecast_cloud_cover makes it unambiguous which forecast this is.

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?

Concrete user-question phrasings ('how warm is it at 15:00', 'how warm is it this afternoon') plus the branch rule for omitting end give clear when-to-use context. It stops short of pointing to alternatives such as forecast_daily for day-level aggregates, so there is a residual gap in exclusions.

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