MCP server implementation using Server-Sent Events (SSE) transport with location and weather tools
Five tools with basic schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. All tools are READ_ONLY and follow verb_noun naming (get_*, search_). Descriptions are present but generic (avg ~50 chars, below 194-char baseline). Output schemas not documented. No error handling guidance. Naming is clear but descriptions lack WHEN/WHY context needed for LLM selection.
Get weather alerts for a US state.
Get weather forecast for a location.
Get location information by location ID/code.
Get locations in a specific state.
Search for locations by name.
Parameter descriptions missing. Schemas show type and required fields but no descriptions for 'location_id', 'name', 'state', 'latitude', 'longitude'. LLMs cannot infer parameter meaning from names alone.
Output schemas not documented. No specification of what fields are returned (e.g., does get_location_by_id return name, address, coordinates?). LLMs cannot plan downstream calls without knowing response structure.
Tool descriptions are generic and lack context. 'Get location information by location ID/code' does not explain WHEN to use this vs search_locations_by_name, or what format location_id expects (e.g., 'QIM4, ABC1' are examples, not constraints).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
No error handling guidance. No documentation of what happens if location_id is invalid, state code is malformed, or coordinates are out of bounds. LLMs have no recovery path.
Example values in descriptions ('e.g. QIM4, ABC1', 'e.g. Manheim', 'e.g. MS, FL, CA') risk being reused literally by LLMs. Use enum constraints or format patterns instead.