Skip to main content
Glama

EVM Wallet & Token Due-Diligence (x402)

weather

Read-only

$0.003 (x402). Current weather, 24h hourly and ~9-day daily forecast for a city or lat/lon (MET Norway, CC BY 4.0).

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
lonNolongitude
cityNocity name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover only readOnlyHint=true, and the description stays consistent with that. It adds genuinely useful behavior beyond the annotations: the $0.003 x402 micropayment model (an agent must know a call costs money) and the MET Norway / CC BY 4.0 attribution requirement. It stops short of describing rate limits or failure modes.

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?

A single dense sentence with zero filler. The only structural quibble is that the price tag leads, pushing the actual capability behind a billing detail, though the forecast scope follows immediately.

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 read-only, three-parameter, no-output-schema tool, the description covers the data returned, the source, the cost model, and the two locator modes. Missing only unit conventions and the lat/lon pairing rule, which are minor for this complexity.

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 baseline is 3, but the description adds real meaning the schema lacks: it frames city versus lat/lon as alternative ways to specify the same location rather than three independent optional fields. It does not say whether lat and lon must be supplied together, which is the remaining gap.

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?

States a specific resource and scope: current weather plus 24h hourly and ~9-day daily forecast, for a city or lat/lon, with the upstream data source named (MET Norway). The domain alone separates it cleanly from every sibling (EVM, prices, name resolution, web-to-markdown).

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?

The description implies when it applies by declaring its coverage (current + 24h hourly + ~9-day daily) and its accepted locators, but it never states when to use a different tool or what to do when a city name is ambiguous. With no adjacent weather sibling there is little routing risk, so implied guidance is adequate but not explicit.

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