Model Context Protocol server that provides weather alerts and forecasts via US weather.gov API
This server has basic tool definitions with schemas present, but significant gaps in description quality and parameter documentation. Both tools have action verbs (good naming), but descriptions lack depth and parameter descriptions are minimal or missing entirely. The get_forecast tool in particular has incomplete parameter descriptions (latitude/longitude lack units, ranges, or constraints). Error handling is present in code but not reflected in tool definitions. Overall, the definitions are functional but would not pass production code review without substantial improvements to parameter documentation and output schema clarity.
Get weather alerts for a US state. Input is Two-letter US state code (e.g. CA, NY)
Get weather forecast for a specific latitude/longitude
Critical: get_forecast latitude and longitude parameters lack descriptions entirely. LLMs cannot infer parameter meaning from names alone.
High: Numeric parameters (latitude/longitude) lack numeric constraints. No min/max bounds documented. LLMs may pass invalid values (e.g., latitude=200 or longitude=400).
High: get_alerts state parameter lacks enum constraint. Accepts only 50 US state codes (AL, AK, AZ, ... WY) but the schema permits any string. LLMs will hallucinate invalid state codes (e.g., 'XX', 'United States').
Medium: Tool descriptions do not clarify WHEN to use each tool or what distinguishes them. An LLM might not know whether to call get_alerts or get_forecast first, or which is appropriate for a given user intent.
Inferred effective spec: 2026-07-28+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 51 | 2026-07-28+ | v2 |
Medium: Output schema not documented. Tools return arrays of TextContentBlock, but there is no specification of what fields or structure the returned text contains.
Medium: Error handling returns plain TextContentBlock with error messages (e.g., 'The state parameter is required', 'The latitude and longitude parameters are required'), but errors are not categorized as retryable or user-fixable.