This weather server demonstrates basic MCP functionality with two READ_ONLY tools that call the National Weather Service API. Tool naming follows verb_noun convention correctly (get_alerts, get_forecast). However, critical gaps exist: descriptions lack depth regarding when to use each tool and what contextual differences exist; parameter descriptions are minimal (single short phrases rather than actionable guidance); no output schemas are documented; and error handling is silent (returns plain strings like 'Unable to fetch alerts' without guidance on recovery). The server uses FastMCP correctly and registers tools with schemas, but the definitions themselves are sparse. Both tools accept straightforward parameters with types defined, which is positive, but the overall polish and LLM-readiness is below production baseline.
Get weather alerts for a US state. Args: state: Two-letter US state code (e.g. CA, NY)
Get weather forecast for a location. Args: latitude: Latitude of the location longitude: Longitude of the location
Tool descriptions lack actionable context and recovery guidance. get_alerts says 'Get weather alerts for a US state' and get_forecast says 'Get weather forecast for a location', neither explains WHEN to call one vs the other, what data structure is returned, or what to do if the API fails.
No documented output schema. Both tools return plain strings (formatted text). LLMs cannot plan downstream calls or extract structured data. Best practice: return JSON objects with fields like {alerts: [{event, area, severity, description, instructions}], total_count} so agents can reason about and transform the data.
Error responses are silent and non-actionable. When API calls fail, both tools return strings like 'Unable to fetch alerts or no alerts found' and 'Unable to fetch forecast data for this location', generic fallbacks that do not tell the LLM whether the error is retryable, user-fixable, or fatal, or what to try next.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 50 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 51 | - | v1 |
Parameter descriptions are single-line, minimal phrases. 'Two-letter US state code (e.g. CA, NY)' is too vague, does 'state' accept lowercase? What happens if the user passes a full state name like 'California'? Should the tool normalize input? Does it validate? For latitude/longitude, no mention of valid ranges (±180, ±90), precision (decimal places), or whether invalid coordinates are rejected or return no results.
get_alerts hard-codes the NWS API endpoint and does not validate the state parameter. Passing 'invalid_state', 'us', or '00' will make an API call that either succeeds with empty data or fails silently. No enum constraint on state values forces the LLM to guess valid inputs.
get_forecast limits results to 5 periods arbitrarily (periods[:5]) and returns the next 5 periods with no explanation in the description. LLMs do not know the time range covered (hourly? daily? 5 days from now?) or whether pagination is available. Should the tool accept a limit parameter or return metadata indicating coverage?
make_nws_request swallows exceptions and returns None silently without logging. When a network failure, timeout, or JSON parsing error occurs, the caller gets no diagnostics. From the LLM's perspective, no data was found vs. API was unreachable, both trigger the same fallback.