Skip to main content
Glama

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 символов, сообщает об усечении и точном next_offset, безопасно обрабатывает очень длинные строки, опциональный SHA-256. Гибкий offset и поддержка MCP ImageContent

✅

Write

Создание/перезапись файлов с учётом кодировки

✅

Grep

Регулярный поиск с учётом кодировки, бюджет вывода 32K, компактный вывод, сгруппированный по файлам, относительные пути, фильтрация .gitignore/сгенерированных каталогов, определение бинарных файлов, режимы/контекст вывода и детерминированная постраничная навигация next_cursor без повторных совпадений

✅

Glob

Отсортированное ограниченное сопоставление файлов с **, относительные пути, фильтрация сгенерированных каталогов, явный has_more и детерминированная постраничная навигация по курсору

✅

ListDir

Ограниченный/постраничный список каталога. max_entries + курсор продолжения, фильтры каталогов/файлов, glob-фильтры имён записей, режим только количества, плоский/древовидный вывод

✅

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, исходными счётчиками байтов, корректными ошибками ненулевого выхода и фоновыми заданиями (start/status/tail/cancel). Пул с учётом аутентификации, проверка ключей хоста, ProxyJump, IPv6

✅

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-ключами (BRAVE_SEARCH_API_KEY или NAVER_CLIENT_ID/NAVER_CLIENT_SECRET). Автовыбор движка, Brave предпочтителен

✅

Download

Скачивание файлов с URL на диск. ECH + DoH по умолчанию. Защита SSRF. HTTP/SOCKS5 прокси. Атомарная запись. Максимум 2 ГБ

✅

HTTPReq

Выполнение HTTP-запросов любым методом (GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS). Тестирование API с пользовательскими заголовками, телом, прокси. Защита SSRF

✅

JSONQuery

Запросы к JSON-файлам с путями в точечной нотации (например, dependencies.react, items[*].id). Извлечение конкретных значений без загрузки всего файла в контекст

✅

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+ языков, разбивка по файлам/языкам, статистика пустых строк, контроль max_depth

✅

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 — поиск/фильтрация/чтение/запись значений памяти, read_chain (разрешение цепочек указателей base+offset, пакетно за один вызов), живое дизассемблирование (x86/x64/ARM/ARM64), отмена, поиск структурных шаблонов, сканирование указателей, diff памяти. Снимки на диске для больших сканирований. Управление сессиями с таймаутом простоя. Windows (ReadProcessMemory) и Linux (/proc/pid/mem). Windows автоматически включает SeDebugPrivilege при повышении прав; опциональный force_dacl обходит самозащищённый DACL процесса того же пользователя (оригинал восстанавливается после)

✅

IPC

Межпроцессное взаимодействие между сессиями AI-агентов через TCP. Обмен сообщениями 1:1 с блокирующим приёмом. Протокол: [2-байтовый тип][4-байтовая длина][полезная нагрузка]. Операции: send, receive (блокирующий с таймаутом), ping. Работает между машинами. Максимум 1 МБ сообщение, таймаут 300 с

✅

Wintool

Автоматизация GUI Windows — поиск/перечисление окон и дочерних элементов управления, захват скриншотов (ImageContent PNG через PrintWindow), чтение изображений из буфера обмена, чтение/установка текста, клик, ввод, отправка сырых сообщений, показать/скрыть/свернуть/развернуть, переместить/изменить размер, закрыть, фокус. screenshot/clipboard возвращают ImageContent по умолчанию (опция save_path для вывода в файл). Позволяет AI-агентам «видеть» и взаимодействовать с GUI-приложениями. Только Windows

✅

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 сессии сохраняются, и ничто из того, что клиент может наблюдать, не меняется.

Быстрый старт

  1. Скачайте бинарный файл для вашей ОС из Releases

  2. Выполните agent-tool install (или agent-tool install claude для конкретного агента)

  3. Перезапустите вашу IDE / агента

  4. Готово — компактные основные инструменты доступны сразу; 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 или со смешанными отступами

ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools. agent-tool preserves file encoding and respects .editorconfig indentation settings.

Soft

Обычные проекты

Prefer agent-tool MCP tools (mcp__agent-tool__*) over built-in file tools when available.

