Coding agent tools as a MCP server. Provides file viewing, editing, bash execution, and code search capabilities.
Boris has 8 tools with clear, well-structured descriptions and proper error handling via error codes. However, there are significant gaps in schema visibility and some naming inconsistencies. Most tool descriptions are in the 80-200 character range (good), but input parameter schemas are not explicitly visible in the provided source code, they are inferred from handler function signatures rather than explicitly registered JSON schemas. The code shows structured error codes (ErrInvalidInput, ErrPathNotFound, etc.) and mentions that typeSchemas provides custom JSON schema mappings, but the actual parameter schema definitions for individual tools are not shown. This forces a conservative scoring penalty. Tool naming follows verb-noun patterns (bash, view, str_replace, grep, glob) but several tools have overlapping functionality (view + str_replace_editor, create_file + str_replace_editor's create command), which creates composition ambiguity. Error messages reference error codes but lack actionable recovery guidance in most cases.
Executes a bash command with optional timeout. The working directory persists between calls. When run_in_background is true, the command runs asynchronously and returns a task_id for later retrieval via task_output.
Create a new file or overwrite an existing one. Creates parent directories as needed.
Find files by glob pattern. Returns matching file paths sorted by modification time (newest first). Supports doublestar patterns, brace expansion, and character classes. Respects .gitignore and skips .git/node_modules.
Search file contents using regex patterns. Returns matching file paths (sorted by modification time), matching lines with context, or match counts.
Replace a unique string in a file. The old_str must appear exactly once unless replace_all is true. Omit new_str or set it to empty string to delete the matched text.
View, create, and edit files. Commands: 'view': Read a file with line numbers, or list a directory. Supports optional view_range [start, end]. Lines longer than 2000 characters are truncated. 'str_replace': Replace a unique string in a file. old_str must appear exactly once unless replace_all is true. Omit new_str to delete. 'create': Create a new file or overwrite an existing one. Creates parent directories as needed.
Input parameter JSON schemas not explicitly visible in source code. Tool definitions show parameter names and types in descriptions/handlers, but no formal JSON Schema objects are registered in the provided code excerpt. This forces inference of schemas and makes validation rules unclear to LLMs.
str_replace_editor violates single-responsibility principle by combining view, str_replace, and create operations into one tool with a command enum. This makes the tool harder for LLMs to reason about and reduces composability.
Error messages defined as constants (e.g., ErrBashTaskNotFound, ErrStrReplaceAmbiguous) lack recovery guidance in tool descriptions. LLMs receive error codes but no actionable next steps (e.g., 'Try search_users() with a partial name').
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 53 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 11 | - | v1 |
Retrieve output from a running or completed background bash command by task_id. Running tasks return current output with status: running. Completed tasks return final output, exit code, and are cleaned up after retrieval.
Read a file from the filesystem with line numbers, or list a directory (2 levels deep). Supports line ranges for large files. Returns images as inline content. Lines longer than 2000 characters are truncated.
Parameter descriptions in tool definitions are incomplete or missing for several tools. For example, 'output_mode' in grep is mentioned but valid enum values are not listed in the tool description itself, they appear only in code comments.
view and str_replace have overlapping functionality with str_replace_editor, creating ambiguity about which tool to call. The anthropic-compat mode partially addresses this but forces users to manage two tool sets.
create_file and str_replace lack documented constraints about prerequisite conditions (e.g., RequireViewBeforeEdit). LLMs cannot infer when these tools are valid to call without explicit descriptions of preconditions.
bash tool accepts timeout in milliseconds with no documented max value. Description mentions optional timeout but does not specify range (min/max milliseconds). anthropicCompat mode mentions 'max 600000' but standard mode does not.