Skip to main content
Glama

Global current weather + 24h + 7-day by city or lat/lon (MET Norway)

world_weather_current
Read-onlyIdempotent

Global current weather by city name or lat/lon. Resolves the city (largest match + up to 3 alternatives; optional country or 'City, Region'), returns temp C/F, feels-like, humidity, wind speed/gust/direction, pressure, cloud, precipitation, condition, next 24 hours and 7-day daily summary. Data: MET Norway Locationforecast (CC BY 4.0), GeoNames (CC BY 4.0). Unknown city 400 (free, before payment); upstream down 502, not charged. PAID: $0.001 USDC per call on Base via x402 (MCP transport: retry with params._meta["x402/payment"]). Same tool over plain HTTP: GET /v1/weather/current.

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

Input Schema

NameRequiredDescriptionDefault
latNolatitude -90..90 (with lon, instead of city)
lonNolongitude -180..180
cityNocity name, any case/accents, e.g. 'Paris', 'Portland, ME', 'Sao Paulo' (or use lat+lon)
countryNooptional ISO 3166-1 alpha-2 country code (or English name) to disambiguate, e.g. US

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent, and the description adds substantial behavior beyond them: data provenance and licensing, the 400/502 error semantics, and the note that failed lookups are not charged. It also discloses the paid x402 flow (retry with params._meta["x402/payment"]) and an equivalent HTTP endpoint, which an agent could not infer from structured fields alone.

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 return shape, then pricing and error handling; nearly every clause carries information an agent needs. The second half is packed into run-on semicolon chains (errors, payment, HTTP route), which is dense but not padded.

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?

There is no output schema, and the description compensates by enumerating the returned fields (temp C/F, feels-like, humidity, wind, pressure, cloud, precipitation, condition, 24h and 7-day). Combined with error codes, pricing, payment retry mechanics, and the alternate HTTP route, an agent has everything needed to call it correctly and handle failures.

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?

Schema coverage is 100%, so the baseline is 3; the description earns more by explaining what the city/country pair actually does (largest match plus up to 3 alternatives) and that country is an optional disambiguator alongside 'City, Region' syntax. It still doesn't describe interaction rules, such as precedence when both city and lat/lon are supplied.

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?

Names a specific resource and scope ('Global current weather by city name or lat/lon') plus the returned horizons (current, next 24 hours, 7-day daily). 'Global' and the MET Norway source distinguish it from the US-only sibling us_weather and from climate_day-style tools without either schema being opened.

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 clear selection guidance within the tool: city name versus lat/lon, optional country code or 'City, Region' for disambiguation, and what happens on an unknown city (400, with up to 3 alternative matches). It does not say when to prefer a different tool (e.g., US-specific or climate/historical siblings), so it stops short of a 5.

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