Skip to main content
Glama

Finanz & SEO Tools API

Current weather and short hourly (up to 48h) + daily (up to 7d) forecast worldwi

weather
Read-only

Current weather and short hourly (up to 48h) + daily (up to 7d) forecast worldwide by city name or lat/lon: temperature (°C), humidity, wind speed/direction, pressure, cloud cover, precipitation and condition code. Source: MET Norway Locationforecast 2.0 (CC BY 4.0) + OpenStreetMap/Photon geocoding (ODbL). 404/503 and no charge if location not found or upstream is down. Price: $0.002 USDC per call via x402.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNolatitude (-90 to 90), used with lon
lonNolongitude (-180 to 180), used with lat
cityNocity or place name (alternative to lat & lon), e.g. Berlin
daysNodaily summary days (1-7, default 3)
hoursNohourly forecast steps (1-48, default 24)
countryNooptional 2-letter ISO country code filter for city search, e.g. DE, US

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description adds real value beyond them: upstream sources (MET Norway Locationforecast 2.0, Photon geocoding), the no-charge behavior on 404/503 or upstream outage, and the paid-call mechanism ($0.002 USDC via x402). Remaining gaps are rate limits, caching/refresh frequency, and how partial failures between geocoding and forecast are handled.

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 and front-loaded: forecast scope and returned fields come first, followed by sources, error/pricing behavior. Every sentence carries operational weight, though the license identifiers (CC BY 4.0, ODbL) are marginally useful to an agent and add length.

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 6-parameter read-only tool with no output schema, the description covers returned field names, units for temperature, geographic scope, cost, and failure behavior. It could go further on the shape of the hourly/daily arrays and units for the non-temperature fields, but an agent has enough to call it correctly.

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 description coverage is 100%, so ranges, defaults, and the city-vs-lat/lon relationship are already documented. The description adds little beyond that – only the temperature unit (°C) and the coarse 48h/7d bounds that mirror the schema – so baseline 3 applies.

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?

The description names a specific resource (current weather plus hourly up to 48h and daily up to 7d forecast), the input modes (city name or lat/lon), the worldwide scope, and the exact returned fields (temperature, humidity, wind speed/direction, pressure, cloud cover, precipitation, condition code). Nothing about what the tool returns is left ambiguous, and it is clearly distinct from the crypto/tax/compliance siblings.

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?

Usage is implied: an agent can infer this is the tool for weather lookups and that city name is an alternative to lat/lon, matching the schema. However, there is no explicit guidance on when to prefer city vs coordinates, no statement that at least one location input is required (0 required params), and no exclusions or alternatives offered.

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