Skip to main content
Glama
malkreide

swiss-environment-mcp

by malkreide

env_flood_warnings

Read-only

Retrieve current flood warnings from Swiss BAFU stations, filterable by canton and minimum danger level for local risk assessment.

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 oder kantonal für eine Lagebeurteilung. 5 Gefahrenstufen. "Keine Warnung" ist eine explizite Entwarnung, kein Fehler.

Args: params (FloodWarningsInput): - min_level: Minimale Gefahrenstufe (Standard: 2) - canton: Kantonskürzel zum Filtern

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations declare readOnlyHint=true, so the description does not need to repeat that. It adds behavioral context by explaining the meaning of 'Keine Warnung' as an explicit all-clear, not an error. However, it doesn't detail other behaviors like response format, which is in the schema.

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 well-structured with clear sections (purpose, danger levels, use case, important notes, args, returns). It is front-loaded with the core purpose. While slightly verbose, every sentence adds value for the agent.

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 simple query tool with two filter parameters, the description covers the key aspects: what it retrieves, how to filter, and interpretation of results. It notes the output is a string of active warnings, which is adequate given no output schema is required.

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 reiterates parameter details (min_level and canton) that are already well-described in the input schema. Since schema coverage is high, the description adds minimal new semantic value beyond restating the defaults and valid ranges.

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 clearly states the tool retrieves current flood warnings from all BAFU measuring stations in Switzerland, using specific verbs ('abrufen') and resource ('Hochwasserwarnungen'). It explains the 5 danger levels, making the tool easily distinguishable from sibling environmental tools.

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 provides guidance for using the tool in nationwide or cantonal situation assessments. While it lacks explicit when-not-to-use or alternative tools, the context is clear. The <important_notes> clarifies that 'Keine Warnung' is an explicit all-clear, aiding correct interpretation.

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