MCP server for analyzing file content and dependencies across multiple programming languages (Python, Java, JavaScript). Supports reading files, analyzing imports, exploring project structures, and building dependency trees.
This server has significant definition quality gaps. While all 6 tools are explicitly registered with @mcp.tool() decorators and have visible descriptions, the descriptions are in Chinese and lack LLM-optimization. Most descriptions are under 100 characters but several are vague (e.g., 'analyze_imports' lacks detail on what constitutes a dependency). Parameter schemas exist but lack depth: many parameters have minimal or no descriptions (base_path is described only as '基础路径(可选)' without explaining its purpose or relationship to filepath). Output schemas are completely undocumented, we cannot see what fields each tool returns, making it impossible for LLMs to plan follow-up calls. Error handling is absent from visible code. Input validation constraints (e.g., valid file extensions, max directory depth constraints) are missing or unclear. The codebase shows function calls to backend modules (get_file_content, analyze_file_imports, etc.) but those implementations are not visible, so we cannot verify what errors are raised or how outputs are structured.
分析文件的导入依赖(自动识别语言)
浏览目录结构,查看文件和子目录
智能探索项目结构(自动过滤常见无关文件)
查找项目的入口文件
获取多语言项目的依赖树结构
读取单个文件的完整内容(支持多种语言) 支持的语言:Python (.py), Java (.java)
No output schemas documented for any tool. LLMs cannot infer what fields each tool returns, forcing them to guess or make unsafe assumptions about result structure. This violates the 'Document the output schema' rule and breaks tool chaining.
Descriptions are in Chinese, which limits usefulness to non-Chinese-speaking LLM users and may confuse multilingual models. More critically, descriptions lack LLM-optimization: they do not state WHEN to call the tool vs alternatives, WHAT the tool does if it fails, or what the expected output structure is.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 43 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 43 | - | v1 |
Parameter descriptions are minimal or missing for several parameters (base_path, project_root, dirpath). Descriptions do not explain purpose, constraints, or expected format. For example, 'base_path' appears in 4 tools but is never explained, is it a prefix, a working directory, or a sandbox root? This ambiguity forces LLMs to guess or waste calls testing.
No error handling or error guidance visible. Code does not show what errors are raised if a file is not found, if a directory is inaccessible, if max_depth is invalid, or if a language is unsupported. Without error guidance, LLMs cannot recover from failures autonomously.
No input validation constraints visible (e.g., max_depth bounds, file_extensions format). Example value in browse_directory's file_extensions description ('.py,.java') instead of formal constraint, LLMs tend to reuse example values literally.
Tool names could be more specific. 'browse_directory' vs 'list_directory' (already used as internal function name) is inconsistent. 'explore_project' is vague, does it search, list, or analyze? 'find_main_files' does not clarify the detection method. Clarity improves LLM tool selection.