Sample Spring Boot application demonstrating MCP stdio server usage with weather data from Gaode API
Two tools with minimal documentation. Both have basic input schemas (latitude/longitude as doubles with descriptions), but tool descriptions are in Chinese and lack English clarity for LLM selection. No output schemas documented. No error handling guidance. No parameter constraints (e.g., valid lat/lon ranges). Tool names lack clear verb-noun structure ('getWeiLaiWeather' is unclear, 'get_forecast' would be better). Missing idempotency hints, retry guidance, and composition metadata. Schemas are present but sparse; descriptions are present but non-standard language and lack LLM-optimized phrasing.
获取指定位置的实况天气,根据用户输入的经纬度,查询目标区域当前的天气情况
获取指定位置的未来几天的天气预报,根据用户输入的经纬度,查询目标区域未来的天气情况
Tool descriptions in Chinese only; LLMs expect English descriptions for tool selection. 'getWeiLaiWeather' is opaque, does not clearly convey 'forecast' or 'future weather'.
No output schemas documented. LLMs cannot plan downstream calls or extract fields without knowing what the tools return.
No parameter constraints (min/max latitude/longitude, valid ranges). Unbounded doubles allow invalid geographic coordinates.
Tool names use camelCase and lack clear verb-noun structure. 'getWeiLaiWeather' is unclear; 'get_forecast' or 'get_future_weather' would be self-documenting.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 31 | 2026-07-28+ | v2 |
No error handling guidance. If coordinates are invalid or API fails, LLM has no recovery path.