Skip to main content
Glama

Nws Active Alerts

nws-active-alerts
Idempotent

Return current U.S. National Weather Service active alerts for a state or territory as compact structured JSON. Price: $0.01 via x402. _salt19_operation_id is recommended but optional for standard x402 compatibility.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
areaYes
limitNo
_salt19_handoff_idNoOptional SALT19 authorization handoff correlation. Preserve the same value across challenge, local signing, and paid retry.
_salt19_operation_idNoOptional but recommended semantic purchase identifier preserved across challenge/payment/retries.
_x402_payment_signatureNoOptional x402 payment proof. Omit on the first call; include after satisfying the challenge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already convey idempotency and non-destructiveness, so the description need not repeat those. It adds useful behavioral context by disclosing the $0.01 x402 price and the recommendation to include _salt19_operation_id for x402 compatibility. However, it does not explain the expected challenge/payment flow or what happens when no alerts exist, which would be more transparent for a paid tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two sentences, no filler. The main purpose is front-loaded, and the payment/x402 compatibility note is the only additional information included. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no output schema, the description gives only a minimal promise of 'compact structured JSON' and does not describe the alert payload shape, empty-result behavior, or the x402 challenge-retry sequence. The schema covers the optional payment-related parameters, but an agent would still need to infer some call sequencing. It is adequate but not fully complete.

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?

The schema leaves `area` and `limit` without field descriptions, and the overall schema description coverage is 60%. The description compensates partially by clarifying that `area` is a U.S. state or territory and that results are compact structured JSON. It also adds rationale for `_salt19_operation_id`. Still, `limit` behavior and the exact meaning of the area code format remain implicit.

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 verb ('Return'), a clear resource ('current U.S. National Weather Service active alerts'), and a precise scope ('for a state or territory'). It also specifies the output format as compact structured JSON, making the tool's function immediately apparent and distinct from the unrelated sibling tools.

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 provides clear context for when the tool should be used: whenever current NWS active alerts for a specific state or territory are needed. It also signals the payment prerequisite via x402 and recommends the operation ID, which helps an agent prepare the call. It does not explicitly name exclusions or alternative tools, but no close weather-alert alternatives appear among the siblings.

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