Куда добавить:

Для конкретного проекта — добавьте в 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. Рекомендуется, когда нужно строгое принуждение без опоры на инструкции в промпте.

  1. Добавьте в ~/.codex/config.toml (на верхнем уровне, не внутри [mcp_servers.*]):

model_instructions_file = "~/.codex/model_instructions.md"
  1. Создайте ~/.codex/model_instructions.md:

ALWAYS use agent-tool MCP tools (mcp__agent-tool__*) instead of built-in file tools.
  1. Перезапустите 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

Уровни разрешений при установке:

Уровень

Флаг

Автоматически одобряемые инструменты

Полный (по умолчанию)

(нет)

Все инструменты (подстановочный шаблон mcp__agent-tool__*)

Безопасный

--safe-approve

29 локальных инструментов (read, edit, write, grep, glob и т. д.) — без SSH, HTTP, DB, bash и управления процессами

Нет

--no-auto-approve

Никакие инструменты — каждый вызов требует ручного одобрения

Уровень одобрения не зависит от профиля схемы: установка может одобрить всё пространство имён, пока сервер всё ещё запускается с экономным по токенам профилем 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 без перезапуска:

Параметр

Описание

По умолчанию

fallback_encoding

Запасная кодировка, когда автоопределение не срабатывает

UTF-8

encoding_warnings

Показывать предупреждения об определении кодировки

true

max_file_size_mb

Максимальный размер файла для read/edit/grep (МБ)

100

allow_symlinks

Разрешить извлечение симлинков из tar-архивов

false

workspace

Явный корень локальной рабочей области. В противном случае используется первый корень MCP-клиента, затем cwd

(корень MCP/cwd)

allow_http_private

Разрешить webfetch/download/httpreq доступ к частным IP-адресам

false

allow_mysql_private

Разрешить инструменту mysql доступ к частным IP-адресам

true

allow_redis_private

Разрешить инструменту redis доступ к частным IP-адресам

true

allow_ssh_private

Разрешить инструментам ssh/sftp доступ к частным IP-адресам

true

enable_doh

Включить DNS over HTTPS глобально (webfetch/download/httpreq/dnslookup)

true

enable_ech

Включить Encrypted Client Hello глобально (webfetch/download/httpreq)

true

Сборка

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

  • MCP SDK: github.com/modelcontextprotocol/go-sdk

  • Кодировки: saintfish/chardet + golang.org/x/text

  • Распространение: один бинарный файл (кросс-компилируемый)

Лицензия

MIT

Available Tools

11 tools
agent_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.

ParametersJSON Schema
NameRequiredDescriptionDefault
topicNoHelp 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNoAlias for file_path
dry_runNoPreview only; default false
file_pathNoFile path; relative to workspace/MCP root
new_stringNoReplacement text; must differ from old_string
old_stringNoExact text to find in the file
new_contentNoAlias for new_string
old_contentNoAlias for old_string
replace_allNoReplace every match; default false
indent_styleNotabs or spaces-N; default auto-detect
expected_hashNoExpected SHA-256; mismatch rejects edit

TDQS

A3.7/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNoDirectory to search. Defaults to configured workspace, MCP client root, or current directory
limitNoMaximum paths returned per page. Default: 200, Max: 5000
cursorNoOpaque continuation cursor returned by a previous glob call
patternYesGlob pattern to match files (e.g. **/*.go or src/**/*.ts)
include_hiddenNoTraverse hidden directories. Explicit hidden roots are always searched. Default: false
relative_pathsNoReturn paths relative to the search directory. Default: true
include_ignoredNoInclude paths excluded by .gitignore/.ignore or the common generated/vendor policy. Default: false
max_output_charsNoMaximum returned text characters. Default: 32768, Max: 131072

TDQS

