Skip to main content
Glama

NWS active alerts (unedited) (paid: 0.001 RLUSD / 0.001 USDC on Base / 0.001 RLUSD on Base via x402)

nws_alerts
Read-only

Paid: 0.001 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.001 USDC on Base (eip155:8453). Pay per call, solves one question: What National Weather Service alerts are active for this state, zone or point? Active National Weather Service alert records for one state/area code, one UGC zone, or one lat,lon point, passed through unedited with source and fetched_at (cached up to 60 s). Not a warning service and may be delayed or incomplete: use official NWS channels for safety decisions. Not affiliated with or endorsed by NOAA/NWS. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.

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": "nws_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNotwo-letter state/area code, e.g. TX (give exactly one of area, zone, point)
zoneNoUGC zone/county id, e.g. TXZ192
pointNolat,lon in decimal degrees
geometryNo1 to include alert geometry (default omitted)
payment_signatureNoOptional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements.

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?

Beyond the supplied annotations, it discloses that records are passed through unedited with source and fetched_at, that results are cached up to 60 s, that data may be delayed or incomplete, and that the service is not affiliated with NOAA/NWS. It also spells out the failure mode precisely: an isError response containing the x402 PaymentRequired object with a fresh invoiceId, and that unpaid calls cost nothing.

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?

The one-paragraph form is dense but ordered sensibly: pricing, then purpose, then caveats, then payment-failure mechanics. The opening pricing sentence duplicates information already present in the tool title, which is mild waste, and the single block makes the caveats easy to skim past.

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 still conveys the shape of the return (unedited alert records plus source and fetched_at) and the caching window. Payment acquisition, retry, error behavior, and safety disclaimers are all covered, leaving nothing an agent needs to call this correctly.

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%, so the schema already documents area, zone, point, geometry, and payment_signature, including the "give exactly one of area, zone, point" constraint. The description reinforces the either-one-selector rule and the payment_signature retry flow but adds little new meaning about individual parameters, which is the expected baseline when the schema does the heavy lifting.

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 names a specific verb and resource — "Active National Weather Service alert records" — and pins the exact scope: one state/area code, one UGC zone, or one lat,lon point. The framing "solves one question: What National Weather Service alerts are active for this state, zone or point?" makes the tool's single job unmistakable and separates it from neighbors like get_current_conditions.

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 an explicit usage boundary ("Not a warning service and may be delayed or incomplete: use official NWS channels for safety decisions"), which tells the agent when not to rely on it. It also documents the payment retry path (first call returns PaymentRequired, retry with a signed payload). It stops short of naming a sibling tool as an alternative, but the exclusion is clear.

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