Skip to main content
Glama

Climate data series

meteoswissClimateData
Read-only

Get homogeneous climate measurement series from Switzerland's National Basic Climatic Network (NBCN). Returns temperature, precipitation, sunshine, radiation, wind, pressure, and climate indicators (frost days, summer days, heat days) going back decades.

29 climate stations + 46 precipitation stations with daily, monthly, and yearly resolution.

Use cases: "What are typical January temperatures in Zurich?", "How has precipitation changed in Basel over 50 years?", "How many heat days did Lugano have last year?"

Accepts station names ("Zurich", "Basel"), abbreviations ("SMA", "BAS"), or WGS84 coordinates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "meteoswissClimateData"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of data rows to return (default 30)
stationNoClimate station name or abbreviation (e.g., "Zurich", "BAS", "Davos"). Part of the National Basic Climatic Network (29 climate + 46 precipitation stations). Provide either this or `coordinates`; if both are given, `coordinates` takes precedence.
end_dateNoEnd date filter (YYYY-MM-DD). Only rows on or before this date are returned.
resolutionNoData resolution: daily (temp min/max/mean), monthly (full climate summary), yearly (annual summary)monthly
start_dateNoStart date filter (YYYY-MM-DD). Only rows on or after this date are returned.
coordinatesNoWGS84 coordinates (alternative to station name)

Output Schema

NameRequiredDescriptionDefault
dataYesMeasurement rows, filtered and limited as requested
noteNoPresent only when `data` is empty because the requested date range fell outside the fetched series (e.g. a daily request older than the ~2-year `_recent` window). Explains why and suggests a fallback resolution.
sourceYesData attribution
stationYes
resolutionYesResolution the returned rows are in

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / end_date / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / start_date / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • changedInput schema / properties / station / description
      Previous value: -"Climate station name or abbreviation (e.g., \"Zurich\", \"BAS\", \"Davos\"). Part of the National Basic Climatic Network (29 climate + 46 precipitation stations)."New value: +"Climate station name or abbreviation (e.g., \"Zurich\", \"BAS\", \"Davos\"). Part of the National Basic Climatic Network (29 climate + 46 precipitation stations). Provide either this or `coordinates`; if both are given, `coordinates` takes precedence."
    • addedInput schema / properties / station / maxLength
      Added value: +200
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "Measurement rows, filtered and limited as requested",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "description": "Measurement date (YYYY-MM-DD; first day of period for monthly/yearly)",
      +            "type": "string"
      +          },
      +          "frost_days": {
      +            "description": "Days with minimum below 0 °C (monthly/yearly)",
      +            "type": "number"
      +          },
      +          "heat_days": {
      +            "description": "Days with maximum of 30 °C or above (monthly/yearly)",
      +            "type": "number"
      +          },
      +          "ice_days": {
      +            "description": "Days with maximum below 0 °C (monthly/yearly)",
      +            "type": "number"
      +          },
      +          "precipitation": {
      +            "description": "Precipitation total, mm",
      +            "type": "number"
      +          },
      +          "pressure_hpa": {
      +            "description": "Air pressure, hPa",
      +            "type": "number"
      +          },
      +          "radiation_w_m2": {
      +            "description": "Global radiation, W/m²",
      +            "type": "number"
      +          },
      +          "rain_days": {
      +            "description": "Days with measurable precipitation (monthly/yearly)",
      +            "type": "number"
      +          },
      +          "summer_days": {
      +            "description": "Days with maximum of 25 °C or above (monthly/yearly)",
      +            "type": "number"
      +          },
      +          "sunshine_duration_min": {
      +            "description": "Sunshine duration, minutes",
      +            "type": "number"
      +          },
      +          "temperature_max": {
      +            "description": "Maximum temperature, °C",
      +            "type": "number"
      +          },
      +          "temperature_mean": {
      +            "description": "Mean temperature, °C",
      +            "type": "number"
      +          },
      +          "temperature_min": {
      +            "description": "Minimum temperature, °C",
      +            "type": "number"
      +          },
      +          "tropical_nights": {
      +            "description": "Nights with minimum of 20 °C or above (monthly/yearly)",
      +            "type": "number"
      +          },
      +          "wind_speed_m_s": {
      +            "description": "Wind speed, m/s",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "date"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "note": {
      +      "description": "Present only when `data` is empty because the requested date range fell outside the fetched series (e.g. a daily request older than the ~2-year `_recent` window). Explains why and suggests a fallback resolution.",
      +      "type": "string"
      +    },
      +    "resolution": {
      +      "description": "Resolution the returned rows are in",
      +      "enum": [
      +        "daily",
      +        "monthly",
      +        "yearly"
      +      ],
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "Data attribution",
      +      "type": "string"
      +    },
      +    "station": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "abbreviation": {
      +          "description": "Official station abbreviation (e.g. \"SMA\")",
      +          "type": "string"
      +        },
      +        "canton": {
      +          "description": "Canton abbreviation (e.g. \"ZH\")",
      +          "type": "string"
      +        },
      +        "coordinates": {
      +          "additionalProperties": false,
      +          "description": "WGS84 coordinates of the station",
      +          "properties": {
      +            "lat": {
      +              "type": "number"
      +            },
      +            "lon": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "lat",
      +            "lon"
      +          ],
      +          "type": "object"
      +        },
      +        "distance_km": {
      +          "description": "Distance from the queried location to this station, km (when resolved by proximity)",
      +          "type": "number"
      +        },
      +        "elevation": {
      +          "description": "Elevation in metres above sea level",
      +          "type": "number"
      +        },
      +        "name": {
      +          "description": "Climate station name",
      +          "type": "string"
      +        },
      +        "network": {
      +          "description": "NBCN network kind: \"nbcn\" (full climate series) or \"nbcn-precip\" (precipitation-only)",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "abbreviation",
      +        "elevation",
      +        "coordinates",
      +        "network"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "station",
      +    "resolution",
      +    "data",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. Beyond that, the description adds genuinely useful context: the size of the station network (29 climate + 46 precipitation), that the series go back decades, and the identifier forms accepted. It does not mention rate limits, row-cap behavior, or the coordinates-over-station precedence, which keeps it from 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?

The most decision-relevant information (what it returns, and the network coverage) is front-loaded, and the example questions are compact and illustrative. The station-count line slightly duplicates the station parameter description, a minor redundancy but not 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?

With an output schema present and 100% schema coverage, the description need not explain return shapes, and it correctly focuses on scope, resolution options, and accepted identifiers. What remains thin is the default-resolution implication and how limit interacts with long date ranges, a modest gap for a 6-parameter query tool.

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?

Schema description coverage is 100%, so the baseline is 3; the schema already documents each parameter including the coordinates precedence rule. The description reinforces the station-identifier forms ("Zurich", "SMA", "BAS"), but adds no format, unit, or edge-case detail beyond what the structured schema provides.

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 description opens with a specific verb and resource ("Get homogeneous climate measurement series") and names the source network (NBCN). It enumerates the measured quantities and the temporal depth, which makes it unambiguously distinguishable from siblings like meteoswissPollenData or meteoswissCurrentWeather.

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?

Three concrete example questions map the tool to realistic tasks (climatology, long-term trends, annual aggregates), giving a clear sense of when it applies. It stops short of explicitly excluding alternatives such as meteoswissStations or meteoswissCurrentWeather, so the routing signal is implicit rather than stated.

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.