Skip to main content
Glama

weather_switzerland_current

Read-only

Switzerland current weather observations (MeteoSwiss stations) — Latest 10-minute weather at the nearest MeteoSwiss SwissMetNet station: temperature, humidity, wind speed and direction, gusts, rain in the last 10 minutes, sunshine minutes and station/sea-level pressure, plus the 4 next-nearest stations with their altitude (mountain vs valley). Pass lat and lon (Switzerland or Liechtenstein), or station (MeteoSwiss 3-letter code such as SMA, BER, GVE, LUG). Source: MeteoSwiss open data, CC BY 4.0. Price: $0.002 USDC (Base, via x402).

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "weather_switzerland_current"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes47.3769
lonYes8.5417

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds real value on top: 10-minute observation cadence, nearest-station selection with four neighboring stations, altitude context for mountain-vs-valley interpretation, data source/license, and per-call price ($0.002 USDC via x402). It does not address what happens for out-of-coverage coordinates or station lookup failures.

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?

A single dense, front-loaded sentence-shaped block that leads with what is measured and follows with inputs, source, and price; nothing is idle filler. It is on the long side, but every clause carries information an agent would act on.

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 carries the return-value burden and does so by listing temperature, humidity, wind, gusts, rain, sunshine, pressure, plus neighboring stations and their altitude. Combined with coverage area, data source, and cost, an agent has what it needs to call this correctly.

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

Parameters2/5

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

The description advertises a 'station' input (3-letter MeteoSwiss code) that does not exist in the schema, and the schema marks lat/lon as required strings with only example values as descriptions. This mismatch can actively mislead an agent into trying to pass a parameter the tool does not accept, undercutting the 100% schema coverage.

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+resource ('current weather observations' from MeteoSwiss SwissMetNet stations) and scopes it geographically to Switzerland/Liechtenstein, which is what distinguishes it from weather_austria_current or weather_germany_current. It even enumerates the measured fields, so an agent knows exactly what it gets.

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?

Gives clear operating context: use coordinates within Switzerland/Liechtenstein, or a 3-letter SwissMetNet code, and it explains the nearest-station-plus-4-fallback behavior. It stops short of naming when to prefer weather_current or weather_current_batch instead, so no explicit exclusions are offered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources