Skip to main content
Glama

Global Weather & Marine

Hourly & 5-Day Weather Forecast

weather_get_forecast
Read-onlyIdempotent

Get a verified NOAA weather forecast for any location worldwide — hourly up to 18 hours at high-resolution 3 km across the United States, or multi-day up to 120 hours (5 days) anywhere on Earth. Returns temperature, wind speed, rain, and air pressure at each forecast step. Price: $0.05 with a prepaid API key or USDC.

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

Input Schema

NameRequiredDescriptionDefault
hoursNoForecast length in hours (1 to 18 hours at 3 km in the United States, or up to 120 hours worldwide; default 12).
latitudeNoLatitude in decimal degrees (-90 to 90, anywhere worldwide).
longitudeNoLongitude in decimal degrees (-180 to 180, anywhere worldwide).
spend_keyNoOptional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header.
credit_keyNoOptional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header.
step_hoursNoOptional hours between forecast points (1 to 12, default 3).
destinationNoOptional featured city shortcut (or supply explicit latitude and longitude anywhere worldwide).
builder_codeNoOptional partner referral code for revenue sharing.
idempotency_keyNoOptional unique request ID so retries are never billed twice.
payment_signatureNoOptional direct payment header when paying per request without a prepaid API key.

Output Schema

NameRequiredDescriptionDefault
okYes
modelNo
sourceNo
coverageNo
forecastNo
resolution_kmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / destination / enum
      Previous value: -[
      -  "annapolis",
      -  "ocean_city",
      -  "wharf_dc",
      -  "national_harbor",
      -  "college_park",
      -  "st_croix",
      -  "kill_devil_hills",
      -  "calistoga",
      -  "nationals_park"
      -]New value: +[
      +  "annapolis",
      +  "ocean_city",
      +  "wharf_dc",
      +  "national_harbor",
      +  "mgm_national_harbor",
      +  "navy_yard",
      +  "college_park",
      +  "st_croix",
      +  "kill_devil_hills",
      +  "calistoga",
      +  "nationals_park"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered structurally. The description adds genuinely new behavioral context that annotations cannot convey: the tool is paid ($0.05 via prepaid API key or USDC), which matters for an agent deciding whether to call it or repeat a call. It does not discuss rate limits, error modes, or how the paid path interacts with the spend_key/idempotency_key, but the cost disclosure is the key missing piece it supplies.

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?

A single dense passage that front-loads the core capability first and the commercial detail last, with no filler or repetition. The pricing sentence is somewhat promotional in tone but earns its place because cost affects call decisions. Minor cost: the sentence chain is long and would read better broken into coverage and pricing lines.

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 an output schema present, the description need not explain return structure, and the rich annotations cover safety and idempotency; what remains is scope and cost, both stated. The gap is small: units (metric vs imperial) and time zone of returned timestamps are unstated, which an agent may need to interpret results correctly.

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 100%, so all ten parameters, including the hours/resolution coupling and the destination enum, are already documented in structured form. The description only restates the hours bounds and return fields, adding no syntax, unit, or default detail beyond what the schema provides. Baseline 3 applies when the schema carries the parameter burden.

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 a verified NOAA weather forecast') and immediately distinguishes it from point-in-time siblings by naming the two modes: hourly to 18 hours at 3 km resolution in the US, and multi-day to 120 hours worldwide. The return contents (temperature, wind speed, rain, air pressure at each step) are also stated, so an agent can distinguish this from weather_get_current or weather_get_alerts without opening the schema.

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 selection context through the resolution/coverage rule: high-resolution 3 km hourly data only applies inside the United States, while up to 120 hours works anywhere on Earth. This lets an agent pick the right forecast horizon and understand the geographic tradeoff. It does not explicitly name a sibling as the alternative for current conditions or alerts, so it falls short of explicit when-not guidance.

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