Skip to main content
Glama

Active alerts

get_alerts
Read-onlyIdempotent

Active NWS weather alerts for Crosby, TX, each with event, headline, severity and expiry. Call this first for anything happening now. Returns an empty list when none are active. For later periods use get_forecast; for river flooding, get_river_levels; for roads, get_traffic.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYes
alertsYes
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "alerts": {
      +      "items": {
      +        "properties": {
      +          "event": {
      +            "type": "string"
      +          },
      +          "expires": {
      +            "type": "string"
      +          },
      +          "headline": {
      +            "type": "string"
      +          },
      +          "severity": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "count": {
      +      "type": "integer"
      +    },
      +    "location": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "location",
      +    "count",
      +    "alerts"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false), and the description adds the useful behavioral detail that an empty list means no active alerts. It does not discuss rate limits or data staleness, but for a safe read-only tool that is a minor gap.

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?

Three compact sentences: first what it returns, then when to call it, then what to use instead. No filler; the highest-value routing instruction is front-loaded.

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?

An output schema exists, so the description need not explain return structure in more detail than it already does. Location scope, empty-result behavior, and alternative-tool routing are all covered for a simple no-parameter read tool.

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 takes zero parameters, so there is nothing for the description to disambiguate; the empty input schema is self-explanatory. The description correctly adds no parameter detail, which is appropriate here.

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 gives a specific verb and resource ('Active NWS weather alerts'), a location ('Crosby, TX'), and the fields returned ('event, headline, severity and expiry'). An agent can distinguish this from get_forecast or get_warning_history without opening the schema.

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

Usage Guidelines5/5

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

'Call this first for anything happening now' explicitly tells the agent this is the entry point for current conditions. It also names alternatives for specific situations ('get_forecast' for later periods, 'get_river_levels' for river flooding, 'get_traffic' for roads), leaving little room for misrouting.

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.