Skip to main content
Glama
swiss-environment-mcp

swiss-environment-mcp

by malkreide

env_hazard_overview

Read-onlyIdempotent

Routes Swiss natural hazard queries to the right live tool or official warning platform for floods, avalanches, wildfires and snow.

Instructions

Orientierungsübersicht zu Schweizer Naturgefahren: welche Gefahr über welches Tool bzw. welche offizielle Warnplattform abrufbar ist.

Hintergrund (verifiziert 2026-07-26, docs/probe-naturgefahren-hazards.md): Die frühere aggregierte naturgefahren.ch-Bulletin-API ist ersatzlos stillgelegt, und es existiert kein stabiler, dokumentierter öffentlicher JSON-Feed für die aggregierten Warnungen (weder MeteoSchweiz-OGD/STAC, opendata.swiss noch die undokumentierte App-API liefern einen sauberen Zugang). Statt eines fragilen Scrapings routet dieses Tool daher auf die dedizierten, live funktionierenden Tools dieses Servers und die offiziellen Warnplattformen. Aggregierte Wetter-/Unwetterwarnungen (Sturm/Gewitter/Hitze) sind Domäne von MeteoSchweiz bzw. meteoswiss-mcp (Zuständigkeitsmatrix).

<use_case>Einstieg in die Schweizer Naturgefahrenlage: zu welcher Gefahr liefert welches Tool Live-Daten, und wo liegen die offiziellen Bulletins.</use_case> <important_notes>Netzwerkfrei/deterministisch. Für Live-Werte die verlinkten Tools nutzen: Hochwasser→env_flood_warnings, Lawine→env_avalanche_bulletin, Waldbrand→env_wildfire_danger, Schnee→env_snow_current.</important_notes>

Args: params (HazardOverviewInput): - language: Sprache der Portal-Links ('de', 'fr', 'it', 'en'); der Antworttext bleibt deutsch

Returns: str: Gefahren→Tool-Routing plus offizielle Warnplattform-Links.

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": {
      "params": "<params>"
    },
    "name": "env_hazard_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.1
    • changedInput schema / $defs / HazardOverviewInput / properties / language / description
      Previous value: -"Sprache: 'de', 'fr', 'it', 'en'"New value: +"Sprache der Portal-Links: 'de', 'fr', 'it' oder 'en'. Der Antworttext selbst bleibt deutsch."
    • addedInput schema / $defs / HazardOverviewInput / properties / language / pattern
      Added value: +"^(de|fr|it|en)$"
  2. First observedv0.5.2

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description nevertheless adds real behavioral context beyond them: the tool is network-free/deterministic, returns routing rather than measurements, and documents that the former naturgefahren.ch bulletin API is permanently retired so no stable JSON feed exists. That deprecation background stops an agent from expecting live aggregated data, though the response shape is only sketched.

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 is front-loaded in the first sentence, and the tagged <use_case>/<important_notes>/Args/Returns blocks make skimming easy. The "Hintergrund" paragraph (verification date, probe document path, OGD/STAC/opendata.swiss enumeration) is longer than an invoker needs, and the German-stays-German caveat is repeated in both the prose and the Args line.

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?

For a one-parameter, deterministic routing tool with an output schema, this covers everything an agent needs: what it returns (hazard→tool routing plus official platform links), when to prefer it, and which sibling to call for live values. No open questions remain before invocation.

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 section restates the single `language` parameter ('de', 'fr', 'it', 'en' for portal links, answer body stays German), which largely duplicates the schema's own description of the same field. It adds little new meaning beyond the schema, so baseline 3 is appropriate.

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 names a specific resource and function ("Orientierungsübersicht zu Schweizer Naturgefahren: welche Gefahr über welches Tool bzw. welche offizielle Warnplattform abrufbar ist") and explicitly states what it is not: no live aggregated warnings, no fragile scraping. This lets an agent separate it from the live-data siblings (env_flood_warnings, env_avalanche_bulletin, etc.) without opening a schema.

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?

The <use_case> block defines the entry-point scenario, and <important_notes> names the concrete alternatives per hazard (Hochwasser→env_flood_warnings, Lawine→env_avalanche_bulletin, Waldbrand→env_wildfire_danger, Schnee→env_snow_current) together with the condition selecting them ("Für Live-Werte"). The exclusion of aggregated MeteoSchweiz weather warnings is spelled out as another system's domain.

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