MCP server providing comprehensive real-time weather data, hourly forecasts, daily forecasts, minutely precipitation forecasts, and weather alerts using the Caiyun Weather API
Five tools with complete input schemas (lng/lat coordinates with proper bounds) and descriptions. Naming follows verb_noun pattern (get_*). However, descriptions lack LLM-optimization guidance (e.g., when to use each tool vs. alternatives, prerequisites). Output schemas are not documented, responses are formatted as free-text strings rather than structured JSON. Error handling is present in code but not surfaced in tool definitions. No tool annotations (readOnlyHint, etc.). Parameter descriptions are adequate but generic.
Get detailed daily weather forecast for up to 15 days including temperature ranges, weather conditions, precipitation, wind, air quality, and life indices.
Get detailed hourly weather forecast including temperature, apparent temperature, weather conditions, precipitation, wind, air quality, and more. Use detail_level parameter to control display frequency: - detail_level=0: Auto-select based on forecast duration (default) - detail_level=1: Every hour (most detailed) - detail_level=2: Every 2 hours - detail_level=3: Every 3 hours
Get detailed minutely precipitation forecast for the next 2 hours with minute-by-minute precipitation intensity and probability.
Get comprehensive real-time weather data including temperature, humidity, wind, air quality, and life indices.
Get active weather alerts and warnings for a specific location.
Output schemas not documented. All tools return free-text string responses instead of structured JSON objects. LLMs cannot parse results reliably or chain downstream tool calls. Responses should be structured with typed fields (temperature: float, humidity: float, etc.).
Tool descriptions lack LLM-optimization guidance. Missing: when to use each tool (realtime vs. hourly vs. daily), what each returns, and prerequisites. Descriptions should answer 'What does it do?' and 'When should I call this instead of a similar tool?'
No tool annotations. Tools lack readOnlyHint, destructiveHint, or idempotentHint metadata. All tools are read-only but this is not declared in the tool definition.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | <=2025-11-25 | v2 |
Error handling not surfaced in tool definitions. Code includes retry logic and timeout handling, but tool descriptions do not explain error conditions, recovery steps, or when to retry. LLMs cannot self-correct on failures.
API token validation happens at runtime but is not documented in tool descriptions. Tool descriptions should note that CAIYUN_WEATHER_API_TOKEN environment variable is required and what happens if it is missing.