agent-tool
agent-tool is an MCP server that gives AI coding agents a compact, encoding-aware, reverse-engineering-capable toolbox for file, system, network, database, debugging, and GUI automation tasks.
File operations: Encoding-preserving read/write/edit, multi-file edit/read, regex replace, glob/grep/listdir, diff/patch, copy/rename/move/delete, mkdir, checksums, file info, and compress/decompress/backup.
Encoding & formatting: Auto-detects and preserves encodings (EUC-KR, Shift-JIS, UTF-16, etc.), line endings, and indentation styles via .editorconfig.
Query & config: Query JSON/YAML/TOML files with dot-notation, and change runtime settings like workspace, encoding, and security toggles.
System & process control: SysInfo, process list/kill/execute, environment variables, firewall inspection, and persistent shell sessions.
Remote access: SSH execution, SFTP transfers, SSH key conversion, connection profiles, port checks, and external IP lookup.
Network & web: Web fetch/search, HTTP requests, downloads, DNS lookup, TLS checks — with DoH/ECH and SSRF/DLP protections.
Databases & caches: MySQL/MariaDB queries and Redis command execution with security blocking for dangerous operations.
Reverse engineering & analysis: Disassembly, PE/ELF/Mach-O parsing, xrefs, function discovery, binary diff, static analysis, and CheatEngine-style memory search/reading/writing.
Debugging: DAP-based interactive debugger for Go, Python, C/C++, Rust, and other DAP-compatible languages.
Automation & integration: Windows GUI automation (windows, screenshots, clipboard, input), IPC between agent sessions, and a code-graph tool for AST-level code navigation.
LLM efficiency: Profiles and a toolbox gateway to load only needed tool schemas, reducing context usage.
Locates C and C++ compilers and build systems to facilitate code compilation and development tasks.
Automatically respects project-specific indentation and encoding standards by reading settings from .editorconfig files during file editing.
Supports the discovery of development tools, compilers, and runtimes installed through the Homebrew package manager.
Enables retrieval of Linux-specific system metrics, process management, and firewall rules from iptables, nftables, and firewalld.
Provides system information and environment-aware tool discovery for development workflows on macOS.
Generates unified diff outputs and comprehensive help documentation in Markdown format for high readability by AI agents.
Discovers .NET SDKs and runtimes to support application development and environmental assessment.
Identifies Node.js runtimes and associated development tools managed via the Node Version Manager (nvm).
Searches for and identifies installed Python environments and development tools across the host system.
Detects Rust toolchains, compilers, and development utilities to assist AI agents in managing Rust projects.
agent-tool
MCP (Model Context Protocol) tool server for AI coding agents.
Why?
Built-in tools in AI coding agents (Claude Code, Cursor, Codex, etc.) have known limitations:
Tab indentation breaks: LLMs output spaces, but your project uses tabs. The built-in Edit tool writes spaces as-is, corrupting your indentation style.
Encoding corruption: Editing EUC-KR, Shift-JIS, or GB18030 files silently converts them to UTF-8, breaking legacy projects.
Too many separate tools: Making the agent find, install, and configure Redis CLI, MySQL client, SSH client, etc. is tedious and error-prone. agent-tool bundles 55 tools into one binary and exposes them on demand through compact profiles.
No reverse engineering support: Built-in tools can't disassemble binaries, inspect PE/ELF headers, find function boundaries, or search cross-references. agent-tool includes static binary analysis (disassembly, xref, function detection), a DAP debugger, and CheatEngine-style memory tools -- giving your agent full reverse engineering capabilities.
Network censorship: In some countries, government-level web filtering breaks plain
curl/wgetrequests. agent-tool uses ECH (Encrypted Client Hello) and DoH (DNS over HTTPS) by default to work around these restrictions.
agent-tool solves these with agent-oriented tools that preserve project conventions while keeping model context bounded.
Related MCP server: DevToolkit MCP Server
Supported Agents
Claude Code, Codex CLI, Cursor, Windsurf, Cline, Gemini CLI, and any MCP-compatible agent.
LLM-efficient by default
The default core profile exposes only 11 schemas (including toolbox) instead of
all 55. In a protocol-level measurement this reduced the serialized tool list from
about 84 KB (full) to 15 KB. For the smallest steady-state context, start with
--profile core-lite; its five schemas are about 6.4 KB and expose only read,
write, edit, grep, and toolbox. Use
toolbox(operation="describe", tool="ssh", compact=true, tool_operation="execute")
to load only one operation's fields and required list, then invoke it through
toolbox(operation="call", tool="ssh", arguments={...}). The gateway does not
depend on dynamic tool-list refresh, so it works with fixed-binding clients such as
Codex. Describe returns a tool/version-bound schema_handle; sending it on a later
describe returns a short unchanged acknowledgement when the schema is still current.
Common compact operations include SSH execution, MySQL queries, file copy, Windows
screenshots/clipboard images, and static-analysis operations. You can also start
with --profile core-lite|coding|remote|analysis|full.
Potentially large text responses default to 32K characters with a 128K hard ceiling.
Truncation is always visible and pageable tools return next_offset or next_cursor.
Local relative paths resolve against an explicit workspace, then the MCP client root.
Features
Tool | Description | Status |
Edit | String replacement with smart indentation and encoding preservation (supports dry_run) | ✅ |
Read | Encoding-aware, line-numbered reading. Defaults to 400 lines/32K chars, reports truncation and exact | ✅ |
Write | Encoding-aware file creation/overwrite | ✅ |
Grep | Encoding-aware regex search with 32K output budget, compact file-grouped output, relative paths, | ✅ |
Glob | Sorted, bounded file matching with | ✅ |
ListDir | Bounded/pageable directory listing. max_entries + continuation cursor, directory/file filters, entry-name glob filters, counts-only mode, flat/tree output | ✅ |
Diff | Compare two files with unified diff output (encoding-aware). Files differing only in line endings or a trailing newline say so instead of returning an empty diff | ✅ |
Patch | Apply unified diff patch to a file (supports dry_run). Each line keeps its own ending, so a mixed CRLF/LF file is not rewritten | ✅ |
Checksum | Compute file hash (md5, sha1, sha256) | ✅ |
FileInfo | File metadata (size, encoding, mixed line-ending counts, indentation, line count) | ✅ |
Compress | Create zip / tar.gz archives | ✅ |
Decompress | Extract zip / tar.gz archives (Zip Slip/Bomb protection) | ✅ |
Backup | Timestamped zip backup with exclude patterns. dry_run preview with directory stats, pattern match counts, and largest files | ✅ |
ConvertEncoding | Convert file encoding (EUC-KR ↔ UTF-8, add/remove BOM, etc.) | ✅ |
Delete | Safe file/directory deletion, including compact batches of up to 100 | ✅ |
Rename | Atomic file/directory rename or move (dry_run) | ✅ |
SysInfo | System information — OS, CPU, RAM, disk, uptime, CPU usage measurement | ✅ |
FindTools | Discover installed dev tools — compilers, runtimes, build systems (Go, .NET, Node, Python, Java, Rust, C/C++, etc.). Searches PATH, env vars, and known locations (~/bin, snap, scoop, Homebrew, SDKMAN, nvm, fnm, pyenv) | ✅ |
ProcList | List running processes — PID, name, command line, memory. Sensitive args auto-masked. Filter by name or port | ✅ |
ProcKill | Kill, suspend, or resume processes by PID or port. Tree kill, signal selection (kill/term/hup/int/stop/cont), zombie handling (Linux), dry_run | ✅ |
ProcExec | Execute commands as new processes. Foreground/background/suspended start, timeout/env vars, and safe repeated-diagnostic compaction with expiring raw-output retrieval | ✅ |
EnvVar | Read environment variables. Sensitive values (passwords, tokens) auto-masked | ✅ |
Firewall | Read firewall rules — iptables/nftables/firewalld (Linux), netsh (Windows). Read-only | ✅ |
SSH | SSH execution with 32K head+tail capture, original byte counts, proper non-zero-exit errors, and background jobs ( | ✅ |
SSHKey | Convert local private keys between PuTTY PPK v3, traditional PEM, modern OpenSSH, and PKCS#8. Auto-detects input, supports encrypted PPK/OpenSSH output, writes mode 0600, and never returns key material | ✅ |
SFTP | Transfer files and manage remote filesystems over SSH. Upload, download, ls, stat, mkdir, rm, chmod, rename. Reuses SSH session pool. Max 2 GB per transfer | ✅ |
Bash | Persistent shell sessions with working directory/environment retention, safe repeated-diagnostic compaction, and expiring raw-output retrieval. Session pooling (max 5, idle timeout 30 min). Unix: bash/sh, Windows: PowerShell/git-bash/cmd | ✅ |
WebFetch | Fetch web content as text/Markdown with a 32K default/128K max. ECH + DoH, HTML→Markdown conversion, SSRF protection, proxy support, Chrome User-Agent | ✅ |
WebSearch | Web search via Brave Search or Naver API. Requires API key env vars ( | ✅ |
Download | Download files from URLs to disk. ECH + DoH by default. SSRF protection. HTTP/SOCKS5 proxy. Atomic write. Max 2 GB | ✅ |
HTTPReq | Execute HTTP requests with any method (GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS). API testing with custom headers, body, proxy. SSRF protection | ✅ |
JSONQuery | Query JSON files with dot-notation paths (e.g. | ✅ |
YAMLQuery | Query YAML files with dot-notation paths (same syntax as JSONQuery) | ✅ |
TOMLQuery | Query TOML files with dot-notation paths (same syntax as JSONQuery). Supports TOML-specific types (datetime, int64) | ✅ |
Copy | Copy files/directories with atomic write and permission preservation. Recursive directory copy. Windows locked-file fallback (renames running exe/DLL aside). dry_run preview | ✅ |
Mkdir | Create directories with optional permission mode (octal, e.g. 0755). Recursive by default (mkdir -p). dry_run preview | ✅ |
MultiRead | Read up to 50 files with a call-wide 32K budget, 200-line per-file default, long-line safety, and per-file/overall continuation metadata. Hashes are opt-in | ✅ |
RegexReplace | Regex find-and-replace across files/directories. Encoding and line-ending preserving, capture groups ($1, $2). Skips binary files. dry_run preview | ✅ |
TLSCheck | Check TLS certificate details — subject, issuer, expiry, SANs, TLS version, cipher suite | ✅ |
DNSLookup | DNS record lookup (A/AAAA/MX/CNAME/TXT/NS/SOA). DNS over HTTPS (DoH) by default for privacy | ✅ |
MySQL | Execute SQL queries on MySQL/MariaDB. Table-formatted SELECT results with configurable row/column/cell/total-output limits; affected rows for DML. Use SQL LIMIT/OFFSET for paging | ✅ |
Redis | Execute Redis commands with formatted output by type. TLS support. Dangerous commands (FLUSHALL, SHUTDOWN, etc.) blocked | ✅ |
PortCheck | Check if a TCP port is open on a host. Returns OPEN/CLOSED with response time. Supports hostname, IPv4, IPv6 | ✅ |
ExternalIP | Get your external (public) IP address. Multiple providers with automatic fallback (ipify, ifconfig.me, icanhazip) | ✅ |
SLOC | Count source lines of code per language. 70+ language detection, per-file/language breakdown, blank line stats, max_depth control | ✅ |
Debug | Interactive debugger via DAP (Debug Adapter Protocol). Full DAP coverage with bounded values/output and paging for variables, completions, modules, and loaded sources. Tested with dlv (Go), debugpy (Python), codelldb (C/C++/Rust). Works with any DAP-compatible adapter. Stdio and TCP modes. Note: vsdbg (Microsoft) requires VS Code licensing and is not usable standalone — use codelldb or netcoredbg as open-source alternatives | ✅ |
Analyze | Static binary analysis and reverse engineering. x86/x64/ARM/ARM64 disassembly; semantic x86/x64 instruction search with exhaustive executable-offset recovery, CFG confidence, target/result filters, and bounded register/stack/read-only constant tracing into ABI-aware calls and tail calls; PE/ELF/Mach-O parsing with bounded, pageable PE import output; xref, function discovery/call graphs, pointer/RTTI/vtable/struct analysis, imphash, Rich header, DWARF, strings, hexdump, pattern search, entropy, overlay detection, and binary diff. No global file size limit | ✅ |
Memtool | CheatEngine-style process memory tool — search/filter/read/write memory values, read_chain (resolve base+offset pointer chains, batched in one call), live disassembly (x86/x64/ARM/ARM64), undo, struct pattern search, pointer scan, memory diff. Disk-backed snapshots for large scans. Session management with idle timeout. Windows (ReadProcessMemory) and Linux (/proc/pid/mem). Windows auto-enables SeDebugPrivilege when elevated; opt-in | ✅ |
IPC | Inter-process communication between AI agent sessions over TCP. 1:1 message passing with blocking receive. Protocol: [2-byte type][4-byte length][payload]. Operations: send, receive (blocking with timeout), ping. Works across machines. Max 1MB message, 300s timeout | ✅ |
Wintool | Windows GUI automation — find/enumerate windows and child controls, capture screenshots (ImageContent PNG via PrintWindow), read clipboard images, read/set text, click, type, send raw messages, show/hide/minimize/maximize, move/resize, close, focus. screenshot/clipboard return ImageContent by default (save_path option for file output). Enables AI agents to "see" and interact with GUI applications. Windows only | ✅ |
CodeGraph | Fully embedded semantic code graph: Go standard-library AST plus lazy compressed tree-sitter WASM for C/C++, Python, C#, Rust, and Java. Adds declaration/definition identity, return-chain and generic/alias propagation, transitive includes, calibrated overload evidence, virtual/interface dispatch, macro/callback edges, build-condition provenance, and multi-root workspaces. No compiler, language server, external binary, LLM call, or token cost | ✅ |
SetConfig | Change runtime settings (encoding, file size limit, symlinks, workspace, etc.) | ✅ |
Help | Built-in usage guide for agents (encoding, indentation, troubleshooting) | ✅ |
Key Improvements
Smart Indentation
LLMs typically output spaces, but many projects use tabs. AgentTool auto-converts indentation to match the file's existing style.
Reads
.editorconfigforindent_styleandindent_sizeFalls back to content-based detection (first 100 lines)
Protects legacy files: won't convert if actual content contradicts
.editorconfig
Encoding Preservation
Edits preserve the original file encoding instead of forcing UTF-8.
Detection priority: BOM →
.editorconfigcharset → BOM-less UTF-16 → valid UTF-8 → chardet auto-detection → fallback encodingSupported: UTF-8, UTF-8 BOM, EUC-KR, Shift-JIS, ISO-8859-1, UTF-16 (LE/BE, with or without BOM), and more
No false warnings on ASCII: valid UTF-8 is verified directly, so plain ASCII files never raise a low-confidence warning
Line endings: Detects LF, CRLF, CR, and mixed files.
editmatches a multi-lineold_stringwhether the file uses CRLF or LF, including files that mix both, and text inserted byedit/regexreplacefollows the newline style of the region it lands in, so the rest of the file is left byte-identical
Token-safe directory listings
listdir defaults to 500 entries per page and returns next_cursor when more
entries are available. Narrow results with directories_only, files_only,
name_pattern (for example A*), or multiple OR patterns in include.
Use counts_only=true when only matching file/directory counts are needed.
Idle memory release
After 30 minutes with no tool call, the server returns its heap to the OS. A stdio MCP server cannot tell an abandoned client from a quiet one -- the process that spawned it may be alive, finished with it, and still holding the pipe open, so no EOF ever arrives -- and exiting on that guess would break a session that merely paused. Releasing the memory is the safe half of that trade: an instance that once read a 50MB file settles back to its ~20MB baseline instead of holding 200MB for the rest of the machine's uptime. Open shell and ssh sessions survive, and nothing the client can observe changes.
Quick Start
Download the binary for your OS from Releases
Run
agent-tool install(oragent-tool install claudefor a specific agent)Restart your IDE / agent
Done — the compact core tools are available immediately;
toolboxdescribes and calls every other tool on demand
Or just ask your AI agent to do it for you:
"Download agent-tool from https://github.com/knewstimek/agent-tool/releases/latest and run
agent-tool install"
Any capable AI coding agent (Claude Code, Codex, etc.) can handle the full download → install → restart flow automatically.
Recommended: Tell your agent to prefer agent-tool
After installing, agents will have access to agent-tool but may still default to built-in tools (Read, Edit, etc.). To ensure agents prefer agent-tool's encoding-aware, indentation-smart tools, add one of the instructions below.
Code navigation tip: For large projects, add this to your CLAUDE.md / AGENTS.md to enable AST-based code navigation:
At the start of a session, run codegraph(op="index", path="<project_root>") to build a code index.
For several repositories sharing one graph, use codegraph(op="index", path="<db_root>", roots=["<source_root_1>", "<source_root_2>"]). Source-root provenance prevents unrelated projects with the same symbol names from contaminating candidates while explicit/transitive includes can still cross roots.
Then use codegraph for structural queries (find, callers, callees, methods, inherits) instead of grep.Pick Strict or Soft:
Mode | When to use | Instruction |
Strict | Projects with non-UTF-8 files or mixed indentation |
|
Soft | General projects |
|
Where to put it:
Per-project — add to your project's CLAUDE.md:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Global (all projects) — add to ~/.claude/CLAUDE.md:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Hard enforcement — deny built-in file tools at the permission level via ~/.claude/settings.json:
{
"permissions": {
"deny": ["Read", "Edit", "MultiEdit", "Write", "Glob", "Grep"]
}
}This makes Claude Code's built-in file tools unavailable, so the agent is forced to use agent-tool. Recommended when you want strict enforcement without relying on prompt instructions.
Add to
~/.codex/config.toml(top-level, not inside[mcp_servers.*]):
model_instructions_file = "~/.codex/model_instructions.md"Create
~/.codex/model_instructions.md:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Restart Codex.
Per-project — add to your project's AGENTS.md instead.
Add to your project's .cursorrules, .windsurfrules, or AGENTS.md:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Installation
Auto-install (recommended)
# Register with all detected agents (full auto-approve — all tools)
agent-tool install
# Safe mode — only auto-approve local file tools (no SSH, HTTP, DB, shell)
agent-tool install --safe-approve
# No auto-approve — manual approval required for every tool call
agent-tool install --no-auto-approve
# Register with a specific agent
agent-tool install claude
agent-tool install claude --safe-approve
# Uninstall (removes agent-tool entry only, preserves other settings)
agent-tool uninstall # from all agents
agent-tool uninstall claude # from specific agentInstall permission levels:
Level | Flag | Auto-approved tools |
Full (default) | (none) | All tools ( |
Safe |
| 29 local-only tools (read, edit, write, grep, glob, etc.) — no SSH, HTTP, DB, bash, process control |
None |
| No tools — every call requires manual approval |
Approval level is independent of schema profile: installation may approve the full
namespace while the server still starts with the token-efficient core profile.
toolbox is intentionally not auto-approved by --safe-approve, because its
operation=call gateway can invoke network, shell, database, and process-control
tools. Safe-mode users should review each toolbox approval and avoid granting it a
permanent allow rule unless they intend to trust the full AgentTool namespace.
Manual setup
Claude Code / Cursor / Cline (settings.json or mcp.json):
{
"mcpServers": {
"agent-tool": {
"command": "/path/to/agent-tool"
}
}
}Codex CLI (~/.codex/config.toml):
[mcp_servers.agent-tool]
command = "/path/to/agent-tool"Options
# Select the initial schema profile (default: core)
agent-tool --profile core-lite
# Set fallback encoding for projects with non-UTF-8 files
agent-tool --fallback-encoding EUC-KRProfiles are presets: core-lite (read/write/edit/grep/toolbox), core (11
schemas), coding (core plus broader file/build/shell tools), remote, analysis,
and full. At runtime, prefer the
client-independent toolbox gateway: operation=describe returns one tool's schema
(compact=true plus tool_operation limits it to one operation), and
operation=call invokes it through the stable toolbox binding. Re-send a returned
schema_handle to avoid receiving an unchanged schema again. When command
diagnostics are compacted, operation=output retrieves the bounded raw output by
its reported ID for 30 minutes and reports next_offset when paging is needed. enable,
disable, and profile remain available for clients that honor
tools/list_changed; fixed-binding clients can always keep using the gateway.
Environment Variable
Set AGENT_TOOL_FALLBACK_ENCODING and/or AGENT_TOOL_PROFILE to avoid repeating CLI flags:
# Windows (no admin required)
setx AGENT_TOOL_FALLBACK_ENCODING EUC-KR
setx AGENT_TOOL_PROFILE coding
# Linux / macOS (add to ~/.bashrc or ~/.zshrc)
export AGENT_TOOL_FALLBACK_ENCODING=EUC-KR
export AGENT_TOOL_PROFILE=codingPriority: CLI flag > environment variable > default (UTF-8).
Local SSH/SFTP connection profiles
SSH and SFTP accept either connection_profile or a session-local connection_id,
so host, user, key, and jump-host fields do not need to be repeated. Profiles are
read from the OS user config directory at agent-tool/connections.json; override the
location with AGENT_TOOL_CONNECTION_PROFILE_FILE. Keep this file local and explicitly
ignored if it is placed inside a workspace.
{
"connections": {
"dev": {
"host": "192.0.2.10",
"user": "builder",
"key_file": "/local/path/to/id_ed25519",
"host_key_check": "strict",
"trusted": true
}
}
}An initial call returns an opaque connection_id that remains reusable by both tools
for 30 minutes. trusted:true affects only display: an allowed private-address warning
is shown once per pooled connection instead of on every call; SSRF blocking and cloud
metadata protection are unchanged. SSH also supports quiet, echo_command, and
result_only; the last returns compact JSON centered on stdout, stderr, and
exit_code. SFTP supports quiet, result_only, and upload_many (up to 100 files).
Local SSH private-key conversion
ssh_key converts a private-key file without sending its contents over the network or
returning key material in the response. Input is auto-detected as PPK, PEM, PKCS#8, or
OpenSSH. The output format is one of ppk, pem, pkcs8, or openssh.
{
"operation": "convert",
"input_path": "server.pem",
"output_path": "server.ppk",
"output_format": "ppk",
"input_passphrase": "",
"output_passphrase": "",
"overwrite": false
}PPK output uses version 3. Passphrase-protected PPK output uses Argon2id,
AES-256-CBC, and HMAC-SHA-256; protected OpenSSH output uses OpenSSH's modern
encrypted format. Traditional PEM and PKCS#8 output are deliberately unencrypted;
use openssh or ppk when output encryption is required. New files are mode 0600,
and existing files are not replaced unless overwrite=true.
Runtime Configuration
Agents can change settings at runtime via set_config without restarting:
Parameter | Description | Default |
| Fallback encoding when auto-detection fails |
|
| Show encoding detection warnings |
|
| Max file size for read/edit/grep (MB) |
|
| Allow symlink extraction from tar archives |
|
| Explicit local workspace root. Otherwise the first MCP client root is used, then cwd | (MCP root/cwd) |
| Allow webfetch/download/httpreq to access private IPs |
|
| Allow mysql tool to access private IPs |
|
| Allow redis tool to access private IPs |
|
| Allow ssh/sftp tools to access private IPs |
|
| Enable DNS over HTTPS globally (webfetch/download/httpreq/dnslookup) |
|
| Enable Encrypted Client Hello globally (webfetch/download/httpreq) |
|
Build
go build -trimpath -ldflags="-s -w" -o agent-tool .Cross-compile:
GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o agent-tool .
GOOS=darwin GOARCH=arm64 go build -trimpath -ldflags="-s -w" -o agent-tool .
GOOS=windows GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o agent-tool.exe .Release
The guarded GitHub workflow runs tests, builds all declared assets, creates the MCPB and checksums,
and verifies uploaded bytes. From a clean, pushed master branch, dispatch a build-only dry run:
.\scripts\release.ps1After the dry run succeeds, publish the version declared in main.go:
.\scripts\release.ps1 -PublishThe workflow requires tracked notes at docs/releases/vVERSION.md. Publication creates an
annotated tag and GitHub Release, then updates server.json with the released MCPB hash.
When RepoPlane uses this repository as its workspace, the same dry-run, publish, and status
operations are discoverable through the repository-local catalog/ manifests.
Troubleshooting
Garbled text (encoding issues)
If Korean, Japanese, or other non-ASCII text appears as garbage characters:
Option 1: Add charset to your .editorconfig:
[*]
charset = euc-krOption 2: Set environment variable (persistent):
setx AGENT_TOOL_FALLBACK_ENCODING EUC-KR # Windows
export AGENT_TOOL_FALLBACK_ENCODING=EUC-KR # LinuxOption 3: CLI flag (per-session):
agent-tool --fallback-encoding EUC-KRBuilt-in help for agents
agent-tool includes a agent_tool_help tool that agents can call for usage guidance. When an agent encounters encoding warnings or garbled text, it can call:
{ "tool": "agent_tool_help", "arguments": { "topic": "encoding" } }Available topics: overview, encoding, indentation, tools, troubleshooting
Security
agent-tool provides powerful system access (SSH, MySQL, Redis, file operations, HTTP requests). When used with AI coding agents, be aware of prompt injection risks:
SSRF Protection: Cloud metadata IPs (169.254.x.x, fe80::/10) are always blocked regardless of settings. Private IP access is configurable per protocol via
set_config(allow_http_private,allow_mysql_private,allow_redis_private,allow_ssh_private)DLP (Data Loss Prevention): All outbound HTTP request bodies are scanned for sensitive data patterns (PEM private keys, AWS access keys, GitHub/GitLab tokens, Slack tokens, .env file dumps) and blocked before transmission
Prompt Injection Warnings: Every private IP connection shows a security warning visible to both the user and the AI agent, helping detect prompt injection attacks from fetched web content
Zip Slip protection: Archive entries with
../path traversal are blocked (both zip and tar)Zip Bomb protection: Single file limit (1GB), total extraction limit (5GB)
Symlinks: Skipped by default. Enable via
set_config allow_symlinks=true(tar only; zip symlinks always skipped). Even when enabled, symlinks targeting outside the output directory are blockedFile size limit: Configurable max file size (default 100MB) prevents OOM on large files. Adjustable via
set_config max_file_size_mb=NEncoding safety: chardet uses 64KB sample (not full file) for memory efficiency
For maximum security, review the AI agent's tool calls before approving, especially for SSH commands, HTTP requests to external URLs, and database queries.
Tech Stack
Language: Go
Encoding: saintfish/chardet + golang.org/x/text
Distribution: Single binary (cross-compiled)
License
Available Tools
11 toolsagent_tool_helpA
Returns usage guide for agent-tool. Call this when you encounter encoding warnings, garbled text, or need to understand agent-tool features. Topics: overview, encoding, indentation, tools, debug, analyze, troubleshooting.
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Help topic. Available: overview, encoding, indentation, tools, debug, analyze, memtool, wintool, codegraph, ipc, troubleshooting. Empty = overview |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, but description clearly conveys a read-only operation (returns usage guide). No misleading or missing behavioral traits given its simple nature.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences plus bullet list; no wasted words. Front-loaded with purpose. Could be slightly improved by aligning topic list with schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple help tool with one parameter and no output schema, the description adequately covers purpose and usage. Does not explain default topic behavior but schema covers it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 100% coverage for the single parameter. Description adds list of topics but is incomplete compared to schema's enum-like list (missing memtool, wintool, etc.). Adds marginal value beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it returns usage guide for agent-tool, with specific verb and resource. Distinguishes from sibling tools like analyze or debug by focusing on help for the tool itself.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says when to call (encoding warnings, garbled text, need to understand features). Lacks explicit when-not or alternatives, but context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
editA
Replace exact text in a file. Preserves encoding and local line endings, adapts indentation using the file and .editorconfig, and supports dry-run plus hash-guarded edits.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Alias for file_path | |
| dry_run | No | Preview only; default false | |
| file_path | No | File path; relative to workspace/MCP root | |
| new_string | No | Replacement text; must differ from old_string | |
| old_string | No | Exact text to find in the file | |
| new_content | No | Alias for new_string | |
| old_content | No | Alias for old_string | |
| replace_all | No | Replace every match; default false | |
| indent_style | No | tabs or spaces-N; default auto-detect | |
| expected_hash | No | Expected SHA-256; mismatch rejects edit |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full behavioral burden. It discloses several non-obvious traits: preserves encoding and local line endings, adapts indentation via .editorconfig, and supports dry-run and hash-guarded edits. It does not detail failure modes or response format, but for a mutation tool it offers respectable transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, tight sentence that front-loads the core action ('Replace exact text in a file') and packs three behavioral notes into a compact clause. Every phrase earns its place with zero fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is moderately complex with 10 parameters, but all are fully documented in the schema. The description covers key behavioral aspects (encoding, line endings, indentation, dry-run, hash). However, it lacks guidance on when to use this tool versus the closely related siblings (write, patch, multiedit), which is a meaningful completeness gap for correct selection.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description reiterates the purpose of dry_run and expected_hash and adds context about indentation adaptation, but does not add meaning beyond what the schema already documents for the parameters. It neither compensates for gaps nor contradicts the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Replace'), a resource ('a file'), and a distinctive qualifier ('exact text'), clearly separating it from write (new content) and patch (diff-based). It does not name sibling tools, but the exact-text aspect is sufficiently differentiating against the sibling set.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for exact text replacement and mentions advanced features (dry-run, hash-guard) that suggest safe editing contexts. However, it provides no explicit guidance on when to use this tool versus write, patch, or multiedit, and offers no exclusion criteria or alternative routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
globA
Finds files matching a glob pattern. Supports ** recursive matching and sorts results by modification time (newest first). Defaults to 200 workspace-relative paths and 32768 characters per page. Skips hidden paths and paths excluded by root .gitignore/.ignore or the common generated/vendor policy unless explicitly included. Returns total/has_more/truncated metadata and an opaque next_cursor.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to search. Defaults to configured workspace, MCP client root, or current directory | |
| limit | No | Maximum paths returned per page. Default: 200, Max: 5000 | |
| cursor | No | Opaque continuation cursor returned by a previous glob call | |
| pattern | Yes | Glob pattern to match files (e.g. **/*.go or src/**/*.ts) | |
| include_hidden | No | Traverse hidden directories. Explicit hidden roots are always searched. Default: false | |
| relative_paths | No | Return paths relative to the search directory. Default: true | |
| include_ignored | No | Include paths excluded by .gitignore/.ignore or the common generated/vendor policy. Default: false | |
| max_output_chars | No | Maximum returned text characters. Default: 32768, Max: 131072 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full behavioral burden, and it excels: it discloses sorting by modification time, default limits (200 paths, 32768 chars), skip rules for hidden and ignored paths, and pagination via next_cursor and metadata (total/has_more/truncated). This is thorough and actionable, covering the major behavioral traits an agent needs to anticipate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded with the core purpose, followed by key behaviors and return metadata. Every sentence adds distinct information (recursion, sorting, defaults, exclusions, pagination) with no filler. It is well-structured and easy to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 8 parameters, no annotations, and no output schema, the description covers the essential usage context: purpose, defaults, skip rules, sorting, and pagination metadata. It clearly states the return includes metadata and a cursor, which is sufficient for an agent to invoke and handle results. Minor gaps exist (e.g., exact shape of the path list) but these are not critical for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value beyond the schema by explaining how parameters interact: e.g., include_hidden affects traversal, include_ignored overrides skip rules, and limit/cursor govern pagination. It also clarifies default behavior (workspace-relative, 200 limit). This enriches parameter understanding without contradicting the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a clear verb and resource: 'Finds files matching a glob pattern.' It immediately distinguishes from siblings like listdir (directory listing) and grep (content search) by specifying pattern matching and recursive support. This is a specific, unambiguous purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when pattern-based file discovery is needed but does not explicitly state when to prefer this over listdir or grep, nor does it list exclusions (e.g., 'for directory contents, use listdir'). Context is provided via behavior (e.g., default limits, skip rules) but not as routing guidance. It is adequate but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
grepA
Regex-search encoding-aware files or directories. Supports context, glob filters, content/file/count modes, ignored-path controls, and bounded pageable output. Directory searches skip detected binaries; explicit files are searched.
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Directory file filter, e.g. *.go | |
| path | No | File or directory; defaults to workspace/MCP root/CWD | |
| after | No | Lines after; overrides context | |
| before | No | Lines before; overrides context | |
| cursor | No | Continuation cursor; incompatible with context lines | |
| context | No | Lines before/after; max 1000 | |
| pattern | Yes | Regular expression | |
| file_path | No | Alias for path | |
| recursive | No | Recurse; default true | |
| ignore_case | No | Ignore case | |
| max_results | No | Matches per page; default 100, max 100000 | |
| output_mode | No | content (default), files_with_matches, or count | |
| output_format | No | compact (default) or classic path:line:text | |
| include_hidden | No | Include hidden directories | |
| max_line_chars | No | Per-line cap; default 4000, max 32768 | |
| relative_paths | No | Paths relative to root; directory default true | |
| include_ignored | No | Include ignored/generated/vendor paths | |
| max_output_chars | No | Output cap; default 32768, max 131072 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does a strong job: it discloses encoding-awareness, binary skipping in directories, bounded pagination, ignored-path controls, and output modes. It does not mention rate limits or auth, but for a read-only search tool, this is comprehensive. No contradiction with annotations since none exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the core purpose, and every clause adds value (modes, filters, output behavior, binary handling). No fluff, well-structured for quick parsing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite 18 parameters and no output schema, the description covers the major behavioral areas (search scope, filters, pagination, binary handling). It does not explicitly mention incompatibilities like cursor vs. context, but those are captured in the schema. The description is sufficient for an agent to understand the tool's role and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents every parameter. The description adds high-level context (e.g., 'context, glob filters, content/file/count modes') that maps to parameters but does not explain each individually. It does not go beyond the schema, so a baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('Regex-search') and resource ('encoding-aware files or directories'), and enumerates key features that distinguish it from siblings like glob (which finds filenames) and read (which reads content). It leaves no ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage via feature list but does not explicitly state when to use grep versus alternatives (e.g., 'use for content search, not filename matching'). It does clarify directory vs. explicit file behavior, but lacks direct routing guidance or exclusions, so the agent must infer from sibling names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
listdirA
Lists directory contents with bounded, pageable output. Default: flat listing, max_depth=3, max_entries=500. When has_more=true, pass next_cursor as cursor to fetch the next page. Filter by type with directories_only or files_only, and by entry-name glob with name_pattern (single) or include (multiple OR patterns, e.g. ["A*", "*.go"]). Use counts_only=true for counts without names, flat=false for a visual tree, and relative_paths=true to save tokens. Skips hidden entries and common build/vendor directories during recursion.
| Name | Required | Description | Default |
|---|---|---|---|
| flat | No | Flat listing without tree connectors (one path per line). Default: true | |
| path | No | Directory to list. Relative paths use the configured workspace or MCP client root | |
| cursor | No | Opaque continuation cursor returned by a previous listdir call | |
| include | No | Additional entry-name glob patterns. An entry is included when any pattern matches | |
| file_path | No | Alias for path | |
| max_depth | No | Maximum depth for traversal. Default: 3 | |
| files_only | No | Return files only: true or false. Default: false | |
| counts_only | No | Return matching directory/file counts without listing names: true or false. Default: false | |
| max_entries | No | Maximum entries to return per page. Default: 500, maximum: 10000 | |
| name_pattern | No | Glob matched against each entry name, for example A* or *.go | |
| relative_paths | No | Show paths relative to the root. Saves tokens: true or false. Default: false | |
| directories_only | No | Return directories only while still traversing them: true or false. Default: false |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does a good job: it discloses pagination mechanics, skip behavior for hidden/build/vendor entries, the flat/tree distinction, counting mode, and token-saving relative paths. It does not describe the exact response fields, but it mentions has_more and next_cursor sufficient to drive pagination.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Each sentence carries a distinct responsibility: definition, defaults, pagination, filtering, output modes, skipped entries. There is no filler or repetition, and key information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers defaults, pagination, filtering, output modes, and behavioral exclusions, which is a solid level of context. Since there is no output schema, the only minor gap is omitted return record shape, but the provided behavior is enough for a capable agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds relationship semantics beyond the schema: pagination binds has_ more to the cursor parameter, name_pattern versus include as single/multi OR patterns, and counts_only relative_paths as output modifiers. These are not obvious from names alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool 'lists directory contents' and immediately adds the defining scope: bounded, pageable output. This is a specific verb plus resource and distinguishes the tool from siblings like read, write, and grep, even before opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives practical usage guidance: paginate with cursor when has_more=true, filter with directories_only/files_only, and use counts_only or relative_paths for optimization. It does not explicitly tell an agent when to prefer listdir over sibling tools like glob, but the tool's 'list directory contents' purpose implies the context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
multieditA
Applies multiple old_string -> new_string replacements to a single file in one call. Edits are applied sequentially in order; each edit sees the result of the previous one. Atomic: if any edit fails, the file is not modified at all. Encoding-aware: preserves original file encoding (UTF-8, EUC-KR, Shift-JIS, etc.). Line-ending aware: old_string matches whether the file uses CRLF or LF, and inserted newlines follow the region being edited (mixed-newline files stay intact). Accepts "path" as alias for "file_path". Use dry_run=true to preview all changes without modifying the file.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Alias for file_path | |
| edits | Yes | Ordered list of replacements to apply sequentially | |
| dry_run | No | Preview changes without modifying the file: true or false. Default: false | |
| file_path | No | File to edit. Relative paths use the configured workspace or MCP client root |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden, and it does this well. It discloses sequential application, atomic rollback on any failure, encoding preservation, CRLF/LF line-ending awareness, and alias support. These are meaningful behavioral characteristics beyond what the schema shows and are critical for correct agent use.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Each sentence earns its place: core function first, then ordering, atomicity, encoding, line endings, alias, and dry-run. It is detailed but compact, and the most important operational facts are front-loaded before the alias and dry-run notes.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a multi-edit file mutation tool with no annotations and no output schema, this description is unusually complete: it tells the agent what action, in what order, with what safety guarantees, and how to preview. Return format is not described, but the invocation-relevant behavior is covered thoroughly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds value by clarifying that old_string matching is encoding- and line-ending-aware, that newlines in inserted text follow the edited region, that path is an alias for file_path, and that dry_run preveview changes. This supplements the schema rather than restating it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Applies multiple old_string -> new_string replacements to a single file'), includes the precise edit primitive, and differentiates itself from siblings like edit by emphasizing multiple replacements, sequential application, and atomicity. An agent can clearly understand what the tool does and roughly how it differs from single-edit or patch alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides clear use-context: a single file with many ordered replacements, plus a dry_run option for previewing. It does not explicitly name sibling alternatives or state when not to use it, but the description makes the intended scenario obvious and includes an actionable preview-first workflow.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
multireadA
Reads multiple files in a single call to reduce API round-trips. Encoding-aware: auto-detects file encoding for each file. Supports offset/limit for reading specific line ranges. Defaults to 200 lines per file and 32768 characters total across the call. Returns visible per-file and overall truncation metadata with continuation positions. Use file_paths or paths (string array) with global offset/limit, or files (object array) for per-file offset/limit. If a file fails, the error is included in output and remaining files continue. Maximum 50 files per request.
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Remove the default per-file line limit. The total character budget still applies. Default: false | |
| files | No | Per-file read ranges. Each entry has path, offset, limit. Takes priority over file_paths | |
| limit | No | Maximum lines per file. Default: 200. Set 0 or all=true to remove the line limit | |
| paths | No | Compatibility alias for file_paths; prefer file_paths | |
| offset | No | Line number to start from (1-based, negative = from end). Default: 1 | |
| file_paths | No | File paths to read. All files use the global offset/limit. Use files for per-file ranges | |
| include_hash | No | Include per-file SHA-256 hashes. Default: false | |
| max_line_chars | No | Maximum characters returned from one line. Default: 4000, Max: 32768 | |
| max_output_chars | No | Maximum total returned text characters across all files. Default: 32768, Max: 131072 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full behavioral burden. It discloses encoding auto-detection, default line and character budgets, truncation metadata with continuation positions, per-file error isolation, and the 50-file cap. This is unusually transparent for a tool with no annotation support.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Every sentence contributes a distinct behavior or usage constraint: purpose, encoding, line/character limits, per-file modes, failure handling, and max file count. It is dense but not bloated, and the most important fact is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 9 parameters, no annotations, and no output schema, the description is remarkably complete. It covers defaults, limits, semantics, file failure handling, encoding behavior, and truncation continuation positions, leaving an agent with the practical knowledge needed to invoke it and interpret its results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already covers 100% of parameters, so the baseline is 3. The description adds value by tying parameters to usage modes: global offset/limit vs per-file files entries, the interaction of all=true with the total character budget, and the 50-file request cap not visible in the schema. These aggregates help an agent pick the right parameter shape.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Reads multiple files in a single call to reduce API round-trips.' This immediately distinguishes it from the single-file 'read' sibling and clearly states the batching purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides strong contextual guidance: use the tool for reading multiple files efficiently, choose global file_paths/paths vs per-file files objects depending on offset/limit needs, and understand failure/encoding/limit behavior. It does not explicitly name the single-file 'read' tool as the alternative, but the multiple-vs-single distinction is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
patchA
Applies a unified diff patch to a file. Parses @@ hunk headers, verifies context lines, and applies changes. Encoding-aware: preserves original file encoding. Line-ending aware: each line keeps its own ending (a mixed CRLF/LF file is not rewritten) and a file without a trailing newline does not gain one. Use dry_run=true to preview without modifying the file.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Alias for file_path | |
| patch | Yes | Unified diff text (output of the diff tool) | |
| dry_run | No | Preview patch result without modifying the file: true or false. Default: false | |
| file_path | No | File to patch. Relative paths use the configured workspace or MCP client root |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description directly contradicts the provided annotations: it says the tool 'applies changes' and can modify a file, while annotations mark readOnlyHint=true and destructiveHint=false. This is an annotation contradiction, which forces the lowest score regardless of the strong encoding and line-ending details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured: it front-loads the primary action, then adds useful encoding/line-ending behavior, and ends with an actionable dry-run usage. Every sentence contributes unique information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool description covers the behavioral full picture: diff format, context verification, encoding preservation, line-ending behavior, and dry-run safety. The confusing annotation contradiction prevents a 5, but as a standalone spec it is nearly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already describes all four parameters clearly, including patch, dry_run, and the path aliases. The description adds little beyond restating that dry_run previews without modifying, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with a precise verb-resource pair: 'Applies a unified diff patch to a file.' It further clarifies behavior with hunk parsing and context verification, making it clearly distinct from nearby siblings like edit, write, or multiedit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description conveys a clear use-case: applying unified diff output to a file, with dry_run for preview. It does not explicitly contrast with edit or write, but the diff-specific framing makes the correct context fairly obvious.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
readA
Read text with line numbers or return raster images as ImageContent. Detects common encodings; SVG stays text. Text is bounded and reports truncation/next_offset. Use offset/limit to page; relative paths use the workspace or MCP root.
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Disable line cap; character cap remains | |
| path | No | Alias for file_path | |
| limit | No | Line limit; default 400. Use 0 or all=true for no line cap | |
| offset | No | Start line: 1-based integer, negative from end, 'start-end', or [start,end]; default 1 | |
| end_line | No | Inclusive end with start_line | |
| file_path | No | Absolute or workspace/MCP-root-relative file path | |
| start_line | No | Alias for offset | |
| include_hash | No | Include SHA-256; default true | |
| max_line_chars | No | Per-line character cap; default 4000, max 32768 | |
| max_output_chars | No | Output character cap; default 32768, max 131072 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations at all, the description carries the full burden and addresses key behaviors: encoding detection, SVG staying text, bounded output with truncation/next_offset reporting, and image results as ImageContent. It does not discuss permissions or failure modes, but for a read operation it discloses the traits most likely to surprise an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four short sentences front-load the core behavior and pack each line with non-redundant detail (images, encoding, truncation, paging, paths). No sentence is wasted and the structure lets an agent scan quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 10-parameter, 0-required, no-output-schema tool, the description covers the most important invocation concerns: return type, encoding edge case, truncation reporting, paging, and path base. It does not spell out all optional parameters, but those are fully documented in the schema, so an agent can call the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds value beyond the schema by explaining paging semantics ('Use offset/limit to page') and relative path resolution ('workspace or MCP root'). This helps disambiguate offset/limit and file_path without repeating every schema field.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific action ('Read text') and a clear resource, and covers the image-return case ('raster images as ImageContent'), going beyond a bare tautology. It does not explicitly name a sibling such as multiread to differentiate, but the core behavior is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives actionable context for paging ('Use offset/limit to page') and path interpretation ('relative paths use the workspace or MCP root'), which helps an agent decide how to call it. However, it provides no explicit guidance on when to prefer a sibling like multiread or grep, so the when-vs-alternatives guidance is implied rather than stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
toolboxC
Discover and call tools without loading every schema. Use describe, preferably compact with tool_operation, then call with arguments. Reuse schema_handle. output retrieves preserved paged command output. list shows tools; enable/disable/profile manage direct bindings. Profiles: core-lite, core, coding, remote, analysis, full.
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Target tool for describe/call | |
| tools | No | Tool names for enable/disable | |
| groups | No | Groups for enable/disable: core, file, coding, system, remote, data, analysis, windows | |
| compact | No | Return a reduced describe schema | |
| profile | No | Profile to add; core-lite, core, coding, remote, analysis, or full. core-lite is smallest at startup | |
| arguments | No | Target arguments for call; describe first if unknown | |
| operation | No | list (default), describe, call, output, enable, disable, or profile | |
| output_id | No | Raw output ID for output | |
| output_offset | No | Output character offset; default 0 | |
| schema_handle | No | Prior handle; short acknowledgement if unchanged | |
| tool_operation | No | Operation-specific compact schema, e.g. execute | |
| output_max_chars | No | Output character limit; default 32768, max 130048 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that output is paged and preserved, that describe can be compact, and that profile management exists. However, it does not reveal side effects of enable/disable/profile operations (like whether they alter persistent state), auth requirements, or any output format details. For a tool that can modify bindings and profiles, more transparency is needed, but the basic behavioral facts are present.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but poorly structured: it front-loads operational guidance but then lists operations and profiles in an unorganized way. Each sentence adds info, but the flow is jumbled, mixing instructions, operation list, and profile list without clear separation. It's not concise enough for the complexity; ideally it would use a structured list for operations and profiles.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (12 parameters, multiple operations, nested objects), the description covers the high-level workflow and mentions key parameters and profiles. However, it lacks details on return values (no output schema), side effects of enable/disable/profile, and edge cases like how output_id relates to output operation. It is minimally adequate but leaves gaps that an agent might need to infer or test.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so each parameter already has a description in the schema. The description adds some usage context around certain parameters (e.g., 'compact' and 'tool_operation' relationship, 'profile' list), but it doesn't add meaning beyond the schema for most parameters. It does clarify the default operation is 'list' and that 'schema_handle' might return a short acknowledgement, but that's marginal. With full coverage, baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description lists multiple operations ('list', 'describe', 'call', etc.) and the tool name 'toolbox' hints at a dispatch tool, but the core purpose is not stated as a single verb+resource. It bundles several operations, making the primary purpose ambiguous. The list of sibling tools (read, write, edit) are specific file operations, while this one is a general dispatcher, but that distinction is implied rather than explicit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives some guidance on when to use certain operations: 'Use describe, preferably compact with tool_operation, then call with arguments' and 'output retrieves preserved paged command output'. However, it does not explicitly contrast with alternatives or state exclusions. It implies that for performance, compact describe is preferred, but it doesn't say when NOT to use this tool vs. siblings; it assumes the agent knows this is a dispatch tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
writeA
Create or overwrite a file. Preserves existing encoding, uses .editorconfig for new files, and creates parent directories.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Alias for file_path | |
| content | Yes | Content to write to the file | |
| file_path | No | File path; relative to workspace/MCP root |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by revealing important side effects: overwriting, preserving existing encoding, applying .editorconfig for new files, and creating parent directories. It stops short of mentioning irreversibility risks, permissions, or failure behavior, but the core destructive nature is communicated through 'overwrite.'
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single focused sentence that front-loads the primary action ('Create or overwrite a file') and then adds three compact behavioral details. Every clause earns its place, with no filler or repetition of schema information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple write tool, the description covers the essential contextual details: overwrite semantics, encoding handling, editorconfig behavior, and directory creation. It lacks an explicit note about destructive impact or comparison to edit/patch, but the schema covers parameter requirements and the description provides enough behavioral context for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the structured fields already document content, file_path, and path as an alias. The description adds no parameter-specific detail beyond the schema, which matches the baseline of 3; no compensation is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb and resource ('Create or overwrite a file') and further specifies exact behavior: preserving encoding, applying .editorconfig for new files, and creating parent directories. This clearly identifies it as a whole-file write operation and differentiates it from siblings like edit, patch, and multiedit, which imply targeted changes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool—creating new files or fully overwriting existing ones—but does not explicitly say when not to use it or mention alternatives such as edit/patch for partial modifications. An agent can infer the use case from 'Create or overwrite a file,' but there is no direct routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v0.9.7- Changed
edit6 fields changed- changed
Input schema / properties / dry_run / descriptionPrevious value: -"Preview changes without modifying the file: true or false. Default: false"New value: +"Preview only; default false" - changed
Input schema / properties / expected_hash / descriptionPrevious value: -"Optional SHA-256 hash of the file. If provided and mismatched, edit is rejected (optimistic concurrency)."New value: +"Expected SHA-256; mismatch rejects edit" - changed
Input schema / properties / file_path / descriptionPrevious value: -"File to edit. Relative paths use the configured workspace or MCP client root"New value: +"File path; relative to workspace/MCP root" - changed
Input schema / properties / indent_style / descriptionPrevious value: -"Override indentation style. Values: tabs or spaces-N (e.g. spaces-4). Empty = auto-detect (default)"New value: +"tabs or spaces-N; default auto-detect" - changed
Input schema / properties / new_string / descriptionPrevious value: -"Replacement text (must differ from old_string)"New value: +"Replacement text; must differ from old_string" - changed
Input schema / properties / replace_all / descriptionPrevious value: -"Replace all occurrences instead of just the first: true or false. Default: false"New value: +"Replace every match; default false"
- Changed
glob1 field changed- changed
Input schema / properties / include_ignored / descriptionPrevious value: -"Traverse generated/vendor directories such as node_modules, vendor, target, build, and dist. Default: false"New value: +"Include paths excluded by .gitignore/.ignore or the common generated/vendor policy. Default: false"
- Changed
grep17 fields changed- changed
Input schema / properties / after / descriptionPrevious value: -"Lines after each match. Overrides context. Default: 0, Max: 1000"New value: +"Lines after; overrides context" - changed
Input schema / properties / before / descriptionPrevious value: -"Lines before each match. Overrides context. Default: 0, Max: 1000"New value: +"Lines before; overrides context" - changed
Input schema / properties / context / descriptionPrevious value: -"Lines before and after each match (like grep -C). Default: 0, Max: 1000"New value: +"Lines before/after; max 1000" - changed
Input schema / properties / cursor / descriptionPrevious value: -"Opaque continuation cursor returned by a previous grep call. Not supported with context lines"New value: +"Continuation cursor; incompatible with context lines" - changed
Input schema / properties / glob / descriptionPrevious value: -"Glob pattern to filter files (e.g. *.go). Only used when path is a directory"New value: +"Directory file filter, e.g. *.go" - changed
Input schema / properties / ignore_case / descriptionPrevious value: -"Case-insensitive search. Default: false"New value: +"Ignore case" - changed
Input schema / properties / include_hidden / descriptionPrevious value: -"Search hidden directories. Explicitly provided hidden roots are always searched. Default: false"New value: +"Include hidden directories" - changed
Input schema / properties / include_ignored / descriptionPrevious value: -"Search common generated/vendor directories instead of skipping them. Default: false"New value: +"Include ignored/generated/vendor paths" - changed
Input schema / properties / max_line_chars / descriptionPrevious value: -"Maximum characters per matching/context line. Default: 4000, Max: 32768"New value: +"Per-line cap; default 4000, max 32768" - changed
Input schema / properties / max_output_chars / descriptionPrevious value: -"Maximum total result characters. Default: 32768, Max: 131072"New value: +"Output cap; default 32768, max 131072" - changed
Input schema / properties / max_results / descriptionPrevious value: -"Maximum matching lines/files per page. Default: 100, Max: 100000"New value: +"Matches per page; default 100, max 100000" - changed
Input schema / properties / output_format / descriptionPrevious value: -"Content layout: compact (group matches by file, default) or classic (path:line:text on every line)"New value: +"compact (default) or classic path:line:text" - changed
Input schema / properties / output_mode / descriptionPrevious value: -"Output mode: content (default), files_with_matches, or count"New value: +"content (default), files_with_matches, or count" - changed
Input schema / properties / path / descriptionPrevious value: -"File or directory to search. Defaults to configured workspace, MCP client root, or current directory"New value: +"File or directory; defaults to workspace/MCP root/CWD" - changed
Input schema / properties / pattern / descriptionPrevious value: -"Regular expression pattern to search for"New value: +"Regular expression" - changed
Input schema / properties / recursive / descriptionPrevious value: -"Recurse into subdirectories. Default: true"New value: +"Recurse; default true" - changed
Input schema / properties / relative_paths / descriptionPrevious value: -"Return paths relative to the search root. Default: true for directory searches"New value: +"Paths relative to root; directory default true"
- Changed
read11 fields changed- changed
Input schema / properties / all / descriptionPrevious value: -"Remove the default line limit. The max_output_chars safety budget still applies. Default: false"New value: +"Disable line cap; character cap remains" - changed
Input schema / properties / end_line / descriptionPrevious value: -"Inclusive end line used with start_line"New value: +"Inclusive end with start_line" - changed
Input schema / properties / file_path / descriptionPrevious value: -"Absolute or workspace-relative path to the file to read"New value: +"Absolute or workspace/MCP-root-relative file path" - changed
Input schema / properties / include_hash / descriptionPrevious value: -"Include SHA-256 for optimistic edit concurrency. Default: true"New value: +"Include SHA-256; default true" - changed
Input schema / properties / limit / descriptionPrevious value: -"Maximum lines to return. Default: 400. Set 0 or all=true to remove the line limit; the character budget still applies"New value: +"Line limit; default 400. Use 0 or all=true for no line cap" - changed
Input schema / properties / max_line_chars / descriptionPrevious value: -"Maximum characters returned from one line. Default: 4000, Max: 32768"New value: +"Per-line character cap; default 4000, max 32768" - changed
Input schema / properties / max_output_chars / descriptionPrevious value: -"Maximum returned text characters. Default: 32768, Max: 131072"New value: +"Output character cap; default 32768, max 131072" - changed
Input schema / properties / offset / descriptionPrevious value: -"Line offset. Integer (1-based, negative=from end), string range 'start-end', or [start,end] array. Default: 1"New value: +"Start line: 1-based integer, negative from end, 'start-end', or [start,end]; default 1" - added
Input schema / properties / offset / typeAdded value: +"integer" - changed
Input schema / properties / path / descriptionPrevious value: -"Compatibility alias for file_path; prefer file_path"New value: +"Alias for file_path" - changed
Input schema / properties / start_line / descriptionPrevious value: -"Compatibility alias for offset; prefer offset"New value: +"Alias for offset"
- Changed
toolbox12 fields changed- changed
Input schema / properties / arguments / descriptionPrevious value: -"Target tool arguments for operation=call. Use operation=describe first when the schema is unknown"New value: +"Target arguments for call; describe first if unknown" - changed
Input schema / properties / compact / descriptionPrevious value: -"Return a reduced input schema: true or false. Pair with tool_operation for operation-specific fields"New value: +"Return a reduced describe schema" - changed
Input schema / properties / groups / descriptionPrevious value: -"Tool groups to enable or disable: core, file, coding, system, remote, data, analysis, windows"New value: +"Groups for enable/disable: core, file, coding, system, remote, data, analysis, windows" - changed
Input schema / properties / operation / descriptionPrevious value: -"Operation: list (default), describe, call, output, enable, disable, profile. Prefer describe/call because they work even when the MCP client ignores dynamic tool-list changes"New value: +"list (default), describe, call, output, enable, disable, or profile" - changed
Input schema / properties / output_id / descriptionPrevious value: -"Preserved raw command output ID for operation=output"New value: +"Raw output ID for output" - changed
Input schema / properties / output_max_chars / descriptionPrevious value: -"Maximum raw-output characters returned by operation=output. Default: 32768, Max: 130048"New value: +"Output character limit; default 32768, max 130048" - changed
Input schema / properties / output_offset / descriptionPrevious value: -"Character offset for operation=output paging. Default: 0"New value: +"Output character offset; default 0" - changed
Input schema / properties / profile / descriptionPrevious value: -"Profile for operation=profile: core, coding, remote, analysis, full"New value: +"Profile to add; core-lite, core, coding, remote, analysis, or full. core-lite is smallest at startup" - changed
Input schema / properties / schema_handle / descriptionPrevious value: -"Handle returned by an earlier describe; matching handles return only an unchanged acknowledgement"New value: +"Prior handle; short acknowledgement if unchanged" - changed
Input schema / properties / tool / descriptionPrevious value: -"Single tool name for operation=describe or call"New value: +"Target tool for describe/call" - changed
Input schema / properties / tool_operation / descriptionPrevious value: -"Target tool operation for compact describe, for example execute or upload"New value: +"Operation-specific compact schema, e.g. execute" - changed
Input schema / properties / tools / descriptionPrevious value: -"Individual tool names to enable or disable"New value: +"Tool names for enable/disable"
- Changed
write1 field changed- changed
Input schema / properties / file_path / descriptionPrevious value: -"File to write. Relative paths use the configured workspace or MCP client root"New value: +"File path; relative to workspace/MCP root"
1 tool update
v0.9.6- Changed
toolbox3 fields changed- added
Input schema / properties / compactAdded value: +{ + "description": "Return a reduced input schema: true or false. Pair with tool_operation for operation-specific fields", + "type": "boolean" +} - added
Input schema / properties / schema_handleAdded value: +{ + "description": "Handle returned by an earlier describe; matching handles return only an unchanged acknowledgement", + "type": "string" +} - added
Input schema / properties / tool_operationAdded value: +{ + "description": "Target tool operation for compact describe, for example execute or upload", + "type": "string" +}
53 tool updates
v0.9.5- Removed
analyze - Removed
backup - Removed
bash - Removed
checksum - Removed
codegraph - Removed
compress - Removed
convert_encoding - Removed
copy - Removed
debug - Removed
decompress - Removed
delete - Removed
diff - Removed
dnslookup - Removed
download - Changed
edit3 fields changed- added
Input schema / properties / dry_run / typeAdded value: +"boolean" - changed
Input schema / properties / file_path / descriptionPrevious value: -"Absolute path to the file to edit"New value: +"File to edit. Relative paths use the configured workspace or MCP client root" - added
Input schema / properties / replace_all / typeAdded value: +"boolean"
- Removed
envvar - Removed
externalip - Removed
file_info - Removed
find_tools - Removed
firewall - Changed
glob8 fields changed- added
Input schema / properties / cursorAdded value: +{ + "description": "Opaque continuation cursor returned by a previous glob call", + "type": "string" +} - added
Input schema / properties / include_hiddenAdded value: +{ + "description": "Traverse hidden directories. Explicit hidden roots are always searched. Default: false", + "type": "boolean" +} - added
Input schema / properties / include_ignoredAdded value: +{ + "description": "Traverse generated/vendor directories such as node_modules, vendor, target, build, and dist. Default: false", + "type": "boolean" +} - added
Input schema / properties / limitAdded value: +{ + "description": "Maximum paths returned per page. Default: 200, Max: 5000", + "type": "integer" +} - added
Input schema / properties / max_output_charsAdded value: +{ + "description": "Maximum returned text characters. Default: 32768, Max: 131072", + "type": "integer" +} - changed
Input schema / properties / path / descriptionPrevious value: -"Directory to search in (absolute path). Defaults to current directory if empty"New value: +"Directory to search. Defaults to configured workspace, MCP client root, or current directory" - changed
Input schema / properties / relative_paths / descriptionPrevious value: -"Return paths relative to the search directory instead of absolute paths. Saves tokens in output: true or false. Default: false"New value: +"Return paths relative to the search directory. Default: true" - added
Input schema / properties / relative_paths / typeAdded value: +[ + "null", + "boolean" +]
- Changed
grep21 fields changed- changed
Input schema / properties / after / descriptionPrevious value: -"Lines of context after each match (like grep -A). Overrides context. Default: 0"New value: +"Lines after each match. Overrides context. Default: 0, Max: 1000" - added
Input schema / properties / after / typeAdded value: +"integer" - changed
Input schema / properties / before / descriptionPrevious value: -"Lines of context before each match (like grep -B). Overrides context. Default: 0"New value: +"Lines before each match. Overrides context. Default: 0, Max: 1000" - added
Input schema / properties / before / typeAdded value: +"integer" - changed
Input schema / properties / context / descriptionPrevious value: -"Lines of context before and after each match (like grep -C). Default: 0"New value: +"Lines before and after each match (like grep -C). Default: 0, Max: 1000" - added
Input schema / properties / context / typeAdded value: +"integer" - added
Input schema / properties / cursorAdded value: +{ + "description": "Opaque continuation cursor returned by a previous grep call. Not supported with context lines", + "type": "string" +} - changed
Input schema / properties / ignore_case / descriptionPrevious value: -"Case insensitive search: true or false. Default: false"New value: +"Case-insensitive search. Default: false" - added
Input schema / properties / ignore_case / typeAdded value: +"boolean" - added
Input schema / properties / include_hiddenAdded value: +{ + "description": "Search hidden directories. Explicitly provided hidden roots are always searched. Default: false", + "type": "boolean" +} - added
Input schema / properties / include_ignoredAdded value: +{ + "description": "Search common generated/vendor directories instead of skipping them. Default: false", + "type": "boolean" +} - added
Input schema / properties / max_line_charsAdded value: +{ + "description": "Maximum characters per matching/context line. Default: 4000, Max: 32768", + "type": "integer" +} - added
Input schema / properties / max_output_charsAdded value: +{ + "description": "Maximum total result characters. Default: 32768, Max: 131072", + "type": "integer" +} - changed
Input schema / properties / max_results / descriptionPrevious value: -"Maximum number of matching lines/files to return. Default: 100"New value: +"Maximum matching lines/files per page. Default: 100, Max: 100000" - added
Input schema / properties / max_results / typeAdded value: +"integer" - added
Input schema / properties / output_formatAdded value: +{ + "description": "Content layout: compact (group matches by file, default) or classic (path:line:text on every line)", + "type": "string" +} - changed
Input schema / properties / output_mode / descriptionPrevious value: -"Output mode: 'content' (matching lines with path:line:text, default), 'files_with_matches' (file paths only), 'count' (match count per file)"New value: +"Output mode: content (default), files_with_matches, or count" - changed
Input schema / properties / path / descriptionPrevious value: -"File or directory to search in (absolute path). Defaults to current directory"New value: +"File or directory to search. Defaults to configured workspace, MCP client root, or current directory" - changed
Input schema / properties / recursive / descriptionPrevious value: -"Recurse into subdirectories: true or false. Default: true"New value: +"Recurse into subdirectories. Default: true" - added
Input schema / properties / recursive / typeAdded value: +[ + "null", + "boolean" +] - added
Input schema / properties / relative_pathsAdded value: +{ + "description": "Return paths relative to the search root. Default: true for directory searches", + "type": [ + "null", + "boolean" + ] +}
- Removed
httpreq - Removed
ipc - Removed
jsonquery - Changed
listdir12 fields changed- added
Input schema / properties / counts_onlyAdded value: +{ + "description": "Return matching directory/file counts without listing names: true or false. Default: false", + "type": "boolean" +} - added
Input schema / properties / cursorAdded value: +{ + "description": "Opaque continuation cursor returned by a previous listdir call", + "type": "string" +} - added
Input schema / properties / directories_onlyAdded value: +{ + "description": "Return directories only while still traversing them: true or false. Default: false", + "type": "boolean" +} - added
Input schema / properties / files_onlyAdded value: +{ + "description": "Return files only: true or false. Default: false", + "type": "boolean" +} - added
Input schema / properties / includeAdded value: +{ + "description": "Additional entry-name glob patterns. An entry is included when any pattern matches", + "items": { + "type": "string" + }, + "type": [ + "null", + "array" + ] +} - changed
Input schema / properties / max_depth / descriptionPrevious value: -"Maximum depth for tree traversal. Default: 3"New value: +"Maximum depth for traversal. Default: 3" - added
Input schema / properties / max_depth / typeAdded value: +"integer" - added
Input schema / properties / max_entriesAdded value: +{ + "description": "Maximum entries to return per page. Default: 500, maximum: 10000", + "type": "integer" +} - added
Input schema / properties / name_patternAdded value: +{ + "description": "Glob matched against each entry name, for example A* or *.go", + "type": "string" +} - changed
Input schema / properties / path / descriptionPrevious value: -"Absolute path to the directory to list"New value: +"Directory to list. Relative paths use the configured workspace or MCP client root" - changed
Input schema / properties / relative_paths / descriptionPrevious value: -"Show the root as '.' instead of the full absolute path. Saves tokens in output: true or false. Default: false"New value: +"Show paths relative to the root. Saves tokens: true or false. Default: false" - added
Input schema / properties / relative_paths / typeAdded value: +"boolean"
- Removed
memtool - Removed
mkdir - Changed
multiedit2 fields changed- added
Input schema / properties / dry_run / typeAdded value: +"boolean" - changed
Input schema / properties / file_path / descriptionPrevious value: -"Absolute path to the file to edit"New value: +"File to edit. Relative paths use the configured workspace or MCP client root"
- Changed
multiread14 fields changed- added
Input schema / properties / allAdded value: +{ + "description": "Remove the default per-file line limit. The total character budget still applies. Default: false", + "type": "boolean" +} - changed
Input schema / properties / file_paths / descriptionPrevious value: -"List of absolute file paths to read. All files use the global offset/limit. Use 'files' instead for per-file ranges"New value: +"File paths to read. All files use the global offset/limit. Use files for per-file ranges" - changed
Input schema / properties / files / items / properties / limit / descriptionPrevious value: -"Max lines to read. Default: 0 (all)"New value: +"Max lines to read. Default: 200. Set 0 to remove the line limit" - added
Input schema / properties / files / items / properties / limit / typeAdded value: +[ + "null", + "integer" +] - added
Input schema / properties / files / items / properties / offset / typeAdded value: +[ + "null", + "integer" +] - changed
Input schema / properties / files / items / properties / path / descriptionPrevious value: -"Absolute file path"New value: +"Absolute or workspace-relative file path" - added
Input schema / properties / include_hashAdded value: +{ + "description": "Include per-file SHA-256 hashes. Default: false", + "type": "boolean" +} - changed
Input schema / properties / limit / descriptionPrevious value: -"Maximum number of lines to read per file. Default: 0 (all)"New value: +"Maximum lines per file. Default: 200. Set 0 or all=true to remove the line limit" - added
Input schema / properties / limit / typeAdded value: +[ + "null", + "integer" +] - added
Input schema / properties / max_line_charsAdded value: +{ + "description": "Maximum characters returned from one line. Default: 4000, Max: 32768", + "type": "integer" +} - added
Input schema / properties / max_output_charsAdded value: +{ + "description": "Maximum total returned text characters across all files. Default: 32768, Max: 131072", + "type": "integer" +} - changed
Input schema / properties / offset / descriptionPrevious value: -"Line number to start reading from (1-based). Negative = from end (e.g. -5 = last 5 lines). Default: 1"New value: +"Line number to start from (1-based, negative = from end). Default: 1" - added
Input schema / properties / offset / typeAdded value: +[ + "null", + "integer" +] - changed
Input schema / properties / paths / descriptionPrevious value: -"Alias for file_paths"New value: +"Compatibility alias for file_paths; prefer file_paths"
- Removed
mysql - Changed
patch2 fields changed- added
Input schema / properties / dry_run / typeAdded value: +"boolean" - changed
Input schema / properties / file_path / descriptionPrevious value: -"Absolute path to the file to patch"New value: +"File to patch. Relative paths use the configured workspace or MCP client root"
- Removed
portcheck - Removed
procexec - Removed
prockill - Removed
proclist - Changed
read13 fields changed- added
Input schema / properties / allAdded value: +{ + "description": "Remove the default line limit. The max_output_chars safety budget still applies. Default: false", + "type": "boolean" +} - changed
Input schema / properties / end_line / descriptionPrevious value: -"End line number (1-based, inclusive). Sets limit = end_line - start_line + 1 when used with start_line"New value: +"Inclusive end line used with start_line" - added
Input schema / properties / end_line / typeAdded value: +[ + "null", + "integer" +] - changed
Input schema / properties / file_path / descriptionPrevious value: -"Absolute or relative path to the file to read"New value: +"Absolute or workspace-relative path to the file to read" - added
Input schema / properties / include_hashAdded value: +{ + "description": "Include SHA-256 for optimistic edit concurrency. Default: true", + "type": [ + "null", + "boolean" + ] +} - changed
Input schema / properties / limit / descriptionPrevious value: -"Maximum number of lines to read. Default: 0 (all)"New value: +"Maximum lines to return. Default: 400. Set 0 or all=true to remove the line limit; the character budget still applies" - added
Input schema / properties / limit / typeAdded value: +[ + "null", + "integer" +] - added
Input schema / properties / max_line_charsAdded value: +{ + "description": "Maximum characters returned from one line. Default: 4000, Max: 32768", + "type": "integer" +} - added
Input schema / properties / max_output_charsAdded value: +{ + "description": "Maximum returned text characters. Default: 32768, Max: 131072", + "type": "integer" +} - changed
Input schema / properties / offset / descriptionPrevious value: -"Line offset. Integer (1-based, negative=from end), string range 'start-end', or [start,end] array. Default: 0 (all)"New value: +"Line offset. Integer (1-based, negative=from end), string range 'start-end', or [start,end] array. Default: 1" - changed
Input schema / properties / path / descriptionPrevious value: -"Alias for file_path"New value: +"Compatibility alias for file_path; prefer file_path" - changed
Input schema / properties / start_line / descriptionPrevious value: -"Alias for offset (1-based line number to start reading from)"New value: +"Compatibility alias for offset; prefer offset" - added
Input schema / properties / start_line / typeAdded value: +[ + "null", + "integer" +]
- Removed
redis - Removed
regexreplace - Removed
rename - Removed
set_config - Removed
sftp - Removed
sloc - Removed
ssh - Removed
sysinfo - Removed
tlscheck - Removed
tomlquery - Added
toolbox - Removed
webfetch - Removed
websearch - Removed
wintool - Changed
write1 field changed- changed
Input schema / properties / file_path / descriptionPrevious value: -"Absolute path to the file to write"New value: +"File to write. Relative paths use the configured workspace or MCP client root"
- Removed
yamlquery
53 tool updates
v0.8.7- Added
agent_tool_help - Added
analyze - Added
backup - Added
bash - Added
checksum - Added
codegraph - Added
compress - Added
convert_encoding - Added
copy - Added
debug - Added
decompress - Added
delete - Added
diff - Added
dnslookup - Added
download - Added
edit - Added
envvar - Added
externalip - Added
file_info - Added
find_tools - Added
firewall - Added
glob - Added
grep - Added
httpreq - Added
ipc - Added
jsonquery - Added
listdir - Added
memtool - Added
mkdir - Added
multiedit - Added
multiread - Added
mysql - Added
patch - Added
portcheck - Added
procexec - Added
prockill - Added
proclist - Added
read - Added
redis - Added
regexreplace - Added
rename - Added
set_config - Added
sftp - Added
sloc - Added
ssh - Added
sysinfo - Added
tlscheck - Added
tomlquery - Added
webfetch - Added
websearch - Added
wintool - Added
write - Added
yamlquery
TDQS
Scored across 11 tools
Most tools have clear boundaries: read/multiread, grep, glob/listdir, and write/edit/multiedit/patch are separated by operation type and scope. The main ambiguity is between edit and multiedit, which are the same replacement primitive differing only in count, and listdir/glob can both surface files by name.
Tool names are uniformly lowercase and terse (read, write, edit, patch, grep), which is a consistent Unix-command style. agent_tool_help breaks the pattern by using a snake_case prefix, and toolbox is a noun rather than a verb, but the overall naming is predictable.
Eleven tools is well-scoped for a file/code editing and tool-discovery server. Each tool covers a distinct operation—listing, reading, writing, editing, patching, searching, globbing, help, and meta tool management—without obvious redundancy.
The read/write/edit/patch lifecycle is covered for file modification, plus search and listing utilities, but there is no delete/remove or move/copy tool, which are common file operations. The toolbox meta-tool covers tool discovery well, but the file side has a noticeable lifecycle gap.
Maintenance
Related MCP Connectors
Shared control plane for AI coding agents — tasks, memory, decisions, file locks. 12 tools.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
PDF, image, video, OCR, screenshot, SQL, QR and text tools for agents. No API key, no signup.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables secure local filesystem operations and interactive terminal sessions for AI assistants. Provides 12 tools for file management, directory operations, code searching, and running interactive REPLs with security protections.7 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with 28 developer tools across file, git, code analysis, HTTP, and system domains, enabling tasks like file editing, repository management, code analysis, and shell command execution.4 npm2MIT
- AlicenseAqualityDmaintenanceEnables AI agents to autonomously navigate a codebase by listing directories, reading files, searching code, and running whitelisted commands.513 npmISC
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to safely interact with the file system through a set of tools for reading, writing, deleting, copying, moving files, and managing directories.-