Skip to main content
Glama

Weather Alerts Payment Quote

weather_alerts_quote
Read-onlyIdempotent

Returns the payment terms for https://horizonpulse.dev/api/weather/alerts (base $0.02; USDC on Base or Polygon); this tool never runs the check or pays. Pay the 402 over HTTP with x402 v2: GET ?lat=38.9&lon=-77 or ?area=CA (one point or one US state). Active alerts for one point (lat, lon) or one US state (area), passed through from api.weather.gov: event, severity, urgency, headline, expires, areaDesc, instruction, description, status, messageType and id. Not an official warning 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, including when no alerts are active; bad input is refused before payment, not charged. USDC on Base or Polygon. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a request is settled only when it succe

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: per-answer charging even when no alerts are active, bad input refused before payment, 60 s staleness bound, and chain-specific charge behavior (Base errors not charged vs Solana/XRPL may charge on failure). These are exactly the financial-risk disclosures an agent needs and are not derivable from annotations. The cut-off final sentence on Polygon settlement leaves one disclosed exception incomplete.

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?

The purpose and prohibition are correctly front-loaded, but the body is a dense semicolon chain mixing pricing, transport, returned fields, licensing disclaimers, freshness, and per-chain charging rules in one block. The text is visibly truncated mid-sentence ('is settled only when it succe'), indicating the content overflowed rather than being edited for length.

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 paid-quote tool with no output schema, it covers price and currency, transport, accepted chains, charge/refusal policy, freshness, the returned field list, and a non-affiliation disclaimer. The missing piece is the truncated Polygon settlement sentence, which leaves a promised exception about being charged unresolved.

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

Parameters5/5

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

The input schema is empty with zero parameters, so the description carries the entire burden of telling the agent the real query interface: lat/lon for one point, area for one US state, and the constraint of one point or one state per call. That is meaning that exists nowhere in the structured data.

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 sentence names the specific verb and resource ('Returns the payment terms for https://horizonpulse.dev/api/weather/alerts') and immediately bounds scope ('this tool never runs the check or pays'), which cleanly separates it from the many *_quote siblings. It is unclear only in that the actual data resource (weather alerts) is described second, after the payment mechanics.

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 tells the agent exactly how to use the quote: pay the 402 over HTTP with x402 v2 using GET ?lat=&lon= or ?area=. That effectively states when/how to proceed, and 'this tool never runs the check or pays' rules out a misreading. What's missing is an explicit pointer to an alternative when the agent wants the alerts without paying, or guidance on when the quote is unnecessary.

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.