Skip to main content
Glama

weather_forecast_batch

Read-only

US forecast for up to 8 places in one call (NWS) — National Weather Service 7-day forecast for up to 8 US locations at once, plus a comparison: warmest next period, coldest low this week, wettest next 48 hours and fewest rainy days. points = name=lat,lon entries separated by ; or | (name optional). Each location returns the nearest city, current period, day/night highs and lows, precipitation chance, wind and rainy days. Places outside NWS coverage get a per-item error. Public-domain NWS data, Fahrenheit. Price: $0.01 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": {
      "points": "<points>"
    },
    "name": "weather_forecast_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsYese.g. Nashville=36.16,-86.78;Chicago=41.88,-87.63;Miami=25.76,-80.19

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover read-only/non-destructive/open-world; the description adds the hard cap of 8 locations, the per-item error behavior for locations outside NWS coverage, Fahrenheit units, and — critically — a $0.01 USDC cost via x402 on Base, which an agent must know before calling. It also enumerates what each result contains (nearest city, current period, day/night highs and lows, precipitation chance, wind, rainy days), which annotations cannot convey.

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?

Front-loaded with the purpose, then format, then return shape, then coverage limits and price — a sensible order with no filler sentences. It is a dense single paragraph, though, and the parenthetical NWS expansion plus repeated 'up to 8' phrasing make it slightly heavier than necessary.

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?

With no output schema, the description compensates by enumerating returned fields and the comparison block, and it discloses the payment cost, the batch ceiling, and partial-failure semantics. Everything an agent needs to decide and invoke correctly is present.

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 100% and the single property already carries a name=lat,lon example, so the baseline is 3. The description adds genuine meaning beyond it: that the name is optional and that entries may be separated by either ';' or '|', which the schema does not state.

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 concrete verb, resource, and scope: NWS 7-day forecast for up to 8 US locations in one call, plus an explicit comparison output (warmest next period, coldest low, wettest 48h, fewest rainy days). The batch/8-location framing plus the comparison summary clearly separates it from single-location forecast siblings without naming them.

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?

The definition establishes the use context well: up to 8 US places, NWS coverage only, with a per-item error for out-of-coverage places. However, it never explicitly routes the agent against alternatives (e.g. when to prefer a single-location forecast tool or a best-day finder), so the when-to-use guidance is implied rather than stated.

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