Skip to main content
Glama

NWS Weather Alerts

get_nws_alerts
Read-onlyIdempotent

Returns active National Weather Service alerts for the Sedona / Yavapai County area — watches, warnings, and advisories. Returns empty when conditions are clear.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
alertsYes
sourceYes
updatedYes
locationYes
alert_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "alert_count": {
      +      "type": "number"
      +    },
      +    "alerts": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "areas": {
      +            "type": "string"
      +          },
      +          "description": {
      +            "type": "string"
      +          },
      +          "effective": {
      +            "type": "string"
      +          },
      +          "event": {
      +            "type": "string"
      +          },
      +          "expires": {
      +            "type": "string"
      +          },
      +          "headline": {
      +            "type": "string"
      +          },
      +          "instruction": {
      +            "type": "string"
      +          },
      +          "severity": {
      +            "type": "string"
      +          },
      +          "urgency": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "event"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "location": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "updated": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "location",
      +    "updated",
      +    "alert_count",
      +    "alerts",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive. The description adds that the result is empty when conditions are clear, which is useful behavioral context beyond 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.

Conciseness5/5

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

Two sentences with no extraneous words. Front-loaded with the core purpose, followed by behavior on empty results.

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?

Given zero parameters, high schema coverage, and presence of an output schema, the description is complete. It specifies the spatial scope and return semantics (empty when clear).

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 has zero parameters, so baseline is 4. The description adds no parameter info, which is appropriate since none exist.

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 returns active National Weather Service alerts for a specific area (Sedona/Yavapai County), specifies the types (watches, warnings, advisories), and indicates behavior when no alerts exist. This distinguishes it from siblings like get_emergency_alerts or get_weather.

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 usage for local weather alerts but does not explicitly state when to use this tool over alternatives such as get_emergency_alerts or get_weather. No exclusions or alternative suggestions are provided.

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