Skip to main content
Glama

weather_slovakia_alerts

Read-only

Slovakia weather warnings (SHMU, by location or district) — Official Slovak Hydrometeorological Institute (SHMU) weather warnings from its open CAP feed: fog, snow-ice, wind, rain, thunderstorms, heat, cold, etc. Give lat= and lon= (point-in-polygon against each district's warning area) or district= (one of the 79 okresy, accents optional, e.g. Zilina, Poprad); with no parameters it returns the national summary (warned districts, counts by type, up to 40 alerts). Each alert has the English event, Slovak event, awareness type, level 1-4 with color (yellow/orange/red), severity, urgency, certainty, onset, expires, inEffectNow, headline, description and instruction exactly as issued; expired warnings are dropped and a verdict gives the highest level. Refreshed every 10 minutes with a last-good copy (flagged stale) if the feed is down. Points outside Slovakia return 422 (not charged). Source: SHMU opendata.shmu.sk, CC BY 4.0. Price: $0.003 USDC (Base, via x402).

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "weather_slovakia_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes48.1486
lonYes17.1077

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish readOnly/openWorld/non-destructive, and the description adds substantial operational context beyond them: 10-minute refresh with a last-good copy flagged stale, expired warnings dropped, a verdict field carrying the highest level, and out-of-country points returning 422 without charge. Pricing, license (CC BY 4.0) and upstream source are also disclosed.

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?

Front-loaded with purpose and input modes, then moves to return shape, freshness, error behavior and licensing in a compact sequence. It is dense and somewhat run-on, and the long alert-field enumeration is more detail than an agent needs before calling, but almost every clause carries information.

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?

With no output schema, the description fully carries the return-shape burden: it enumerates alert fields (English/Slovak event, awareness type, level 1-4 with color, severity, urgency, certainty, onset, expires, inEffectNow, headline, description, instruction) plus the verdict and the national-summary payload. Freshness, staleness, failure and error semantics are all covered.

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 adds real meaning — lat/lon are matched point-in-polygon against district warning areas, district names tolerate missing accents, and district= is described as an alternative input. However, the schema declares only two required properties (lat, lon) with no district parameter and no optional mode, so the description advertises an input path and an all-optional behavior the schema does not support; that mismatch undercuts otherwise rich parameter guidance.

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?

Opens with a specific verb+resource+scope: official SHMU CAP weather warnings for Slovakia, by location or district, enumerating hazard types (fog, snow-ice, wind, rain, thunderstorms, heat, cold). This clearly separates it from the generic weather_alerts siblings and from the other country-specific weather_*_alerts 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?

Gives concrete selection rules among its own modes: supply lat=/lon= for point-in-polygon lookup, district= for one of the 79 okresy, or nothing for the national summary. It does not name a sibling tool or state when to prefer this over weather_alerts or geo_severe_weather_scan, so routing across the catalog is left to inference.

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.

Resources