MCP File Context Server - A Model Context Protocol (MCP) server that provides file system context to LLMs
12 tools with consistent naming (verb_noun pattern) and basic descriptions. All tools are READ_ONLY file operations with clear intent. However, descriptions are terse (avg ~40 chars, well below the 194-char baseline), lack context on WHEN to use each tool, and parameter descriptions are minimal. Input schemas are present but sparse, most parameters lack constraints (enums, ranges, formats). Output schemas are not documented. No error handling guidance. Tool composition is reasonable (single responsibility), but descriptions do not guide LLM selection between similar tools (e.g., analyze_file vs analyze_directory vs get_outline).
Analyze all files in a directory for code metrics
Analyze code in a file for structure, imports, and complexity
Count the number of lines in a file
Get statistics about the file cache
Get the number of chunks a file would be split into
Get metadata about a file
Get a tree view of a directory structure
Generate a code outline showing classes, functions, and imports
Descriptions are terse (avg 40 chars vs 194-char baseline). Most lack context on WHEN to use the tool or how it differs from similar tools. E.g., 'Analyze code in a file' does not explain what 'analyze' means or when to call it instead of get_outline.
Output schemas are not documented. LLMs cannot plan downstream calls or extract required fields. E.g., analyze_file returns structure/imports/complexity but the response format is not specified.
Parameter descriptions are minimal or missing constraints. E.g., search_files 'pattern' param lacks format guidance (glob syntax?). read_chunk 'chunk_size' has no range (1 - 1MB?). No enums or validation rules.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 43 | <=2025-11-25 | v2 |
List files in a directory
Read a specific chunk of a file
Read the contents of a file
Search for files matching patterns
No error handling guidance. Tools do not explain what to do if a file is not found, path is invalid, or permission is denied. LLMs receive raw errors with no recovery path.
Tool composition: analyze_file, get_outline, and analyze_directory overlap in intent. Descriptions do not clarify when to use each. LLMs may pick the wrong tool or call multiple redundantly.