Skip to main content
Glama

Weather for one lat/lon (paid, x402)

weather_forecast
Read-only

PAID: current conditions, the next 12 hourly steps and up to 7 daily rows for one point, for $0.0100. Coordinates only, no place names; data from MET Norway (api.met.no), attribution rides in the answer. Unpaid, it returns the price; pay with x402 (USDC on Base, Solana, Polygon, Arbitrum, Avalanche, Sei or X Layer) in _meta['x402/payment'] and call again. Feedback: POST /feedback (free). Read daily; no individual reply.

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

Input Schema

NameRequiredDescriptionDefault
latNoLatitude in decimal degrees, -90..90, e.g. 59.9127.
lonNoLongitude in decimal degrees, -180..180, e.g. 10.7461.
daysNoDaily rows (UTC dates) to return, 1..7. Omitted means 3. Same price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / days
      Added value: +{
      +  "description": "Daily rows (UTC dates) to return, 1..7. Omitted means 3. Same price.",
      +  "maximum": 7,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations: discloses $0.0100 pricing, the x402 payment protocol, accepted chains and token, the unpaid-probe-then-retry flow, the upstream data source and attribution obligation, and the free no-reply feedback channel. These are exactly the operational traits an agent cannot infer from structured fields.

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-loads PAID and the price, then the payload, then payment mechanics. Dense and mostly waste-free, though the payment sentence packs chains and metadata key into one long run-on that is harder to parse than it needs to be.

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 does the work by naming the returned sections (current, hourly, daily) and noting attribution arrives in the answer. It leaves open whether payment must be repeated per call/reuse, a small gap for a paid tool, but the call mechanics are otherwise complete.

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 coverage is 100%, so lat/lon/days are already fully documented with ranges and defaults. The description's only extra is that inputs must be decimal coordinates rather than place names, which is a marginal addition; the 'same price' note is already in the schema.

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 (current conditions, 12 hourly steps, up to 7 daily rows) for one point, plus the price up front. Nothing in the sibling list overlaps, and an agent knows exactly what it will get back.

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 the hard constraint 'Coordinates only, no place names' and a complete use path: call unpaid to get the price, pay via _meta['x402/payment'], call again. It does not say when to prefer this over any alternative (e.g. a free lookup), but the paid gating is 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