Skip to main content
Glama

weather_sweden

Read-only

Sweden weather forecast (SMHI) — SMHI (Swedish Meteorological and Hydrological Institute) point forecast for Sweden and the Nordic/Baltic area: hourly rows (temp, condition, precipitation mm + probability, frozen share, thunder probability, wind and gusts m/s, direction, humidity, pressure, cloud %, visibility) and 1-10 daily summaries (min/max, precip total, max gust, condition) in Europe/Stockholm days. Pass lat and lon, or city= (stockholm, gothenburg, malmo, uppsala, umea, lulea, kiruna, visby, oslo, copenhagen, helsinki...). Optional hours= 1-48 (default 12), days= 1-10 (default 3). 404 outside SMHI coverage. Source: SMHI open data, 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_sweden"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes59.3293
lonYes18.0686

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the paid access model ($0.003 USDC on Base via x402), which is critical auth context an agent must know before calling, plus the 404 failure mode outside SMHI coverage, the data source and CC BY 4.0 license, and the default sampling behavior (12 hours, 3 days). These are exactly the behavioral traits annotations cannot carry.

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?

It is one dense paragraph but front-loaded with purpose and coverage before parameters, error behavior, license, and price. Nearly every clause adds usable information; the enumeration of returned fields is long but justified because no output schema exists to carry it.

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 takes on the return-value burden and does so thoroughly, and it adds coverage limits, defaults, data provenance, and pricing. The one completeness gap is the unresolved mismatch between the parameters described (city, hours, days) and the two-field schema, which an agent would need to discover by trial.

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

Parameters4/5

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

The schema's own parameter descriptions are only bare example values ("59.3293", "18.0686"), so the description carries real weight by explaining that lat/lon can be replaced by a named city and by giving ranges and defaults for hours and days. The deduction is for a real inconsistency: city, hours, and days are described as callable inputs but do not appear in the input schema, so the agent cannot tell which surface is authoritative.

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?

"Sweden weather forecast (SMHI) — SMHI point forecast for Sweden and the Nordic/Baltic area" gives a specific verb (forecast) plus resource and geographic scope, and the field list (hourly rows, daily summaries) makes clear what kind of artifact it returns. It implicitly separates itself from current-observation and alert siblings by being a forecast, though it never names an alternative explicitly.

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?

It gives concrete invocation guidance — pass lat/lon or use city= with a list of accepted city names, hours= 1-48 (default 12), days= 1-10 (default 3) — plus the boundary condition that out-of-coverage points return 404. What it lacks is routing guidance: nothing says when to pick this over a global forecast tool or a Sweden current-conditions sibling, so usage is implied rather than directed.

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