Skip to main content
Glama

weather_next_rain

Read-only

When will it rain next — When precipitation starts and stops at a US location: scans the National Weather Service hourly forecast (default next 48 h, up to 156) for hours at or above a chance threshold (default 40%) and returns WET NOW / RAIN SOON (within 6 h) / RAIN LATER / DRY, the next wet window with local start/end, duration, peak chance, type (rain, showers, thunderstorms, snow, sleet, freezing rain) and expected amount from gridpoint QPF, when it dries out if wet now, later windows and a 24-hour hourly strip. Params: lat+lon or place; hours; threshold. 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_next_rain"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes36.1627
lonYes-86.7816

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations cover safety (readOnly/openWorld/non-destructive), and the description adds substantial context on top: the underlying data source, the scanning window and cap, the default threshold, the classification taxonomy returned, and the $0.003 USDC x402 price. Geographic limitation to US locations is also disclosed, which is behavior an agent must know before calling.

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?

Content is dense and front-loaded with the core question, and every clause carries real information (source, defaults, return categories, pricing). The downside is that it is one very long run-on sentence with the parameter list tacked on the end, which hurts scanability.

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 carries the return-value burden and does it well: it names the status categories (WET NOW / RAIN SOON / RAIN LATER / DRY), the wet window fields, precipitation type, QPF amount, and the 24-hour strip. Only the parameter mismatch and the absent explicit alternatives keep it from full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description claims 'Params: lat+lon or place; hours; threshold', but the input schema exposes only lat and lon — 'place', 'hours' and 'threshold' do not exist as parameters. The default-window and threshold semantics are still informative, but advertising parameters the schema doesn't accept is misleading for invocation.

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?

The description opens with a specific question-shaped verb+resource ('When will it rain next') and immediately scopes it ('precipitation starts and stops at a US location'), which cleanly separates it from siblings like weather_hourly or weather_precip: this tool is a decision answer, not a raw forecast dump.

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 gives clear operative context: NWS hourly forecast source, default 48h window extending to 156h, and a chance threshold (default 40%). It never explicitly says when-not to use it or names an alternative such as weather_hourly/weather_precip, so the routing condition 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