Skip to main content
Glama

forecast

US weather forecast for a point (lat=&lon=) from the National Weather Service: next 7 days of 12-hour periods (temperature, wind, precipitation chance, short and detailed forecast), plus the forecast office and nearest city. Costs 0.01 USDC on Base via x402, or 12 sats Cashu ecash (NUT-24), or 12 sats over Lightning (L402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYes
lonYes
hourlyNo

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?

With no annotations, the description carries the full burden and does well: it discloses the upstream source (NWS), the granularity (7 days, 12-hour periods), what fields come back, and the three payment rails with exact prices. It stops short of mentioning rate limits, caching, or failure modes for out-of-range or non-US coordinates.

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?

One dense sentence that front-loads the core purpose (what it forecasts, for what input) before the pricing detail. Every clause carries information, though the payment enumeration makes it somewhat run-on rather than scannable.

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 and no annotations, the description steps in to enumerate the returned payload and pricing, which is substantial. The remaining gap is the undocumented 'hourly' parameter and absent guidance on behavior for invalid or non-US coordinates.

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 description coverage is 0%, so the description must compensate. It clarifies that lat and lon are query-style string inputs and implies the default 12-hour granularity, but the third parameter, 'hourly', is never mentioned, leaving its accepted values and effect on the response entirely undocumented.

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: a US weather forecast for a lat/lon point, sourced from the National Weather Service. It names the returned payload concretely (7 days of 12-hour periods with temperature, wind, precipitation chance, short/detailed text, forecast office, nearest city), which separates it cleanly from the sibling weather_alerts.

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: an agent can infer this is the tool for point forecasts and that weather_alerts covers warnings, but the description never names that alternative or states when-not to use this. The payment-rail sentence gives practical invocation context (x402 vs Cashu vs L402) but is not a use-case guideline.

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