The server provides 3 stock data tools with functional schemas and moderate descriptions. All tools have explicit input parameter definitions with type annotations and descriptions. However, descriptions lack strategic guidance for tool selection, output schemas are not formally documented, and error handling is present but not comprehensive. The tools follow a consistent pattern (stock_XX_hist) but naming could be more explicit about what 'hist' means. Parameter descriptions include Chinese enum values which are good, but some constraints are informal.
获取港股历史行情数据
获取美股历史行情数据
获取沪深京A股历史行情数据
Tool names use abbreviated 'hist' instead of explicit 'history', LLMs must infer what 'hist' means. Should be 'get_us_stock_history', 'get_hk_stock_history', 'get_zh_a_stock_history' to be self-documenting.
Output schema is not formally documented. Tools return markdown tables or JSON error objects without declaring return type in tool metadata. LLMs cannot predict output structure for planning downstream operations.
Descriptions do not include dependency hints or selection guidance. User cannot tell when to call each tool or why one would choose stock_us_hist over stock_hk_hist without domain knowledge.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-21 | F | 7 | <=2025-11-25 | v2 |
| 2026-03-09 | D | 57 | - | v1 |
Parameter descriptions include example values like '106.TTE' and 'AAPL' which LLMs may treat as literal defaults. Should use enums or pattern constraints instead. The Chinese enum descriptions ('日线', '周线', '月线') are good but could be clearer in English context.
No support for discovering valid stock symbols. Tools require 'ak.stock_us_spot_em()' as a prerequisite lookup, but this is not exposed as a discoverable MCP tool. Agents cannot find valid stock codes without external knowledge.
Error handling returns both JSON and markdown depending on error type. Consistency issues: some errors return JSON objects with 'code' and 'error' fields; success returns markdown. Makes parsing ambiguous for agents.
Date validation errors are user-fixable but error messages do not suggest recovery. Should say: 'Date format error: expected YYYYMMDD (e.g. 20240101). Got: {invalid_value}'. Currently returns bare format error.