Skip to main content
Glama

NWS Point Forecast Payment Quote

weather_forecast_quote
Read-onlyIdempotent

Returns the payment terms for https://horizonpulse.dev/api/weather/forecast (base $0.005; USDC on Base only); this tool never runs the check or pays. Pay the 402 over HTTP with x402 v2: GET ?lat=38.8977&lon=-77.0365 (NWS point forecast). NWS point forecast for one US lat/lon via api.weather.gov /points then the linked forecast: name, startTime, endTime, isDaytime, temperature, windSpeed, shortForecast, detailedForecast. Not an official forecast service; not affiliated with or endorsed by NOAA/NWS. For life-safety decisions use weather.gov and local authorities. Up to 60 s old. Charged per answer; bad input and points outside NWS coverage are refused before settlement and not charged. USDC on Base only.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

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 already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: a $0.005 base price, USDC on Base as the only settlement path, per-answer charging semantics, no charge for refused input or out-of-coverage points, and a stated data freshness bound of up to 60 s. The non-affiliation and non-official-service disclaimers are exactly the kind of caveat structured fields cannot carry. Nothing here conflicts with 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Information density is high but the structure is a semicolon-chained run-on that mixes purpose, payment mechanics, response fields, legal disclaimers, and billing policy without paragraph breaks or ordering. 'USDC on Base only' and the NWS point-forecast subject are each restated multiple times. Front-loading is good — purpose comes first — but the reader has to re-parse to separate quote behavior from downstream API behavior.

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?

For a zero-parameter quote tool with no output schema, the definition covers price, currency, network, charge/refund policy, freshness, and the data source. The main gap is that the quoted response shape is never described — the field list (startTime, temperature, shortForecast, ...) describes the forecast returned by the paid endpoint, not what the quote itself returns, which is left ambiguous. Given the tool's simplicity, that is a modest omission rather than a blocking one.

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?

The tool takes zero parameters, so the schema provides no semantics to supplement and the baseline of 4 applies. The description does add useful adjacent meaning by specifying the lat/lon query form (GET ?lat=38.8977&lon=-77.0365) that the paid call requires, which helps the agent prepare arguments for the follow-up request. That information belongs to the payment flow rather than this schema, so it is helpful but not load-bearing here.

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 first clause states a specific verb and resource: 'Returns the payment terms for <URL>', and it immediately disambiguates against the underlying operation with 'this tool never runs the check or pays'. The subject being quoted is then named precisely (NWS point forecast for one US lat/lon, with the field list). It stops short of naming the sibling weather_alerts_quote, so an agent must infer the split from the resource description alone.

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?

The description gives concrete operating context: get terms here, then 'Pay the 402 over HTTP with x402 v2' using a specific GET, and it explains that bad input or out-of-coverage points are refused before settlement. It also routes life-safety use away to weather.gov and local authorities. What is missing is an explicit 'use this instead of X when Y' statement relative to sibling quote tools, so the alternative-selection 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