Skip to main content
Glama
meteo-swiss-mcp

meteo-swiss-mcp

by cuolm

measurements_current

Read-only

Retrieve current weather measurements from a MeteoSwiss station near a place to answer 'how warm is it now' or 'is it raining now'.

Instructions

        Get the latest measurements of a MeteoSwiss station near a place.

        Use this for "how warm is it now" or "is it raining now". The values are those of the
        station named in data_from; without data_from, the station is next to the place.
        MeteoSwiss publishes new values about every 10 minutes. When a station of the SLF, the
        WSL Institute for Snow and Avalanche Research, is closer to the place in distance and
        height, mostly in the mountains, slf_station adds its temperature, humidity and wind
        over the last 30 minutes, with its own data_from. For each data_from, always say which
        station the values come from, how far away it is and how much higher or lower. When
        slf_station is there, give its values first, as they come from the closer station.

        Args:
            location (str): Name of a place in Switzerland, e.g. "Zürich".

        Returns:
            dict: data_from when the station is not next to the place, the place, the time of the
                measurements, temperature, humidity, dew point and sea-level pressure; wind speed, gust
                and direction of the last 10 minutes; rain and sunshine of the last 10 minutes and the
                last hour; strongest gust of the last hour; temperature and pressure change over 3
                hours. A value is None when the station has not published it. slf_station, only when
                an SLF station is closer: its data_from, time, temperature, humidity, wind speed,
                direction and gust over 30 minutes, and the snow surface temperature, None with less
                than 10 cm of snow.

        Examples:
            measurements_current("Zürich")
        

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>"
    },
    "name": "measurements_current"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the ~10-minute publication cadence, the station-selection logic (nearest station, or the data_from named), the SLF/WSL mountain-station overlay with its own 30-minute window and its precedence rule, and that unpublished values come back as None. That is exactly the operational 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?

Front-loaded purpose, then usage, then Args/Returns/Examples, with no filler sentences. The Returns block is long but justified because no output schema exists; the imperative "always say which station..." style content is slightly instruction-heavy for a tool definition.

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?

With no output schema, the description carries the full return-value burden and does so thoroughly, including the None-value convention and the conditional slf_station payload. Remaining gaps are the undocumented `near` parameter and absent units for temperature, wind and pressure.

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

Parameters3/5

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

The description's Args block documents only `location` (place name, with a Zürich example) and omits the `near` disambiguation parameter entirely, so a reader of the prose alone would not know it exists; the schema does cover `near` well. Schema coverage is 50%, so the description partially compensates but leaves a visible gap on the multi-arg path.

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?

"Get the latest measurements of a MeteoSwiss station near a place" names a specific verb and resource, and "how warm is it now" pins the recency framing. It implicitly separates itself from measurements_history/extremes and the forecast_* siblings by the word "latest," but never names an alternative explicitly.

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?

It gives concrete triggering questions ("how warm is it now", "is it raining now"), which is a clear usage context an agent can match against. It stops short of stating when not to use it or naming a sibling tool to prefer instead.

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