手把手构建企业级 Agent 框架 - 课程实践代码 (Build Enterprise-Grade Agent Framework - Course Practice Code)
This is a course/educational codebase, not a production MCP server. The 'agent' tool is duplicated (appears twice with identical definitions). Tool definition is minimal: description is in Chinese and lacks English localization. Input schema is present but sparse (only 2 required params: prompt, description). No output schema documented. No error handling guidance. No tool annotations. The schema shows basic structure but lacks depth expected for production use. This appears to be teaching material rather than a deployable MCP server.
启动一个子 Agent 来处理复杂子任务。子 Agent 有独立的上下文窗口。
启动一个子 Agent 来处理复杂子任务。子 Agent 有独立的上下文窗口。
Duplicate tool definition: 'agent' tool appears twice with identical schema and description. This violates single-responsibility and creates ambiguity for LLM tool selection.
Tool description is in Chinese only ('启动一个子 Agent 来处理复杂子任务。子 Agent 有独立的上下文窗口。'). No English description provided. LLM clients expect English descriptions for tool selection and reasoning.
No output schema documented. Tool returns results but LLM has no way to know what fields to expect. This breaks downstream tool chaining and forces LLMs to guess at response structure.
No error handling guidance. Tool provides no recovery hints if sub-agent fails, times out, or returns invalid input. LLM cannot determine if error is retryable or fatal.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 33 | 2026-07-28+ | v2 |
Parameter 'description' lacks clear purpose and constraints. Description says '3-5 个词的简要描述' (3-5 word brief description in Chinese) but no validation, enum, or length constraint in schema. LLM cannot enforce this.