Skip to main content
Glama

weather

weather
Read-only

Current weather and daily forecast up to 16 days for any city name or coordinates: temperature, feels-like, humidity, precipitation, wind, day/night and a plain-language condition now, plus daily highs, lows, rain probability, wind and sunrise/sunset. Metric or imperial units; local timezone resolved automatically. Price: $0.002 USDC per call (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 (alternative to city)
lngNoLongitude (alternative to city)
cityNoCity name, optionally with country, e.g. 'Austin, US'
daysNoForecast days, 1-16 (default 3)
unitsNometric (default) or imperial

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

readOnlyHint already tells the agent this is a safe read, but the description adds genuinely new behavioral facts: a metered cost of $0.002 USDC per call via x402, automatic local-timezone resolution, and unit selection behavior. That pricing disclosure is the kind of context annotations cannot carry, and it matters for an agent deciding whether to call repeatedly.

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 the capability, then field list, then units/timezone, then price — a sensible priority order. The opening sentence is a dense run-on that could be split, but no clause is 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 usefully enumerates the returned fields, and all five optional parameters are covered by the schema plus cost and timezone context. What remains unaddressed is failure behavior for unresolvable city names and whether coordinate pairs override city, which keeps it short of a 5.

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 the schema already documents all five parameters including defaults and the 'Austin, US' format example. The description restates units and the 1-16 day range but adds little syntax or format meaning beyond what is structured, so the baseline of 3 applies; the timezone-resolution note is behavioral rather than parameter-specific.

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 opens with a specific verb-and-resource pair ("Current weather and daily forecast") and bounds it ("up to 16 days for any city name or coordinates"), then enumerates the exact measures returned (temperature, feels-like, humidity, precipitation, wind, day/night, sunrise/sunset). An agent can immediately distinguish this from the numeric-domain siblings such as fx_latest or crypto_price.

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 text makes clear it is the tool for weather lookups and that either a city name or coordinates may be supplied. There is no explicit when-not-to-use guidance, no mention of what to do when a city name is ambiguous or unmatched, and no named alternative, though no sibling covers weather.

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.