Weather query MCP server that retrieves weather information for specified cities
Single tool with minimal definition quality. Tool name 'query-weather' lacks action verb prefix (should be 'get_weather' or 'fetch_weather'). Description is present but generic (10 chars in English: '查询指定城市的天气' = 'Query weather for specified city'). Input schema exists with basic type but parameter description is minimal (8 chars: '需要查询天气的城市' = 'City to query weather for'). No output schema documented. No error handling guidance. No pagination, no result limits, no structured response format visible. Tool implementation returns raw JSON wrapped in text, not structured output. No validation of city parameter format or length constraints.
查询指定城市的天气
Tool name lacks action verb. 'query-weather' should be 'get_weather' or 'fetch_weather' to signal intent clearly to LLMs.
No output schema documented. LLMs cannot predict response structure or plan downstream operations. Implementation returns raw API JSON in text field.
Parameter description is too brief (8 chars). Should explain format expectations, valid city names, and what happens if city is not found.
No input validation constraints documented. City parameter accepts any string; no length limits, format patterns, or examples provided.
Error handling is minimal. Generic 'query weather failed' message provides no recovery guidance. Should indicate if city not found, API key missing, or network error.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 35 | 2026-07-28+ | v2 |