一个提供全国天气预报查询功能的模型上下文协议(Model Context Protocol)服务器。该服务器使大型语言模型(LLMs)能够获取全国城市、地区的天气预报情况。
Single tool with critical definition gaps. Tool name 'query_weather' lacks action verb clarity (should be 'get_weather' or 'search_weather'). Description is in Chinese only, limiting LLM comprehension in English-first systems. Input schema present but minimal, only one parameter with no type constraints, enums, or validation guidance. No output schema documented. No error handling guidance. Parameter description contains example values ('北京、上海、广州、深圳、泰顺') which LLMs may reuse literally. No pagination, no structured response format documented.
根据城市、地区、区县名称查询当地实时天气预报情况
Tool name lacks action verb. 'query_weather' is vague; should be 'get_weather' or 'search_weather' to signal intent clearly.
Description entirely in Chinese. LLMs trained primarily on English will struggle to understand when/why to call this tool. Provide English description.
No output schema documented. Return type is 'list[types.TextContent | types.ImageContent | types.EmbeddedResource]' but actual response structure (fields, format) is opaque to the LLM.
Parameter description includes example city names ('北京、上海、广州、深圳、泰顺'). LLMs tend to reuse examples literally rather than adapting to context. Use enum constraints or validation rules instead.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 32 | 2026-07-28+ | v2 |
No error handling guidance. Code returns raw API error messages ('Error: {data[reason]}') without recovery hints. LLM cannot determine if error is retryable or user-fixable.