Skip to main content
Glama

NWS NOAA Weather Alerts MCP

Get NWS active alert summary by state

get_alert_summary_by_state
Read-onlyIdempotent

Retrieve nationwide active NWS weather alert counts across land, marine, regions, and states, or query the exact count for a specific state.

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_alert_summary_by_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_nNoNumber of top states/areas to list when state_code is omitted (default 15).
state_codeNoOptional 2-letter US state code to check (e.g. "CA", "FL").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description contributes useful context that the operation returns aggregate counts rather than alert records, but says nothing about data freshness, caching, or whether inactive/expired alerts are excluded.

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?

A single front-loaded sentence with zero filler that covers both modes. The enumeration 'land, marine, regions, and states' is slightly loose and could be tightened, which keeps it off a 5.

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?

With no output schema, the description correctly signals that the return value is counts rather than alert objects, and the schema documents both optional parameters. The remaining gap is the lack of a pointer to get_active_alerts for record-level data, which matters for an agent choosing among closely related tools.

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% and both parameters already carry descriptions, including the default of 15 for top_n and a state_code example. The description restates the interaction between the two parameters (top_n applies when state_code is omitted) but adds no format or edge-case detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: retrieving active NWS weather alert counts, with the scope named (land, marine, regions, states) and the two operating modes distinguished (nationwide summary vs. exact per-state count). It is not explicitly contrasted with the sibling get_active_alerts, so an agent must infer that this returns counts rather than alert records.

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 two modes are implied by the phrasing: omit state_code for a nationwide top-N summary, supply it for an exact state count. However, there is no explicit when-to-use statement, no exclusion, and no routing to the sibling get_active_alerts when an agent actually wants full alert details rather than counts.

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.