Skip to main content
Glama
ShriniTechie

NWS Weather MCP Server

by ShriniTechie

get_alerts

Retrieve current weather alerts for a US state using its two-letter code, e.g., CA or NY.

Instructions

Get weather alerts for a US state.

Args:
    state: Two-letter US state code (e.g. CA, NY)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
alertsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior1/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. The description only states the function and parameter, with no mention of rate limits, data scope, response format, or any side effects. For a read-only weather alerts tool, the lack of any behavioral context is a significant gap.

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?

The description is concise and front-loaded with the main verb. It includes the necessary parameter explanation in a single line. It is efficient with no wasted words, though it could arguably include more context without becoming verbose.

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

Completeness2/5

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

The tool has an output schema (not shown), which may cover return format, but the description lacks usage guidance relative to the sibling tool and any behavioral notes. Given the simplicity of the tool, the description is still incomplete because it does not tell the agent when to use this over get_forecast or what to expect in terms of alerts.

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?

Schema coverage is 0%, so the description must compensate. It does explain the parameter 'state' as a 'Two-letter US state code (e.g. CA, NY)', providing format and examples. This adds meaningful meaning beyond the bare schema property name, effectively clarifying the expected input.

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?

The description clearly states 'Get weather alerts for a US state' with a specific verb and resource. It is unambiguous about the action, but it does not differentiate from the sibling tool get_forecast. The name and description make the purpose clear, but a mention of the alternative would elevate it.

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

Usage Guidelines2/5

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

No guidance is given on when to use get_alerts versus get_forecast. The description implies alerts are different from forecasts, but it does not state when one should be chosen over the other, nor any exclusions or prerequisites. This leaves the agent to infer usage context.

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

Deploy Server

Other Tools