Skip to main content
Glama

weather_forecast

Read-only

Weather forecast (US NWS, global fallback) — 7-day forecast for any coordinate (US: National Weather Service; outside the US: MET Norway daily fallback): periods with temperature, wind, precipitation chance, narrative. Source: National Weather Service. JSON. Price: $0.003 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "weather_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYeslatitude e.g. 36.16
lonYeslongitude e.g. -86.78

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare a read-only, open-world, non-destructive call, so the description does not need to restate safety. It does add genuinely useful context: the source provider, JSON output, the returned fields, and a required $0.003 USDC payment over x402 on Base, which is important behavioral information not in the annotations.

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?

It is a single front-loaded sentence that packs in source routing, returned fields, format, and price with no filler. Heavy parenthetical nesting makes it dense but every clause carries information.

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 still names the returned fields (temperature, wind, precipitation chance, narrative) and the format, and it discloses cost and provider fallback behavior. It omits details such as units, timezone basis, or period granularity, which keeps it short of fully complete.

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%, with lat and lon documented with example values, so the schema carries parameter meaning. The description only implies coordinate input through 'any coordinate' and adds no formatting, unit, or precision guidance beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('7-day forecast for any coordinate'), and it states the two data sources and their US vs non-US split, which distinguishes it from broad alert or current-condition siblings. It never names an alternative such as the batch variant, so the differentiation is implicit rather than explicit.

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?

It clearly conveys the context for use: pass any coordinate, and the tool routes automatically to NWS inside the US and to a MET Norway daily fallback elsewhere. It does not state when not to use it (for example, for hourly data or multi-point queries), so it falls short of full alternative routing.

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