Skip to main content
Glama

Kildeverk

Official weather warnings

weather_warnings
Read-onlyIdempotent

MET Norway's official weather warnings for land and sea: wind, gale, rain, snow, ice, storm surge, forest fire danger and more, with level (yellow, orange, red), area, period, consequences and advice. Filter by point, county or land/sea; give a month for past warnings. For flood, landslide and avalanche warnings use the hazards_ tools.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "weather_warnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoWarnings covering this point.
lonNo
limitNo
monthNoA past month ('2023-08') from the archive. Leave out for warnings in force or announced now.
countyNoCounty number as it was when the warning was issued, or a county name (resolved to today's number).
domainNoLand or sea.
geometryNoEach warning's area as GeoJSON, for maps.
languageNo'nb' for MET's Norwegian (bokmål) texts.en
min_levelNo1 green, 2 yellow, 3 orange, 4 red; compared with the highest level a warning reached.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description's added value is in disclosing the data source (official MET warnings), the warning severity levels, and that the archive is reachable via a month parameter. It does not mention rate limits, attribution requirements, or how results are ordered, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler: the first front-loads what the tool returns and its hazard coverage, the second gives filtering behavior and the sibling routing rule. The catalog-style enumeration is dense but every item carries information about coverage.

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 9-parameter, no-required-parameter tool with no output schema, the description sufficiently previews the returned fields and the archive path, and annotations carry the safety profile. Minor gap: the default min_level of 2 and the meaning of limit are left entirely to the schema, so an agent may not realize low-level warnings are filtered out by default.

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?

Schema coverage is 78%, so most parameters are already documented in the schema itself. The description restates point, county, and land/sea filtering plus the month archive semantics, but adds no meaning beyond the schema for min_level, geometry, language, or limit — the 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?

States a specific resource (MET Norway's official weather warnings) with scope (land and sea) and enumerates the hazard types and returned fields (level, area, period, consequences, advice). It also explicitly separates itself from the hazards_ tools, so an agent can distinguish it 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?

Gives concrete selection criteria: filter by point, county, or land/sea domain, and supply a month for past warnings versus leaving it out for current ones. It names the alternative tool family for flood, landslide, and avalanche warnings, which is exactly the when-not guidance an agent needs.

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.