MCP server for weather forecast and severe weather alerts in the US
The Weather MCP Server provides two tools with clear naming conventions (verb-noun: get-alerts, get-forecast) and reasonable descriptions. However, several critical gaps reduce the score: (1) Parameter descriptions are minimal and lack actionable constraint details. The 'state' parameter says 'Two-letter US state code (e.g. CA, NY)' but includes example values that LLMs may reuse literally, should use enum constraint instead. (2) Output schemas are completely undocumented; callers cannot anticipate the structure of alert or forecast responses, forcing LLMs to reason about unpredictable output. (3) Error handling is present but generic; error messages like 'Failed to retrieve alerts data' do not guide the LLM on next steps (e.g., 'check your coordinates' or 'try a different state'). (4) No tool annotations (readOnlyHint, idempotentHint) despite both tools being read-only and safe to retry. (5) No input validation descriptions (latitude/longitude ranges are validated in code but not documented in the parameter descriptions). The tools are functional and properly named, but lack the LLM-optimized precision expected of production-grade agent tools.
Get weather alerts for a US state
Get weather forecast for a location in the US
Output schemas completely undocumented. Tools return text responses but do not describe the structure of alerts (event, area, severity, headline fields) or forecast (name, temperature, windSpeed, windDirection, shortForecast fields). LLMs cannot plan downstream parsing or extraction without knowing response structure.
Parameter descriptions include example values (CA, NY for state; implicit examples in coordinate ranges). Per pattern:tool-description, example values in descriptions cause LLMs to reuse them literally in real calls. Should declare state as an enum of valid US state codes and latitude/longitude ranges as numeric constraints in the description, not examples.
Error messages do not guide recovery. Responses like 'Failed to retrieve alerts data' and 'This location may not be supported by the NWS API' lack actionable guidance. Per pattern:recovery-guide, errors should tell the LLM what to try next (e.g., 'State code not found. Valid codes are: AL, AK, AZ, ...'; 'Coordinates out of US coverage. Try coordinates within continental US.').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-21 | D | 56 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 54 | - | v1 |
No tool annotations despite both tools being read-only and idempotent. The MCP spec supports readOnlyHint and idempotentHint. Adding these would signal to clients that these tools are safe to call repeatedly without side effects.
Input validation constraints not documented in parameter descriptions. Code validates latitude ±90, longitude ±180, state length = 2 using Zod, but descriptions do not state these constraints. Per pattern:constrained-input, LLMs need explicit range/format descriptions to generate valid inputs.
Tool descriptions lack context on when to use each tool and what result to expect. Descriptions are 40 - 50 characters; baseline for A+ tools is 50 - 200 chars. 'Get weather alerts for a US state' does not explain when an LLM should select this over get-forecast, or that results are active warnings with severity/headline fields.