Skip to main content
Glama

Crypto & Web Data API for Agents

Current weather and daily forecast for any place on Earth

world_weather
Read-only

Current weather and daily forecast for any place on Earth. Current temperature, humidity, wind, pressure, cloud cover and conditions plus a forecast of up to 9 days (min/max temperature, precipitation, wind) for a city name, address or coordinates. Dates are UTC. Price $0.005 per call (x402: USDC on Base or Solana).

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

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
latNoLatitude in decimal degrees (use with lon instead of place)
lonNoLongitude in decimal degrees
daysNoForecast days including today
placeNoCity or address, e.g. Berlin or 1600 Pennsylvania Ave. Not needed when lat and lon are given

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description earns credit for disclosing things annotations cannot: the $0.005 per-call charge and the x402 payment rails (USDC on Base or Solana), plus that dates are UTC. That payment/auth disclosure is materially important before invocation. It stops short of covering error behavior for unresolvable places or any rate limits, so not 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?

Three sentences, front-loaded with the resource and scope, then the return payload, then the commercial and time-convention caveats. Every clause carries information; nothing is repeated from the title or padding.

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 by listing the fields returned for both current and forecast sections. It also covers cost and timezone. The notable gap is units (Celsius vs Fahrenheit, wind speed units, precipitation units), which an agent cannot infer and which the schema does not supply.

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 every one of the five parameters is already documented, including the place-vs-lat/lon alternative and the 1–9 day bound. The description restates the input modes and the 9-day cap and adds that dates are UTC, which is mildly useful framing on 'days' but not new parameter mechanics. Baseline 3 applies when the schema does the heavy lifting.

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 first sentence names the resource and both scopes precisely: current conditions plus a daily forecast, for any place on Earth. The second sentence enumerates exactly what is returned for each part (temperature, humidity, wind, pressure, cloud cover, conditions; min/max temp, precipitation, wind) and the accepted input forms. No sibling tool in the list covers weather, so there is no ambiguity to resolve.

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 rather than stated: the agent can infer it should supply a place name, an address, or lat/lon, and that the forecast horizon is capped by 'days'. There is no explicit when-to-use frame, no when-not, and no named alternative (e.g. world_alerts or world_sun for related lookups). Adequate but leaves routing to inference.

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