An MCP server that provides a tool to recursively read and concatenate text files from a codebase directory, respecting .gitignore rules, skipping binary files, and supporting chunked output.
Single tool with clear naming and adequate schema. Tool name 'dump_codebase_context' is action-verb-based and descriptive. Input schema is fully specified with types, descriptions, and constraints (minimum values, defaults). However, output schema is entirely undocumented, the handler returns a ToolHandlerReturnType but no output structure is described to the LLM. Parameter descriptions are present but somewhat terse. Error handling is basic (generic McpError for unknown tool and invalid params, but no actionable recovery guidance or error categorization). No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite this being a READ_ONLY operation. The tool is well-defined for input but fails to guide LLM reasoning about output structure and error recovery.
Recursively reads text files from a specified directory, respecting .gitignore rules and skipping binary files. Concatenates content with file path headers/footers. Supports chunking the output for large codebases.
Output schema is not documented. The handler returns a result but no output schema is visible in the tool definition or code comments. LLMs cannot plan downstream actions or extract relevant fields without knowing the response structure.
No tool annotations despite READ_ONLY semantics. The tool should declare readOnlyHint=true so agents know it has no side effects and can safely retry on failure.
Error handling lacks actionable recovery guidance. When invalid params are provided, the error is a generic McpError with no guidance on what to fix or which parameters are required.
Parameter descriptions are terse. 'num_chunks' is described as 'Optional total number of chunks to divide the output into (default: 1)' but does not explain why chunking exists, when to use it, or what happens if chunk_index > num_chunks.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 59 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 49 | - | v1 |
No limit on base_path or result size documented. The description mentions 'large codebases' and chunking but does not state maximum file count, total output size, or timeout expectations. Agents cannot estimate whether a call will succeed or hang.