A4.4/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
globNoDirectory file filter, e.g. *.go
pathNoFile or directory; defaults to workspace/MCP root/CWD
afterNoLines after; overrides context
beforeNoLines before; overrides context
cursorNoContinuation cursor; incompatible with context lines
contextNoLines before/after; max 1000
patternYesRegular expression
file_pathNoAlias for path
recursiveNoRecurse; default true
ignore_caseNoIgnore case
max_resultsNoMatches per page; default 100, max 100000
output_modeNocontent (default), files_with_matches, or count
output_formatNocompact (default) or classic path:line:text
include_hiddenNoInclude hidden directories
max_line_charsNoPer-line cap; default 4000, max 32768
relative_pathsNoPaths relative to root; directory default true
include_ignoredNoInclude ignored/generated/vendor paths
max_output_charsNoOutput cap; default 32768, max 131072

TDQS

A4/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
flatNoFlat listing without tree connectors (one path per line). Default: true
pathNoDirectory to list. Relative paths use the configured workspace or MCP client root
cursorNoOpaque continuation cursor returned by a previous listdir call
includeNoAdditional entry-name glob patterns. An entry is included when any pattern matches
file_pathNoAlias for path
max_depthNoMaximum depth for traversal. Default: 3
files_onlyNoReturn files only: true or false. Default: false
counts_onlyNoReturn matching directory/file counts without listing names: true or false. Default: false
max_entriesNoMaximum entries to return per page. Default: 500, maximum: 10000
name_patternNoGlob matched against each entry name, for example A* or *.go
relative_pathsNoShow paths relative to the root. Saves tokens: true or false. Default: false
directories_onlyNoReturn directories only while still traversing them: true or false. Default: false

TDQS

A4.2/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNoAlias for file_path
editsYesOrdered list of replacements to apply sequentially
dry_runNoPreview changes without modifying the file: true or false. Default: false
file_pathNoFile to edit. Relative paths use the configured workspace or MCP client root

TDQS

A4.7/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
allNoRemove the default per-file line limit. The total character budget still applies. Default: false
filesNoPer-file read ranges. Each entry has path, offset, limit. Takes priority over file_paths
limitNoMaximum lines per file. Default: 200. Set 0 or all=true to remove the line limit
pathsNoCompatibility alias for file_paths; prefer file_paths
offsetNoLine number to start from (1-based, negative = from end). Default: 1
file_pathsNoFile paths to read. All files use the global offset/limit. Use files for per-file ranges
include_hashNoInclude per-file SHA-256 hashes. Default: false
max_line_charsNoMaximum characters returned from one line. Default: 4000, Max: 32768
max_output_charsNoMaximum total returned text characters across all files. Default: 32768, Max: 131072

TDQS

A4.7/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNoAlias for file_path
patchYesUnified diff text (output of the diff tool)
dry_runNoPreview patch result without modifying the file: true or false. Default: false
file_pathNoFile to patch. Relative paths use the configured workspace or MCP client root

TDQS

A3.6/5.0
Behavior1/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
allNoDisable line cap; character cap remains
pathNoAlias for file_path
limitNoLine limit; default 400. Use 0 or all=true for no line cap
offsetNoStart line: 1-based integer, negative from end, 'start-end', or [start,end]; default 1
end_lineNoInclusive end with start_line
file_pathNoAbsolute or workspace/MCP-root-relative file path
start_lineNoAlias for offset
include_hashNoInclude SHA-256; default true
max_line_charsNoPer-line character cap; default 4000, max 32768
max_output_charsNoOutput character cap; default 32768, max 131072

TDQS

A3.9/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
toolNoTarget tool for describe/call
toolsNoTool names for enable/disable
groupsNoGroups for enable/disable: core, file, coding, system, remote, data, analysis, windows
compactNoReturn a reduced describe schema
profileNoProfile to add; core-lite, core, coding, remote, analysis, or full. core-lite is smallest at startup
argumentsNoTarget arguments for call; describe first if unknown
operationNolist (default), describe, call, output, enable, disable, or profile
output_idNoRaw output ID for output
output_offsetNoOutput character offset; default 0
schema_handleNoPrior handle; short acknowledgement if unchanged
tool_operationNoOperation-specific compact schema, e.g. execute
output_max_charsNoOutput character limit; default 32768, max 130048

TDQS

C2.9/5.0
Behavior3/5

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.

Conciseness2/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose3/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNoAlias for file_path
contentYesContent to write to the file
file_pathNoFile path; relative to workspace/MCP root

TDQS

