agent-tool
agent-tool
MCP-сервер (Model Context Protocol) с инструментами для ИИ-агентов, пишущих код.
Зачем?
Встроенные инструменты ИИ-агентов для написания кода (Claude Code, Cursor, Codex и др.) имеют известные ограничения:
Ломаются отступы из табов: LLM выводят пробелы, а в вашем проекте используются табы. Встроенный инструмент Edit записывает пробелы как есть, нарушая ваш стиль отступов.
Порча кодировки: При редактировании файлов в EUC-KR, Shift-JIS или GB18030 они молча конвертируются в UTF-8, ломая легаси-проекты.
Слишком много отдельных инструментов: Заставлять агента искать, устанавливать и настраивать Redis CLI, MySQL-клиент, SSH-клиент и т.д. — утомительно и чревато ошибками. agent-tool объединяет 54 инструмента в один бинарник и предоставляет их по требованию через компактные профили.
Нет поддержки реверс-инжиниринга: Встроенные инструменты не умеют дизассемблировать бинарники, анализировать PE/ELF-заголовки, находить границы функций или искать перекрёстные ссылки. agent-tool включает статический анализ бинарников (дизассемблирование, xref, определение функций), DAP-отладчик и инструменты работы с памятью в стиле CheatEngine — это даёт вашему агенту полные возможности реверс-инжиниринга.
Цензура в сети: В некоторых странах государственная фильтрация веб-трафика ломает обычные запросы
curl/wget. agent-tool по умолчанию использует ECH (Encrypted Client Hello) и DoH (DNS over HTTPS), чтобы обходить эти ограничения.
agent-tool решает эти проблемы с помощью инструментов, ориентированных на агентов, которые сохраняют конвенции проекта и при этом держат контекст модели в разумных пределах.
Related MCP server: DevToolkit MCP Server
Поддерживаемые агенты
Claude Code, Codex CLI, Cursor, Windsurf, Cline, Gemini CLI и любой MCP-совместимый агент.
Эффективность для LLM по умолчанию
Профиль core по умолчанию открывает только 11 схем (включая toolbox) вместо всех 54. При измерении на уровне протокола это сократило сериализованный список инструментов примерно с 84 КБ (full) до 18 КБ. Используйте
toolbox(operation="describe", tool="ssh", compact=true, tool_operation="execute"),
чтобы загрузить поля и список обязательных аргументов только одной операции, а затем вызывайте её через
toolbox(operation="call", tool="ssh", arguments={...}). Шлюз не зависит от динамического обновления списка инструментов, поэтому работает с клиентами с фиксированной привязкой, такими как Codex. Describe возвращает привязанный к инструменту/версии schema_handle; при повторном вызове describe с ним возвращается короткое подтверждение без изменений, если схема всё ещё актуальна. Также можно запустить с флагом --profile coding|remote|analysis|full.
Потенциально большие текстовые ответы по умолчанию ограничены 32К символами с жёстким потолком 128К. Усечение всегда заметно, а инструменты с постраничной выдачей возвращают next_offset или next_cursor. Локальные относительные пути разрешаются относительно явно заданного workspace, затем корня MCP-клиента.
Возможности
Инструмент | Описание | Статус |
Edit | Замена строк с умными отступами и сохранением кодировки (поддерживается dry_run) | ✅ |
Read | Чтение с учётом кодировки и номерами строк. По умолчанию 400 строк/32K символов, сообщает об усечении и точном | ✅ |
Write | Создание/перезапись файлов с учётом кодировки | ✅ |
Grep | Регулярный поиск с учётом кодировки, бюджет вывода 32K, компактный вывод, сгруппированный по файлам, относительные пути, фильтрация | ✅ |
Glob | Отсортированное ограниченное сопоставление файлов с | ✅ |
ListDir | Ограниченный/постраничный список каталога. | ✅ |
Diff | Сравнение двух файлов с выводом unified diff (с учётом кодировки). Файлы, отличающиеся только переводами строк или завершающим переводом строки, сообщают об этом вместо пустого diff | ✅ |
Patch | Применение unified diff патча к файлу (поддерживается dry_run). Каждая строка сохраняет собственное окончание, поэтому смешанный CRLF/LF файл не переписывается | ✅ |
Checksum | Вычисление хеша файла (md5, sha1, sha256) | ✅ |
FileInfo | Метаданные файла (размер, кодировка, количество смешанных окончаний строк, отступы, количество строк) | ✅ |
Compress | Создание zip / tar.gz архивов | ✅ |
Decompress | Извлечение zip / tar.gz архивов (защита от Zip Slip/Bomb) | ✅ |
Backup | Резервное копирование в zip с меткой времени и шаблонами исключений. Предпросмотр dry_run со статистикой каталогов, количеством совпадений шаблонов и крупнейшими файлами | ✅ |
ConvertEncoding | Преобразование кодировки файла (EUC-KR ↔ UTF-8, добавление/удаление BOM и т.д.) | ✅ |
Delete | Безопасное удаление одного файла (без каталогов, без симлинков, защита системных путей, dry_run) | ✅ |
Rename | Атомарное переименование или перемещение файла/каталога (dry_run) | ✅ |
SysInfo | Информация о системе — ОС, CPU, RAM, диск, время работы, измерение загрузки CPU | ✅ |
FindTools | Обнаружение установленных инструментов разработки — компиляторы, среды выполнения, системы сборки (Go, .NET, Node, Python, Java, Rust, C/C++ и т.д.). Поиск в PATH, переменных окружения и известных местах (~/bin, snap, scoop, Homebrew, SDKMAN, nvm, fnm, pyenv) | ✅ |
ProcList | Список запущенных процессов — PID, имя, командная строка, память. Конфиденциальные аргументы автоматически маскируются. Фильтр по имени или порту | ✅ |
ProcKill | Завершение, приостановка или возобновление процессов по PID или порту. Завершение дерева, выбор сигнала (kill/term/hup/int/stop/cont), обработка зомби (Linux), dry_run | ✅ |
ProcExec | Выполнение команд как новых процессов. Запуск на переднем плане/в фоне/приостановленный, таймаут/переменные окружения и безопасное уплотнение повторяющихся диагностик с истекающим получением необработанного вывода | ✅ |
EnvVar | Чтение переменных окружения. Конфиденциальные значения (пароли, токены) автоматически маскируются | ✅ |
Firewall | Чтение правил брандмауэра — iptables/nftables/firewalld (Linux), netsh (Windows). Только чтение | ✅ |
SSH | Выполнение SSH с захватом 32K head+tail, исходными счётчиками байтов, корректными ошибками ненулевого выхода и фоновыми заданиями ( | ✅ |
SFTP | Передача файлов и управление удалёнными файловыми системами по SSH. Загрузка, скачивание, ls, stat, mkdir, rm, chmod, rename. Использует пул SSH-сессий. Максимум 2 ГБ на передачу | ✅ |
Bash | Постоянные shell-сессии с сохранением рабочего каталога/окружения, безопасное уплотнение повторяющихся диагностик и истекающее получение необработанного вывода. Пул сессий (макс. 5, таймаут простоя 30 мин). Unix: bash/sh, Windows: PowerShell/git-bash/cmd | ✅ |
WebFetch | Получение веб-контента как текст/Markdown с максимумом 32K по умолчанию/128K. ECH + DoH, конвертация HTML→Markdown, защита SSRF, поддержка прокси, Chrome User-Agent | ✅ |
WebSearch | Веб-поиск через Brave Search или Naver API. Требуются переменные окружения с API-ключами ( | ✅ |
Download | Скачивание файлов с URL на диск. ECH + DoH по умолчанию. Защита SSRF. HTTP/SOCKS5 прокси. Атомарная запись. Максимум 2 ГБ | ✅ |
HTTPReq | Выполнение HTTP-запросов любым методом (GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS). Тестирование API с пользовательскими заголовками, телом, прокси. Защита SSRF | ✅ |
JSONQuery | Запросы к JSON-файлам с путями в точечной нотации (например, | ✅ |
YAMLQuery | Запросы к YAML-файлам с путями в точечной нотации (тот же синтаксис, что и JSONQuery) | ✅ |
TOMLQuery | Запросы к TOML-файлам с путями в точечной нотации (тот же синтаксис, что и JSONQuery). Поддерживает специфичные для TOML типы (datetime, int64) | ✅ |
Copy | Копирование файлов/каталогов с атомарной записью и сохранением прав. Рекурсивное копирование каталогов. Запасной вариант для заблокированных файлов Windows (переименование запущенных exe/DLL в сторону). Предпросмотр dry_run | ✅ |
Mkdir | Создание каталогов с опциональным режимом прав (восьмеричный, например 0755). Рекурсивно по умолчанию (mkdir -p). Предпросмотр dry_run | ✅ |
MultiRead | Чтение до 50 файлов с бюджетом 32K на вызов, по умолчанию 200 строк на файл, безопасность длинных строк и метаданные продолжения для каждого файла/в целом. Хеши опциональны | ✅ |
RegexReplace | Регулярный поиск и замена в файлах/каталогах. Сохранение кодировки и окончаний строк, группы захвата ($1, $2). Пропускает бинарные файлы. Предпросмотр dry_run | ✅ |
TLSCheck | Проверка деталей TLS-сертификата — субъект, издатель, срок действия, SAN, версия TLS, набор шифров | ✅ |
DNSLookup | Поиск DNS-записей (A/AAAA/MX/CNAME/TXT/NS/SOA). DNS через HTTPS (DoH) по умолчанию для конфиденциальности | ✅ |
MySQL | Выполнение SQL-запросов на MySQL/MariaDB. Результаты SELECT в табличном формате с настраиваемыми лимитами строк/столбцов/ячеек/общего вывода; затронутые строки для DML. Используйте SQL LIMIT/OFFSET для постраничной навигации | ✅ |
Redis | Выполнение команд Redis с форматированным выводом по типу. Поддержка TLS. Опасные команды (FLUSHALL, SHUTDOWN и т.д.) заблокированы | ✅ |
PortCheck | Проверка, открыт ли TCP-порт на хосте. Возвращает OPEN/CLOSED со временем ответа. Поддерживает hostname, IPv4, IPv6 | ✅ |
ExternalIP | Получение внешнего (публичного) IP-адреса. Несколько провайдеров с автоматическим резервным переключением (ipify, ifconfig.me, icanhazip) | ✅ |
SLOC | Подсчёт строк исходного кода по языкам. Определение 70+ языков, разбивка по файлам/языкам, статистика пустых строк, контроль | ✅ |
Debug | Интерактивный отладчик через DAP (Debug Adapter Protocol). Полное покрытие DAP с ограниченными значениями/выводом и постраничной навигацией для переменных, завершений, модулей и загруженных источников. Протестировано с dlv (Go), debugpy (Python), codelldb (C/C++/Rust). Работает с любым совместимым с DAP адаптером. Режимы Stdio и TCP. Примечание: vsdbg (Microsoft) требует лицензию VS Code и не может использоваться отдельно — используйте codelldb или netcoredbg как альтернативы с открытым исходным кодом | ✅ |
Analyze | Статический анализ бинарных файлов и реверс-инжиниринг. Дизассемблирование x86/x64/ARM/ARM64; разбор PE/ELF/Mach-O с ограниченным, постраничным выводом импортов PE; xref, обнаружение функций/графы вызовов, анализ указателей/RTTI/vtable/структур, imphash, Rich header, DWARF, строки, hexdump, поиск шаблонов, энтропия, обнаружение оверлеев и бинарный diff. Нет глобального ограничения размера файла | ✅ |
Memtool | Инструмент памяти процессов в стиле CheatEngine — поиск/фильтрация/чтение/запись значений памяти, | ✅ |
IPC | Межпроцессное взаимодействие между сессиями AI-агентов через TCP. Обмен сообщениями 1:1 с блокирующим приёмом. Протокол: [2-байтовый тип][4-байтовая длина][полезная нагрузка]. Операции: send, receive (блокирующий с таймаутом), ping. Работает между машинами. Максимум 1 МБ сообщение, таймаут 300 с | ✅ |
Wintool | Автоматизация GUI Windows — поиск/перечисление окон и дочерних элементов управления, захват скриншотов (ImageContent PNG через PrintWindow), чтение изображений из буфера обмена, чтение/установка текста, клик, ввод, отправка сырых сообщений, показать/скрыть/свернуть/развернуть, переместить/изменить размер, закрыть, фокус. screenshot/clipboard возвращают ImageContent по умолчанию (опция | ✅ |
CodeGraph | Полностью встроенный семантический граф кода: AST стандартной библиотеки Go плюс ленивый сжатый tree-sitter WASM для C/C++, Python, C#, Rust и Java. Добавляет идентичность объявлений/определений, цепочки возврата и распространение дженериков/алиасов, транзитивные include, калиброванные доказательства перегрузки, виртуальную/интерфейсную диспетчеризацию, рёбра макросов/обратных вызовов, происхождение условий сборки и мультикорневые рабочие области. Без компилятора, языкового сервера, внешних бинарников, вызовов LLM или затрат токенов | ✅ |
SetConfig | Изменение настроек времени выполнения (кодировка, лимит размера файла, симлинки, рабочая область и т.д.) | ✅ |
Help | Встроенное руководство по использованию для агентов (кодировка, отступы, устранение неполадок) | ✅ |
Ключевые улучшения
Умные отступы
LLM обычно выводят пробелы, но во многих проектах используются табуляции. AgentTool автоматически преобразует отступы в соответствии с существующим стилем файла.
Читает
.editorconfigдляindent_styleиindent_sizeВ качестве запасного варианта использует определение по содержимому (первые 100 строк)
Защищает устаревшие файлы: не выполняет преобразование, если фактическое содержимое противоречит
.editorconfig
Сохранение кодировки
Правки сохраняют исходную кодировку файла, а не принудительно используют UTF-8.
Приоритет определения: BOM → charset из
.editorconfig→ UTF-16 без BOM → корректный UTF-8 → автоопределение chardet → запасная кодировкаПоддерживаемые: UTF-8, UTF-8 BOM, EUC-KR, Shift-JIS, ISO-8859-1, UTF-16 (LE/BE, с BOM и без), и другие
Без ложных предупреждений об ASCII: корректный UTF-8 проверяется напрямую, поэтому обычные ASCII-файлы никогда не вызывают предупреждение о низкой достоверности
Переводы строк: определяет LF, CRLF, CR и смешанные файлы.
editсопоставляет многострочныйold_stringнезависимо от того, использует ли файл CRLF или LF, включая файлы со смешанными переводами строк, а текст, вставленный черезedit/regexreplace, следует стилю перевода строк той области, в которую попадает, поэтому остальная часть файла остаётся побайтово идентичной
Экономные по токенам списки каталогов
listdir по умолчанию возвращает 500 записей на страницу и возвращает next_cursor, когда доступны дополнительные записи. Сузьте результаты с помощью directories_only, files_only, name_pattern (например, A*) или нескольких OR-шаблонов в include. Используйте counts_only=true, когда нужны только количества соответствующих файлов/каталогов.
Освобождение памяти в простое
После 30 минут без вызова инструментов сервер возвращает свою кучу (heap) операционной системе. stdio MCP-сервер не может отличить покинутого клиента от просто молчащего — процесс, который его запустил, может быть жив, уже закончил работу с ним и всё ещё удерживает pipe открытым, поэтому EOF никогда не наступает, — а завершение на основе такой догадки разорвало бы сессию, которая лишь приостановлена. Освобождение памяти — безопасная половина этой сделки: экземпляр, однажды прочитавший файл на 50MB, возвращается к своему базовому уровню ~20MB вместо того, чтобы удерживать 200MB всё время работы машины. Открытые shell и ssh сессии сохраняются, и ничто из того, что клиент может наблюдать, не меняется.
Быстрый старт
Скачайте бинарный файл для вашей ОС из Releases
Выполните
agent-tool install(илиagent-tool install claudeдля конкретного агента)Перезапустите вашу IDE / агента
Готово — компактные основные инструменты доступны сразу;
toolboxописывает и вызывает все остальные инструменты по требованию
Или просто попросите вашего ИИ-агента сделать это за вас:
"Скачайте agent-tool с https://github.com/knewstimek/agent-tool/releases/latest и выполните
agent-tool install"
Любой способный ИИ-агент для написания кода (Claude Code, Codex и т. д.) может автоматически выполнить весь процесс загрузка → установка → перезапуск.
Рекомендуется: укажите агенту предпочитать agent-tool
После установки агенты получат доступ к agent-tool, но по-прежнему могут по умолчанию использовать встроенные инструменты (Read, Edit и т. д.). Чтобы агенты предпочитали учитывающие кодировку и интеллектуально работающие с отступами инструменты agent-tool, добавьте одну из приведённых ниже инструкций.
Совет по навигации по коду: для крупных проектов добавьте это в CLAUDE.md / AGENTS.md, чтобы включить навигацию по коду на основе AST:
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.Выберите Strict или Soft:
Режим | Когда использовать | Инструкция |
Strict | Проекты с файлами не в UTF-8 или со смешанными отступами |
|
Soft | Обычные проекты |
|
Куда добавить:
Для конкретного проекта — добавьте в CLAUDE.md вашего проекта:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Глобально (все проекты) — добавьте в ~/.claude/CLAUDE.md:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Жёсткое принуждение — запретите встроенные файловые инструменты на уровне разрешений через ~/.claude/settings.json:
{
"permissions": {
"deny": ["Read", "Edit", "MultiEdit", "Write", "Glob", "Grep"]
}
}Это делает встроенные файловые инструменты Claude Code недоступными, поэтому агент вынужден использовать agent-tool. Рекомендуется, когда нужно строгое принуждение без опоры на инструкции в промпте.
Добавьте в
~/.codex/config.toml(на верхнем уровне, не внутри[mcp_servers.*]):
model_instructions_file = "~/.codex/model_instructions.md"Создайте
~/.codex/model_instructions.md:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Перезапустите Codex.
Для конкретного проекта — вместо этого добавьте в AGENTS.md вашего проекта.
Добавьте в .cursorrules, .windsurfrules или AGENTS.md вашего проекта:
ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.Установка
Автоустановка (рекомендуется)
# 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 agentУровни разрешений при установке:
Уровень | Флаг | Автоматически одобряемые инструменты |
Полный (по умолчанию) | (нет) | Все инструменты (подстановочный шаблон |
Безопасный |
| 29 локальных инструментов (read, edit, write, grep, glob и т. д.) — без SSH, HTTP, DB, bash и управления процессами |
Нет |
| Никакие инструменты — каждый вызов требует ручного одобрения |
Уровень одобрения не зависит от профиля схемы: установка может одобрить всё пространство имён, пока сервер всё ещё запускается с экономным по токенам профилем core. toolbox намеренно не одобряется автоматически через --safe-approve, поскольку его шлюз operation=call может вызывать сетевые инструменты, shell-инструменты, инструменты баз данных и управления процессами. Пользователям безопасного режима следует проверять каждое одобрение toolbox и избегать предоставления ему постоянного правила разрешения, если они не намерены доверять всему пространству имён AgentTool.
Ручная настройка
Claude Code / Cursor / Cline (settings.json или mcp.json):
{
"mcpServers": {
"agent-tool": {
"command": "/path/to/agent-tool"
}
}
}Codex CLI (~/.codex/config.toml):
[mcp_servers.agent-tool]
command = "/path/to/agent-tool"Параметры
# Select the initial schema profile (default: core)
agent-tool --profile coding
# Set fallback encoding for projects with non-UTF-8 files
agent-tool --fallback-encoding EUC-KRПрофили — это аддитивные пресеты: core (11 схем), coding (core плюс более широкие файловые/сборочные/shell инструменты), remote, analysis и full. Во время выполнения предпочитайте независимый от клиента шлюз toolbox: operation=describe возвращает схему одного инструмента (compact=true вместе с tool_operation ограничивает её одной операцией), а operation=call вызывает его через стабильную привязку toolbox. Повторно отправьте полученный schema_handle, чтобы не получать снова неизменённую схему. Когда диагностика команд сжимается, operation=output получает ограниченный необработанный вывод по указанному ID в течение 30 минут и сообщает next_offset, когда требуется постраничный переход. enable, disable и profile остаются доступны для клиентов, поддерживающих tools/list_changed; клиенты с фиксированной привязкой могут всегда продолжать использовать шлюз.
Переменная окружения
Задайте AGENT_TOOL_FALLBACK_ENCODING и/или AGENT_TOOL_PROFILE, чтобы не повторять флаги CLI:
# 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=codingПриоритет: флаг CLI > переменная окружения > значение по умолчанию (UTF-8).
Локальные профили подключений SSH/SFTP
SSH и SFTP принимают либо connection_profile, либо локальный для сессии connection_id, поэтому поля host, user, key и jump-host не нужно повторять. Профили читаются из каталога конфигурации пользователя ОС по пути agent-tool/connections.json; переопределите расположение с помощью AGENT_TOOL_CONNECTION_PROFILE_FILE. Храните этот файл локально и явно игнорируйте его, если он помещён внутри рабочей области.
{
"connections": {
"dev": {
"host": "192.0.2.10",
"user": "builder",
"key_file": "/local/path/to/id_ed25519",
"host_key_check": "strict",
"trusted": true
}
}
}Первый вызов возвращает непрозрачный connection_id, который остаётся пригодным для повторного использования обоими инструментами в течение 30 минут. trusted:true влияет только на отображение: предупреждение о разрешённом частном адресе показывается один раз для объединённого подключения, а не при каждом вызове; блокировка SSRF и защита метаданных облака не меняются. SSH также поддерживает quiet, echo_command и result_only; последний возвращает компактный JSON с фокусом на stdout, stderr и exit_code. SFTP поддерживает quiet, result_only и upload_many (до 100 файлов).
Конфигурация во время выполнения
Агенты могут изменять настройки во время выполнения через set_config без перезапуска:
Параметр | Описание | По умолчанию |
| Запасная кодировка, когда автоопределение не срабатывает |
|
| Показывать предупреждения об определении кодировки |
|
| Максимальный размер файла для read/edit/grep (МБ) |
|
| Разрешить извлечение симлинков из tar-архивов |
|
| Явный корень локальной рабочей области. В противном случае используется первый корень MCP-клиента, затем cwd | (корень MCP/cwd) |
| Разрешить webfetch/download/httpreq доступ к частным IP-адресам |
|
| Разрешить инструменту mysql доступ к частным IP-адресам |
|
| Разрешить инструменту redis доступ к частным IP-адресам |
|
| Разрешить инструментам ssh/sftp доступ к частным IP-адресам |
|
| Включить DNS over HTTPS глобально (webfetch/download/httpreq/dnslookup) |
|
| Включить Encrypted Client Hello глобально (webfetch/download/httpreq) |
|
Сборка
go build -trimpath -ldflags="-s -w" -o agent-tool .Кросс-компиляция:
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 .Устранение неполадок
Нечитаемый текст (проблемы с кодировкой)
Если корейский, японский или другой не-ASCII текст отображается в виде нечитаемых символов:
Вариант 1: добавьте charset в ваш .editorconfig:
[*]
charset = euc-krВариант 2: задайте переменную окружения (постоянно):
setx AGENT_TOOL_FALLBACK_ENCODING EUC-KR # Windows
export AGENT_TOOL_FALLBACK_ENCODING=EUC-KR # LinuxВариант 3: флаг CLI (на сессию):
agent-tool --fallback-encoding EUC-KRВстроенная справка для агентов
agent-tool включает инструмент agent_tool_help, который агенты могут вызывать для получения руководства по использованию. Когда агент сталкивается с предупреждениями о кодировке или нечитаемым текстом, он может вызвать:
{ "tool": "agent_tool_help", "arguments": { "topic": "encoding" } }Доступные темы: overview, encoding, indentation, tools, troubleshooting
Безопасность
agent-tool предоставляет мощный доступ к системе (SSH, MySQL, Redis, файловые операции, HTTP-запросы). При использовании с ИИ-агентами для написания кода помните о рисках промпт-инъекций:
Защита от SSRF: IP-адреса метаданных облака (169.254.x.x, fe80::/10) всегда блокируются независимо от настроек. Доступ к приватным IP-адресам настраивается отдельно для каждого протокола через
set_config(allow_http_private,allow_mysql_private,allow_redis_private,allow_ssh_private)DLP (предотвращение утечек данных): Все исходящие тела HTTP-запросов сканируются на предмет паттернов конфиденциальных данных (приватные ключи PEM, ключи доступа AWS, токены GitHub/GitLab, токены Slack, дампы .env-файлов) и блокируются до передачи
Предупреждения о промпт-инъекциях: Каждое подключение к приватному IP-адресу показывает предупреждение о безопасности, видимое и пользователю, и ИИ-агенту, помогая обнаруживать атаки промпт-инъекций из загруженного веб-контента
Защита от Zip Slip: Записи архивов с обходом пути
../блокируются (как zip, так и tar)Защита от Zip Bomb: Лимит одного файла (1GB), общий лимит извлечения (5GB)
Символические ссылки: По умолчанию пропускаются. Включаются через
set_config allow_symlinks=true(только для tar; символические ссылки в zip пропускаются всегда). Даже при включении символические ссылки, ведущие за пределы выходного каталога, блокируютсяЛимит размера файла: Настраиваемый максимальный размер файла (по умолчанию 100MB) предотвращает нехватку памяти (OOM) на больших файлах. Регулируется через
set_config max_file_size_mb=NБезопасность кодировок: chardet использует выборку размером 64KB (не весь файл) для эффективного использования памяти
Для максимальной безопасности проверяйте вызовы инструментов ИИ-агента перед одобрением, особенно команды SSH, HTTP-запросы к внешним URL и запросы к базам данных.
Технологический стек
Язык: Go
Кодировки: saintfish/chardet + golang.org/x/text
Распространение: один бинарный файл (кросс-компилируемый)
Лицензия
Available Tools
11 toolsagent_tool_help
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, troubleshooting. Empty = overview |
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.
1 tool update
v1.0.2- Changed
agent_tool_help1 field changed- changed
Input schema / properties / topic / descriptionPrevious value: -"Help topic. Available: overview, encoding, indentation, tools, debug, analyze, memtool, wintool, codegraph, ipc, troubleshooting. Empty = overview"New value: +"Help topic. Available: overview, encoding, indentation, tools, debug, analyze, memtool, wintool, codegraph, troubleshooting. Empty = overview"
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
edit/multiedit/patch and read/multiread are closely related, but the descriptions clearly distinguish single-vs-multiple edits, direct reading, and unified-diff application. glob, grep, and listdir have distinct search/listing roles, while toolbox/help are recognizably meta tools.
Most tool names are lowercase single tokens, and multiedit/multiread follow a consistent compound pattern, but agent_tool_help uses underscored prefixed naming and listdir is not separated as list_dir. There is no clear verb_noun convention, though the set remains readable.
11 tools is well-scoped for a file/coding-agent MCP. The core file operations are joined by useful multi-file and meta-discovery helpers, with no excessive tool count.
The surface covers reading, writing, editing, patching, searching, listing, and multi-file operations. It lacks explicit delete, rename, or move tools, which is a minor gap for full file lifecycle coverage.
Maintenance
Related MCP Connectors
Shared control plane for AI coding agents — tasks, memory, decisions, file locks. 12 tools.
13 free utility tools for AI agents: web text, markdown, hashing, IDs, dates, units, JSON.
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
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.9 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.11 npm2MIT
- AlicenseAqualityDmaintenanceEnables AI agents to autonomously navigate a codebase by listing directories, reading files, searching code, and running whitelisted commands.57 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.-