A collection of MCP server examples and AI agent implementations demonstrating various frameworks and patterns including ReAct, LangGraph, CrewAI, AutoGen, and FastMCP-based MCP servers.
This is an educational handbook with 4 tools, but quality is significantly below production standards. Tools lack proper naming conventions (no verb prefixes), descriptions are minimal (10-30 chars, well below the 194-char baseline), and schemas are present but sparse. Tool #1 and #4 are duplicates named 'calculator' with nearly identical schemas. Parameter descriptions exist but are generic. No error handling guidance, no output schema documentation, and no tool annotations. The code shows safe_eval_math implementation (good security practice) but the MCP interface itself is underdeveloped.
执行数学计算,支持 + - * / ** 和括号
执行数学计算(仅支持数字与 + - * / 等运算)
获取当前日期和时间
查询指定城市的天气信息
Duplicate tool 'calculator' defined twice (tools #1 and #4) with nearly identical schemas. LLMs cannot disambiguate between them.
Tool descriptions are 10 - 30 characters, far below the 194-char baseline. 'Get current date and time' and 'Query weather' lack context for when/why to use them. LLMs cannot determine tool selection criteria.
No output schema documented for any tool. Callers do not know what fields to expect (e.g., does get_weather return {temp, condition, humidity} or a string?). Breaks downstream tool chaining.
No error handling guidance. If calculator receives invalid expression or get_weather fails, no recovery hints provided to the LLM.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 43 | 2026-07-28+ | v2 |
Tool names lack action verbs. 'calculator' should be 'evaluate_expression' or 'compute_math'. 'get_current_date' is acceptable but 'get_weather' is vague (does it forecast, or report current conditions?).