A4/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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. 1 tool updatev1.0.2
    • Changedagent_tool_help1 field changed
      • changedInput schema / properties / topic / description
        Previous 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"
  2. 6 tool updatesv0.9.7
    • Changededit6 fields changed
      • changedInput schema / properties / dry_run / description
        Previous value: -"Preview changes without modifying the file: true or false. Default: false"New value: +"Preview only; default false"
      • changedInput schema / properties / expected_hash / description
        Previous 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"
      • changedInput schema / properties / file_path / description
        Previous value: -"File to edit. Relative paths use the configured workspace or MCP client root"New value: +"File path; relative to workspace/MCP root"
      • changedInput schema / properties / indent_style / description
        Previous 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"
      • changedInput schema / properties / new_string / description
        Previous value: -"Replacement text (must differ from old_string)"New value: +"Replacement text; must differ from old_string"
      • changedInput schema / properties / replace_all / description
        Previous value: -"Replace all occurrences instead of just the first: true or false. Default: false"New value: +"Replace every match; default false"
    • Changedglob1 field changed
      • changedInput schema / properties / include_ignored / description
        Previous 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"
    • Changedgrep17 fields changed
      • changedInput schema / properties / after / description
        Previous value: -"Lines after each match. Overrides context. Default: 0, Max: 1000"New value: +"Lines after; overrides context"
      • changedInput schema / properties / before / description
        Previous value: -"Lines before each match. Overrides context. Default: 0, Max: 1000"New value: +"Lines before; overrides context"
      • changedInput schema / properties / context / description
        Previous value: -"Lines before and after each match (like grep -C). Default: 0, Max: 1000"New value: +"Lines before/after; max 1000"
      • changedInput schema / properties / cursor / description
        Previous value: -"Opaque continuation cursor returned by a previous grep call. Not supported with context lines"New value: +"Continuation cursor; incompatible with context lines"
      • changedInput schema / properties / glob / description
        Previous value: -"Glob pattern to filter files (e.g. *.go). Only used when path is a directory"New value: +"Directory file filter, e.g. *.go"
      • changedInput schema / properties / ignore_case / description
        Previous value: -"Case-insensitive search. Default: false"New value: +"Ignore case"
      • changedInput schema / properties / include_hidden / description
        Previous value: -"Search hidden directories. Explicitly provided hidden roots are always searched. Default: false"New value: +"Include hidden directories"
      • changedInput schema / properties / include_ignored / description
        Previous value: -"Search common generated/vendor directories instead of skipping them. Default: false"New value: +"Include ignored/generated/vendor paths"
      • changedInput schema / properties / max_line_chars / description
        Previous value: -"Maximum characters per matching/context line. Default: 4000, Max: 32768"New value: +"Per-line cap; default 4000, max 32768"
      • changedInput schema / properties / max_output_chars / description
        Previous value: -"Maximum total result characters. Default: 32768, Max: 131072"New value: +"Output cap; default 32768, max 131072"
      • changedInput schema / properties / max_results / description
        Previous value: -"Maximum matching lines/files per page. Default: 100, Max: 100000"New value: +"Matches per page; default 100, max 100000"
      • changedInput schema / properties / output_format / description
        Previous 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"
      • changedInput schema / properties / output_mode / description
        Previous value: -"Output mode: content (default), files_with_matches, or count"New value: +"content (default), files_with_matches, or count"
      • changedInput schema / properties / path / description
        Previous 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"
      • changedInput schema / properties / pattern / description
        Previous value: -"Regular expression pattern to search for"New value: +"Regular expression"
      • changedInput schema / properties / recursive / description
        Previous value: -"Recurse into subdirectories. Default: true"New value: +"Recurse; default true"
      • changedInput schema / properties / relative_paths / description
        Previous value: -"Return paths relative to the search root. Default: true for directory searches"New value: +"Paths relative to root; directory default true"
    • Changedread11 fields changed
      • changedInput schema / properties / all / description
        Previous value: -"Remove the default line limit. The max_output_chars safety budget still applies. Default: false"New value: +"Disable line cap; character cap remains"
      • changedInput schema / properties / end_line / description
        Previous value: -"Inclusive end line used with start_line"New value: +"Inclusive end with start_line"
      • changedInput schema / properties / file_path / description
        Previous value: -"Absolute or workspace-relative path to the file to read"New value: +"Absolute or workspace/MCP-root-relative file path"
      • changedInput schema / properties / include_hash / description
        Previous value: -"Include SHA-256 for optimistic edit concurrency. Default: true"New value: +"Include SHA-256; default true"
      • changedInput schema / properties / limit / description
        Previous 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"
      • changedInput schema / properties / max_line_chars / description
        Previous value: -"Maximum characters returned from one line. Default: 4000, Max: 32768"New value: +"Per-line character cap; default 4000, max 32768"
      • changedInput schema / properties / max_output_chars / description
        Previous value: -"Maximum returned text characters. Default: 32768, Max: 131072"New value: +"Output character cap; default 32768, max 131072"
      • changedInput schema / properties / offset / description
        Previous 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"
      • addedInput schema / properties / offset / type
        Added value: +"integer"
      • changedInput schema / properties / path / description
        Previous value: -"Compatibility alias for file_path; prefer file_path"New value: +"Alias for file_path"
      • changedInput schema / properties / start_line / description
        Previous value: -"Compatibility alias for offset; prefer offset"New value: +"Alias for offset"
    • Changedtoolbox12 fields changed
      • changedInput schema / properties / arguments / description
        Previous 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"
      • changedInput schema / properties / compact / description
        Previous value: -"Return a reduced input schema: true or false. Pair with tool_operation for operation-specific fields"New value: +"Return a reduced describe schema"
      • changedInput schema / properties / groups / description
        Previous 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"
      • changedInput schema / properties / operation / description
        Previous 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"
      • changedInput schema / properties / output_id / description
        Previous value: -"Preserved raw command output ID for operation=output"New value: +"Raw output ID for output"
      • changedInput schema / properties / output_max_chars / description
        Previous value: -"Maximum raw-output characters returned by operation=output. Default: 32768, Max: 130048"New value: +"Output character limit; default 32768, max 130048"
      • changedInput schema / properties / output_offset / description
        Previous value: -"Character offset for operation=output paging. Default: 0"New value: +"Output character offset; default 0"
      • changedInput schema / properties / profile / description
        Previous 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"
      • changedInput schema / properties / schema_handle / description
        Previous value: -"Handle returned by an earlier describe; matching handles return only an unchanged acknowledgement"New value: +"Prior handle; short acknowledgement if unchanged"
      • changedInput schema / properties / tool / description
        Previous value: -"Single tool name for operation=describe or call"New value: +"Target tool for describe/call"
      • changedInput schema / properties / tool_operation / description
        Previous value: -"Target tool operation for compact describe, for example execute or upload"New value: +"Operation-specific compact schema, e.g. execute"
      • changedInput schema / properties / tools / description
        Previous value: -"Individual tool names to enable or disable"New value: +"Tool names for enable/disable"
    • Changedwrite1 field changed
      • changedInput schema / properties / file_path / description
        Previous value: -"File to write. Relative paths use the configured workspace or MCP client root"New value: +"File path; relative to workspace/MCP root"
  3. 1 tool updatev0.9.6
    • Changedtoolbox3 fields changed
      • addedInput schema / properties / compact
        Added value: +{
        +  "description": "Return a reduced input schema: true or false. Pair with tool_operation for operation-specific fields",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / schema_handle
        Added value: +{
        +  "description": "Handle returned by an earlier describe; matching handles return only an unchanged acknowledgement",
        +  "type": "string"
        +}
      • addedInput schema / properties / tool_operation
        Added value: +{
        +  "description": "Target tool operation for compact describe, for example execute or upload",
        +  "type": "string"
        +}
  4. 53 tool updatesv0.9.5
    • Removedanalyze
    • Removedbackup
    • Removedbash
    • Removedchecksum
    • Removedcodegraph
    • Removedcompress
    • Removedconvert_encoding
    • Removedcopy
    • Removeddebug
    • Removeddecompress
    • Removeddelete
    • Removeddiff
    • Removeddnslookup
    • Removeddownload
    • Changededit3 fields changed
      • addedInput schema / properties / dry_run / type
        Added value: +"boolean"
      • changedInput schema / properties / file_path / description
        Previous value: -"Absolute path to the file to edit"New value: +"File to edit. Relative paths use the configured workspace or MCP client root"
      • addedInput schema / properties / replace_all / type
        Added value: +"boolean"
    • Removedenvvar
    • Removedexternalip
    • Removedfile_info
    • Removedfind_tools
    • Removedfirewall
    • Changedglob8 fields changed
      • addedInput schema / properties / cursor
        Added value: +{
        +  "description": "Opaque continuation cursor returned by a previous glob call",
        +  "type": "string"
        +}
      • addedInput schema / properties / include_hidden
        Added value: +{
        +  "description": "Traverse hidden directories. Explicit hidden roots are always searched. Default: false",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / include_ignored
        Added value: +{
        +  "description": "Traverse generated/vendor directories such as node_modules, vendor, target, build, and dist. Default: false",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / limit
        Added value: +{
        +  "description": "Maximum paths returned per page. Default: 200, Max: 5000",
        +  "type": "integer"
        +}
      • addedInput schema / properties / max_output_chars
        Added value: +{
        +  "description": "Maximum returned text characters. Default: 32768, Max: 131072",
        +  "type": "integer"
        +}
      • changedInput schema / properties / path / description
        Previous 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"
      • changedInput schema / properties / relative_paths / description
        Previous 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"
      • addedInput schema / properties / relative_paths / type
        Added value: +[
        +  "null",
        +  "boolean"
        +]
    • Changedgrep21 fields changed
      • changedInput schema / properties / after / description
        Previous 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"
      • addedInput schema / properties / after / type
        Added value: +"integer"
      • changedInput schema / properties / before / description
        Previous 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"
      • addedInput schema / properties / before / type
        Added value: +"integer"
      • changedInput schema / properties / context / description
        Previous 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"
      • addedInput schema / properties / context / type
        Added value: +"integer"
      • addedInput schema / properties / cursor
        Added value: +{
        +  "description": "Opaque continuation cursor returned by a previous grep call. Not supported with context lines",
        +  "type": "string"
        +}
      • changedInput schema / properties / ignore_case / description
        Previous value: -"Case insensitive search: true or false. Default: false"New value: +"Case-insensitive search. Default: false"
      • addedInput schema / properties / ignore_case / type
        Added value: +"boolean"
      • addedInput schema / properties / include_hidden
        Added value: +{
        +  "description": "Search hidden directories. Explicitly provided hidden roots are always searched. Default: false",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / include_ignored
        Added value: +{
        +  "description": "Search common generated/vendor directories instead of skipping them. Default: false",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / max_line_chars
        Added value: +{
        +  "description": "Maximum characters per matching/context line. Default: 4000, Max: 32768",
        +  "type": "integer"
        +}
      • addedInput schema / properties / max_output_chars
        Added value: +{
        +  "description": "Maximum total result characters. Default: 32768, Max: 131072",
        +  "type": "integer"
        +}
      • changedInput schema / properties / max_results / description
        Previous value: -"Maximum number of matching lines/files to return. Default: 100"New value: +"Maximum matching lines/files per page. Default: 100, Max: 100000"
      • addedInput schema / properties / max_results / type
        Added value: +"integer"
      • addedInput schema / properties / output_format
        Added value: +{
        +  "description": "Content layout: compact (group matches by file, default) or classic (path:line:text on every line)",
        +  "type": "string"
        +}
      • changedInput schema / properties / output_mode / description
        Previous 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"
      • changedInput schema / properties / path / description
        Previous 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"
      • changedInput schema / properties / recursive / description
        Previous value: -"Recurse into subdirectories: true or false. Default: true"New value: +"Recurse into subdirectories. Default: true"
      • addedInput schema / properties / recursive / type
        Added value: +[
        +  "null",
        +  "boolean"
        +]
      • addedInput schema / properties / relative_paths
        Added value: +{
        +  "description": "Return paths relative to the search root. Default: true for directory searches",
        +  "type": [
        +    "null",
        +    "boolean"
        +  ]
        +}
    • Removedhttpreq
    • Removedipc
    • Removedjsonquery
    • Changedlistdir12 fields changed
      • addedInput schema / properties / counts_only
        Added value: +{
        +  "description": "Return matching directory/file counts without listing names: true or false. Default: false",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / cursor
        Added value: +{
        +  "description": "Opaque continuation cursor returned by a previous listdir call",
        +  "type": "string"
        +}
      • addedInput schema / properties / directories_only
        Added value: +{
        +  "description": "Return directories only while still traversing them: true or false. Default: false",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / files_only
        Added value: +{
        +  "description": "Return files only: true or false. Default: false",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / include
        Added value: +{
        +  "description": "Additional entry-name glob patterns. An entry is included when any pattern matches",
        +  "items": {
        +    "type": "string"
        +  },
        +  "type": [
        +    "null",
        +    "array"
        +  ]
        +}
      • changedInput schema / properties / max_depth / description
        Previous value: -"Maximum depth for tree traversal. Default: 3"New value: +"Maximum depth for traversal. Default: 3"
      • addedInput schema / properties / max_depth / type
        Added value: +"integer"
      • addedInput schema / properties / max_entries
        Added value: +{
        +  "description": "Maximum entries to return per page. Default: 500, maximum: 10000",
        +  "type": "integer"
        +}
      • addedInput schema / properties / name_pattern
        Added value: +{
        +  "description": "Glob matched against each entry name, for example A* or *.go",
        +  "type": "string"
        +}
      • changedInput schema / properties / path / description
        Previous value: -"Absolute path to the directory to list"New value: +"Directory to list. Relative paths use the configured workspace or MCP client root"
      • changedInput schema / properties / relative_paths / description
        Previous 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"
      • addedInput schema / properties / relative_paths / type
        Added value: +"boolean"
    • Removedmemtool
    • Removedmkdir
    • Changedmultiedit2 fields changed
      • addedInput schema / properties / dry_run / type
        Added value: +"boolean"
      • changedInput schema / properties / file_path / description
        Previous value: -"Absolute path to the file to edit"New value: +"File to edit. Relative paths use the configured workspace or MCP client root"
    • Changedmultiread14 fields changed
      • addedInput schema / properties / all
        Added value: +{
        +  "description": "Remove the default per-file line limit. The total character budget still applies. Default: false",
        +  "type": "boolean"
        +}
      • changedInput schema / properties / file_paths / description
        Previous 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"
      • changedInput schema / properties / files / items / properties / limit / description
        Previous value: -"Max lines to read. Default: 0 (all)"New value: +"Max lines to read. Default: 200. Set 0 to remove the line limit"
      • addedInput schema / properties / files / items / properties / limit / type
        Added value: +[
        +  "null",
        +  "integer"
        +]
      • addedInput schema / properties / files / items / properties / offset / type
        Added value: +[
        +  "null",
        +  "integer"
        +]
      • changedInput schema / properties / files / items / properties / path / description
        Previous value: -"Absolute file path"New value: +"Absolute or workspace-relative file path"
      • addedInput schema / properties / include_hash
        Added value: +{
        +  "description": "Include per-file SHA-256 hashes. Default: false",
        +  "type": "boolean"
        +}
      • changedInput schema / properties / limit / description
        Previous 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"
      • addedInput schema / properties / limit / type
        Added value: +[
        +  "null",
        +  "integer"
        +]
      • addedInput schema / properties / max_line_chars
        Added value: +{
        +  "description": "Maximum characters returned from one line. Default: 4000, Max: 32768",
        +  "type": "integer"
        +}
      • addedInput schema / properties / max_output_chars
        Added value: +{
        +  "description": "Maximum total returned text characters across all files. Default: 32768, Max: 131072",
        +  "type": "integer"
        +}
      • changedInput schema / properties / offset / description
        Previous 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"
      • addedInput schema / properties / offset / type
        Added value: +[
        +  "null",
        +  "integer"
        +]
      • changedInput schema / properties / paths / description
        Previous value: -"Alias for file_paths"New value: +"Compatibility alias for file_paths; prefer file_paths"
    • Removedmysql
    • Changedpatch2 fields changed
      • addedInput schema / properties / dry_run / type
        Added value: +"boolean"
      • changedInput schema / properties / file_path / description
        Previous value: -"Absolute path to the file to patch"New value: +"File to patch. Relative paths use the configured workspace or MCP client root"
    • Removedportcheck
    • Removedprocexec
    • Removedprockill
    • Removedproclist
    • Changedread13 fields changed
      • addedInput schema / properties / all
        Added value: +{
        +  "description": "Remove the default line limit. The max_output_chars safety budget still applies. Default: false",
        +  "type": "boolean"
        +}
      • changedInput schema / properties / end_line / description
        Previous 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"
      • addedInput schema / properties / end_line / type
        Added value: +[
        +  "null",
        +  "integer"
        +]
      • changedInput schema / properties / file_path / description
        Previous value: -"Absolute or relative path to the file to read"New value: +"Absolute or workspace-relative path to the file to read"
      • addedInput schema / properties / include_hash
        Added value: +{
        +  "description": "Include SHA-256 for optimistic edit concurrency. Default: true",
        +  "type": [
        +    "null",
        +    "boolean"
        +  ]
        +}
      • changedInput schema / properties / limit / description
        Previous 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"
      • addedInput schema / properties / limit / type
        Added value: +[
        +  "null",
        +  "integer"
        +]
      • addedInput schema / properties / max_line_chars
        Added value: +{
        +  "description": "Maximum characters returned from one line. Default: 4000, Max: 32768",
        +  "type": "integer"
        +}
      • addedInput schema / properties / max_output_chars
        Added value: +{
        +  "description": "Maximum returned text characters. Default: 32768, Max: 131072",
        +  "type": "integer"
        +}
      • changedInput schema / properties / offset / description
        Previous 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"
      • changedInput schema / properties / path / description
        Previous value: -"Alias for file_path"New value: +"Compatibility alias for file_path; prefer file_path"
      • changedInput schema / properties / start_line / description
        Previous value: -"Alias for offset (1-based line number to start reading from)"New value: +"Compatibility alias for offset; prefer offset"
      • addedInput schema / properties / start_line / type
        Added value: +[
        +  "null",
        +  "integer"
        +]
    • Removedredis
    • Removedregexreplace
    • Removedrename
    • Removedset_config
    • Removedsftp
    • Removedsloc
    • Removedssh
    • Removedsysinfo
    • Removedtlscheck
    • Removedtomlquery
    • Addedtoolbox
    • Removedwebfetch
    • Removedwebsearch
    • Removedwintool
    • Changedwrite1 field changed
      • changedInput schema / properties / file_path / description
        Previous value: -"Absolute path to the file to write"New value: +"File to write. Relative paths use the configured workspace or MCP client root"
    • Removedyamlquery
  5. 53 tool updatesv0.8.7
    • Addedagent_tool_help
    • Addedanalyze
    • Addedbackup
    • Addedbash
    • Addedchecksum
    • Addedcodegraph
    • Addedcompress
    • Addedconvert_encoding
    • Addedcopy
    • Addeddebug
    • Addeddecompress
    • Addeddelete
    • Addeddiff
    • Addeddnslookup
    • Addeddownload
    • Addededit
    • Addedenvvar
    • Addedexternalip
    • Addedfile_info
    • Addedfind_tools
    • Addedfirewall
    • Addedglob
    • Addedgrep
    • Addedhttpreq
    • Addedipc
    • Addedjsonquery
    • Addedlistdir
    • Addedmemtool
    • Addedmkdir
    • Addedmultiedit
    • Addedmultiread
    • Addedmysql
    • Addedpatch
    • Addedportcheck
    • Addedprocexec
    • Addedprockill
    • Addedproclist
    • Addedread
    • Addedredis
    • Addedregexreplace
    • Addedrename
    • Addedset_config
    • Addedsftp
    • Addedsloc
    • Addedssh
    • Addedsysinfo
    • Addedtlscheck
    • Addedtomlquery
    • Addedwebfetch
    • Addedwebsearch
    • Addedwintool
    • Addedwrite
    • Addedyamlquery

TDQS

A3.7/5.0

Scored across 11 tools

Disambiguation4/5

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.

Naming Consistency3/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityActive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers