Skip to main content
Glama

Weather Alerts by US State (NWS)

weather.alerts.by_state
Read-onlyIdempotent

Get active weather alerts for US states: warnings, watches, and advisories with severity, urgency, description, area, and timing from NWS/NOAA.

Instructions

Active weather alerts for a specific US state — all warnings, watches, and advisories. Returns event, severity, urgency, description, area, timing (NWS/NOAA)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesUS state code (e.g. "CA", "FL", "TX")
limitNoMax alerts (default 10, max 50)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior4/5

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

Annotations already indicate read-only, safe, idempotent, and open-world behavior. The description adds value by specifying the returned fields (event, severity, urgency, etc.), which is not present in annotations. No contradictions.

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?

A single, concise sentence that immediately communicates the tool's purpose, scope, and output content. No redundant or vague wording.

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?

Given that an output schema exists, the description appropriately focuses on input (state) and high-level output fields. It provides enough context for a tool of moderate complexity, though it could briefly mention that only currently active alerts are returned.

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?

Both parameters (state, limit) have complete schema descriptions. The description does not add new meaning beyond the schema; it merely restates 'US state code' for state. Baseline 3 is appropriate.

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 clearly states the tool retrieves active weather alerts for a specific US state, listing the data categories (event, severity, urgency, description, area, timing) and source (NWS/NOAA). It distinguishes from siblings like weather.alerts.active (national) and weather.alerts.get (specific alert).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies use for state-level alerts but does not explicitly differentiate from similar sibling tools (weather.alerts.active, weather.alerts.get). No guidance on when to choose this over alternatives is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server