Skip to main content
Glama

Get Weather Forecast

get-forecast
Read-onlyIdempotent

Get the weather forecast for a point on the map. Give latitude and longitude and get the next five forecast periods for it: the period name, its temperature, wind speed and direction, and the plain-language forecast. US locations only. No API key and no account: discovery is free, a call costs $0.01 in USDC on Base via x402, and nothing is charged when the request returns no data. Free tools: health and tools/list.

Input Schema

NameRequiredDescriptionDefault
latitudeYesLatitude of the location
longitudeYesLongitude of the location

Output Schema

NameRequiredDescriptionDefault
periodsYes
latitudeYes
longitudeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the read-only/idempotent profile; the description goes well beyond by disclosing the x402 payment flow ($0.01 USDC on Base), no API key/account requirement, and the crucial 'nothing is charged when the request returns no data' clause. It also states exactly what comes back (period name, temperature, wind speed/direction, plain-language forecast), which is behavior an agent needs before spending money.

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?

Purpose is front-loaded in the first sentence, then output, then coverage limits, then pricing. The pricing sentence is dense and packs several facts at once, and the trailing 'Free tools' note feels slightly bolted on, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be spelled out, yet the description still summarizes the forecast fields, coverage limits, and the cost/failure-charging semantics. For a paid, open-world tool this is exactly the information an agent needs to decide whether to call it.

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% and both parameters already carry descriptions, so the schema does the heavy lifting. The description only restates 'give latitude and longitude' and adds the framing of a map point, which is marginal value over 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 verb and resource ('Get the weather forecast for a point on the map') and scopes it geographically ('US locations only'). It is trivially distinguishable from siblings get-alerts (alerts, not forecasts) and health (mentioned explicitly as a free tool).

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 clear conditions for use: supply lat/long, US-only coverage, and it names the free tools (health, tools/list) so an agent can route pre-flight checks away from this paid tool. It does not explicitly contrast with get-alerts, but the resource difference is self-evident.

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.