Skip to main content
Glama
malkreide

swiss-environment-mcp

by malkreide

env_flood_warnings

Read-only

Retrieves active flood warnings from Swiss BAFU stations nationwide, filterable by minimum danger level (1–5).

Instructions

Ruft aktuelle Hochwasserwarnungen aller BAFU-Messstationen in der Schweiz ab.

Das BAFU gibt Hochwasserwarnungen in 5 Gefahrenstufen aus: 1=Keine, 2=Mässig, 3=Erheblich, 4=Gross, 5=Sehr gross.

Aktive Hochwasserwarnungen schweizweit für eine Lagebeurteilung. 5 Gefahrenstufen. "Keine Warnung" ist eine explizite Entwarnung, kein Fehler. canton wird NICHT angewendet (LINDAS führt keinen Kantons-Code): die Antwort ist immer schweizweit und weist einen gesetzten Filter als nicht angewendet aus.

Args: params (FloodWarningsInput): - min_level: Minimale Gefahrenstufe (Standard: 2) - canton: wird nicht angewendet (siehe Hinweise)

Returns: str: Aktuell aktive Hochwasserwarnungen, gefiltert nach Gefahrenstufe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds behavioral context beyond annotations: the response is always nationwide, a set canton filter is reported as not applied, and 'Keine Warnung' is an explicit all-clear rather than an error. No contradiction with annotations.

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 description is structured with use_case, important_notes, Args, and Returns sections. It is front-loaded with the purpose and avoids excessive prose, though the level enumeration and Args section partially duplicate the input schema.

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?

For a read-only query tool, the description covers the key context: nationwide scope, danger levels, canton no-op behavior, and the meaning of no warning. With an output schema present, not detailing return structure is acceptable. The only gap is the undocumented response_format option.

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 explains min_level and canton semantics, including the default for min_level, but omits response_format entirely even though it is part of the input schema. Schema description coverage is 0% at the top level, so the description partially compensates but misses one parameter.

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: 'Ruft aktuelle Hochwasserwarnungen aller BAFU-Messstationen in der Schweiz ab' (retrieves current flood warnings from all BAFU stations in Switzerland). This clearly distinguishes it from sibling environment tools like avalanche or wildfire warnings.

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?

The <use_case> tag states when to use: 'Aktive Hochwasserwarnungen schweizweit für eine Lagebeurteilung' (active flood warnings nationwide for situation assessment). It also clarifies that canton is not applied and that 'Keine Warnung' is an explicit all-clear, but it does not name alternative tools or exclusion cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/swiss-environment-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server