A weather MCP server that provides weather alerts and forecasts using the National Weather Service API
The server defines 2 tools with explicit schemas and descriptions. Both tools use verb_noun naming (get-alerts, get-forecast) which is appropriate. However, descriptions are minimal (19 and 23 characters respectively), falling below the 50 - 200 character baseline for LLM-optimized descriptions. Parameter descriptions exist but are terse. Output schemas are not documented, tools return text content but the structure is not formally specified for the agent. Error handling is present in implementation but not declared in tool definitions. No tool annotations (readOnlyHint, idempotentHint) despite both tools being read-only operations.
Get weather alerts for a state
Get weather forecast for a location
Tool descriptions are too short (19 - 23 chars) to guide LLM selection effectively. Baseline: 50 - 200 chars. Descriptions lack context on when to use each tool vs. the other, what prerequisites exist, and what the return value structure contains.
Output schemas are not documented. Both tools return `{content: [{type: 'text', text: string}]}` but this structure is not declared in tool metadata. LLMs cannot plan downstream steps or validate response structure without seeing the schema.
Missing tool annotations. Both tools are read-only (GET operations only, no side effects), but neither declares readOnlyHint in their definition. This prevents clients from optimizing request routing and caching.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 49 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 38 | - | v1 |
Error handling is implemented in tool logic (returning text describing failures: 'Failed to retrieve alerts data', 'No active alerts') but errors are not categorized as retryable, user-fixable, or fatal. LLMs cannot decide whether to retry, ask the user, or escalate.
Parameter 'state' in get-alerts lacks format constraints. Description says 'Two-letter state code (e.g. CA, NY)' but uses regex pattern validation in zod only (length(2)), not in the JSON schema visible to the LLM. The word 'e.g.' in descriptions is an anti-pattern; use enum or length constraints instead.