Skip to main content
Glama

weather_sweden_current

Read-only

Sweden current weather observations (SMHI) — Latest-hour observed weather near a point in Sweden from SMHI stations: temperature, humidity, wind speed, gust, direction, sea-level pressure, precipitation last hour and visibility. Each value comes from the nearest SMHI station reporting it within 80 km in the last 3 hours; the stations used are listed with distance. Pass lat and lon, or city= (stockholm, gothenburg, malmo, uppsala, umea, lulea, kiruna, visby...). 404 if no station is reporting nearby. Source: SMHI open data, CC BY 4.0. Price: $0.002 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_sweden_current"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes59.3293
lonYes18.0686

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior5/5

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

Goes well past the annotations: it explains the nearest-station interpolation rule, the 80 km / 3-hour freshness window, that the stations used are listed with distance, the 404 failure mode, data source and license, and even the price and payment rail ($0.002 USDC on Base via x402). These are exactly the behavioral facts an agent needs before paying for a call.

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?

Dense but front-loaded and largely waste-free: identity and scope first, sourcing and 404 semantics next, commercial terms last. The single long block would read better split, but no sentence is filler except perhaps the license tag.

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?

With no output schema, the description usefully carries the return content by naming each measure and noting that station names and distances are included, plus error and pricing behavior. It is only incomplete in that it points at a city parameter the schema does not expose, leaving an agent unsure how the two invocation paths actually work.

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

Parameters2/5

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

The description instructs "Pass lat and lon, or city= (stockholm, gothenburg, ...)", but the input schema defines only required lat and lon strings with no city property, so following the description would cause a validation failure. The schema's "descriptions" are bare example values ("59.3293") and the description adds no format guidance such as decimal-degree encoding, making the mismatch the more costly gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("current weather observations"), the provider (SMHI), the geographic scope (Sweden, near a point) and enumerates returned measures (temperature, humidity, wind, gust, pressure, precipitation, visibility). It does not name a sibling to differentiate against, so it falls short of 5, but an agent can distinguish it from alert or forecast tools from the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives operational conditions (nearest reporting station within 80 km, last 3 hours, 404 when none reports) but never states when to prefer this over weather_sweden, weather_current, weather_global_current or the Austrian/German equivalents. Usage is implied by the "current observations" framing rather than explicitly routed.

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