Skip to main content
Glama

weather

weather
Read-only

Current weather and up to 14-day forecast for any place name or lat/lon: temperature, feels-like, humidity, rain chance, wind, sunrise and sunset. Metric or imperial. Costs $0.004 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNo
lonNo
daysNo1 to 14, default 3
placeNoPlace name, e.g. Toronto
unitsNometric | imperial

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover readOnlyHint and openWorldHint, so the safety profile is set. The description adds valuable context beyond structured fields: pricing ($0.004 USDC per call via x402), forecast horizon cap (14 days), and supported input modes. It does not mention rate limits or response format, but this is solid added value.

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?

Two dense sentences, front-loaded with the primary function and scope, then fields, then pricing. No wasted words.

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?

No output schema exists, so the description reasonably lists return fields. Covers purpose, inputs, units, forecast cap, and cost. Missing pagination/rate-limit and precise lat/lon expectations keeps it from a 5.

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 60% (params lat, lon lack descriptions; days and units have them). The description clarifies lat/lon vs place-name input modes and 'metric or imperial', which compensates somewhat for the undocumented lat/lon, though it doesn't explain coordinate format or defaults. Baseline 3 improved to 4 for filling the input-mode 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 verb+resource (current weather and forecast) with explicit scope ('up to 14-day') and enumerates returned fields. Siblings include airquality and solar but not weather, so differentiation is implied by the unique weather domain.

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?

Implies usage context (any place name or lat/lon, metric or imperial) but gives no explicit when/when-not guidance or alternatives (e.g., airquality for air quality, solar for sun data). 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