Skip to main content
Glama
schlpbch

open-meteo-mcp

by schlpbch

get_weather_alerts

Generate severe weather alerts by comparing forecast data to thresholds for heat, cold, storms, UV, and wind, with severity levels and recommendations for any location.

Instructions

Generate weather alerts based on thresholds and current forecast.

Automatically identifies severe weather conditions and generates actionable alerts.

Alert Types:

  • Heat warnings (temperature > 30°C for 3+ hours)

  • Cold warnings (temperature < -10°C)

  • Storm warnings (wind gusts > 80 km/h or thunderstorms)

  • UV warnings (UV index > 8)

  • Wind advisories (gusts 50-80 km/h)

Severity Levels:

  • Advisory: Precautionary, plan accordingly

  • Watch: Conditions favorable for alert type

  • Warning: Conditions expected, take precautions

Examples:

  • Check for heat waves during summer

  • Monitor for storms before outdoor events

  • Plan sun protection based on UV alerts

Args: latitude: Latitude in decimal degrees longitude: Longitude in decimal degrees forecast_hours: Hours to check for alerts (1-168, default: 24) timezone: Timezone for timestamps (default: 'auto')

Returns: Dictionary containing: - latitude, longitude: Location coordinates - timezone: Timezone name - alerts (list): List of active alerts with type, severity, timing, and recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeYes
timezoneNoauto
longitudeYes
forecast_hoursNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.7/5.0
Behavior5/5

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

With no annotation coverage, the description carries the full behavioral burden and does so thoroughly: it specifies exact thresholds for each alert type, defines the three severity levels, and explains that alerts are generated from forecast conditions. It also outlines the return structure, making the tool's behavior predictable.

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-organized with a front-loaded summary, structured bullet lists, and clearly separated sections. The examples add some value but are partially redundant with the alert-type list, so the text is not perfectly tight.

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?

The description covers purpose, threshold behavior, severity semantics, all parameters and defaults, and return fields, complementing the output schema. The only minor gap is coordinate range validation, but for normal invocation the information is complete enough for an agent.

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

Parameters5/5

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

Schema description coverage is 0%, but the description compensates fully by documenting all four parameters with operational meaning: latitude/longitude in decimal degrees, forecast_hours with range and default, and timezone with default. This is exactly the semantic detail the schema alone lacks.

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 ('Generate') and resource ('weather alerts'), and explains the tool derives alerts from thresholds and forecast rather than raw observations. The alert-type list and severity levels further distinguish it from siblings like get_weather, which would return current conditions without alert generation.

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?

Example scenarios ('Check for heat waves during summer,' 'Monitor for storms before outdoor events') give clear usage context. It does not explicitly name alternative tools or state when not to use this tool, so it lacks the exclusionary guidance needed for a 5.

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

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/schlpbch/open-meteo-mcp-py'

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