VoltageInputMcp
VoltageInputMcp
MCP-сервер, который позволяет frontier-модели управлять компьютером со скоростью ввода, а не со скоростью вызова инструментов.
Проблема
Инструменты компьютерного использования совершают кругосветное путешествие к удалённой модели для каждого действия. Скриншот вверх, решение вниз, один клик. Это нормально для заполнения формы и бесполезно для всего, что требует последовательности вводов, доставляемых быстро — игра, работа с модальным диалогом, управление таймлайном, любой интерфейс, где третий ввод зависит от того, что первые два уже приземлились. Узкое место — не интеллект модели. Дело в том, что этот интеллект находится в 800 мс, а вводы должны быть с интервалом 8 мс.
Related MCP server: live-mcp
Форма ответа
Разделите принятие решений и выполнение, и поместите выполнение на ту же машину, что и клавиатуру.
┌─────────────────────────────────────────────────────────────────┐
│ Layer 1 — the orchestrator (Claude, or any MCP client) │
│ Writes a Playbook: states, what to look for, what is allowed, │
│ when to move on. Thinks once, up front. Watches and corrects. │
└───────────────────────────┬─────────────────────────────────────┘
│ MCP
┌───────────────────────────▼─────────────────────────────────────┐
│ Layer 2 — two small local models, on your GPU │
│ │
│ vision (Qwen2.5-VL-3B) "of these specific things, │
│ which are on screen, and where?" │
│ actuator (Qwen3-1.7B) "given that, which inputs?" │
│ │
│ Neither plans. Both answer one closed question per cycle. │
└───────────────────────────┬─────────────────────────────────────┘
│
┌───────────────────────────▼─────────────────────────────────────┐
│ safety governor → /dev/uinput → the actual desktop │
└─────────────────────────────────────────────────────────────────┘Оркестратор — это мозг. Малые модели — это руки. Руки не умны, и их никогда не просят быть умными.
Откуда на самом деле берётся скорость
Не от того, что малые модели быстрые — 3B VLM всё равно стоит ~300 мс. Она складывается из четырёх вещей, в порядке убывания влияния:
Всплески. Актюатор не выдаёт ввод. Он выдаёт всплеск: таймированную программу вводов, выполняемую выделенным исполнителем без модели в цикле.
g:0;c:l;w:150;t:"README.md";k:enter;w:80;k:ctrl+sЭто одно решение и семь вводов, охватывающих ~400 мс, запланированных с точностью до миллисекунды. Всплеск из 40 действий всё равно стоит одного решения. Скорость ввода задаётся всплеском, а не моделью.
Рефлексы. Правила, которые срабатывают от дешёвых экранных проб — один пиксель, среднее по области — за микросекунды, между решениями, вообще без модели.
{"id": "heal", "when": "probe('health') < 0.25", "do": "k:q;w:60", "cooldown_ms": 800}Пропуск восприятия. Большинство циклов смотрят на экран, который не изменился. Разница кадров за 40 мкс решает, тратить ли 300 мс на модель зрения или переиспользовать последнее наблюдение. В обычной работе на рабочем столе это пропускает VLM в большинстве циклов.
Локальность кэша подсказок. Подсказки упорядочены статически-сначала, чтобы llama.cpp переиспользовал KV-кэш и только пере-префилил изменённый хвост.
Почему малые модели надёжны, несмотря на свой размер
Потому что их не просят быть надёжными — их ограничивают.
Под llama.cpp обе модели генерируют с GBNF-грамматикой, которая перегенерируется каждый цикл из текущего состояния. Грамматика — не совет. Она маскирует логиты так, что достижимы только токены, продолжающие корректный разбор. Конкретно, актюатор не может:
выдать некорректный всплеск
назвать клавишу, которую запрещает политика — клавиши нет в грамматике
сослаться на элемент, который не был замечен — диапазон индексов строится из количества элементов этого цикла
предложить переход состояния, не объявленный в Playbook
А модель зрения не может выдумать имя элемента интерфейса: её словарь меток — это список watch, который вы написали, плюс небольшой общий набор. Так что проверка sees("address bar") сравнивает с закрытым словарём, а не с тем существительным, которое 3B-модель решила выдать.
Нет цикла повторов и нет защитного разбора JSON, потому что некорректный вывод не маловероятен — он непредставим.
Playbook
Вы не даёте малым моделям цель. Вы даёте им конечный автомат. Переходы — это guard-выражения, вычисляемые рантаймом, а не моделью.
{
"name": "open_downloads",
"goal": "Open the file manager at ~/Downloads. Delete nothing, confirm nothing.",
"initial": "launch",
"policy": {
"dry_run": true,
"allow_verbs": ["g", "c", "k", "t", "w"],
"deny_labels": ["delete", "trash", "confirm", "empty trash"]
},
"budget": { "max_cycles": 60, "max_seconds": 90 },
"states": {
"launch": {
"brief": "Open the application launcher and start the file manager.",
"watch": ["application launcher", "search field", "file manager icon"],
"on_enter": "k:meta;w:400",
"transitions": [
{ "when": "sees('search field')", "to": "type_name" },
{ "when": "cycles() > 6", "to": "@failure", "note": "launcher never opened" }
]
},
"navigate": {
"brief": "Focus the location bar with ctrl+l, type the path, press Enter.",
"watch": ["location bar", "file list", "error message"],
"on_enter": "k:ctrl+l;w:200",
"transitions": [
{ "when": "text('Downloads')", "to": "@success" },
{ "when": "sees('error message')", "to": "@failure" }
]
}
},
"success_when": "text('Downloads') and not flag('loading')"
}voltage_reference возвращает полный DSL, JSON-схему и таблицу guard-функций, так что оркестратор может написать свой, не читая этот репозиторий.
Настройка производительности
Все числа ниже измерены на эталонной машине (ноутбук RTX 3050 6 ГБ, Qwen2.5-VL-3B + Qwen3-1.7B под llama.cpp), а не выведены.
Обе модели ограничены декодированием. Выходные токены — единственный рычаг, который имеет значение.
Это было неожиданностью — изначально дизайн предполагал, что зрение ограничено префиллом, а это не так. Префилл измерен ~28 мс и плоский от 448×252 до 896×504. Декодирование идёт со скоростью ~22 мс/токен. Итак:
что | стоимость |
один выходной токен | ~22 мс |
один сообщённый элемент | ~21 токен ≈ 500 мс |
зрение, 2 элемента | ~1.0 с |
зрение, 4 элемента | ~2.2 с |
актюатор, кэшированный префикс | 140–400 мс в зависимости от длины заметки |
Три следствия, каждое из которых изменило значение по умолчанию:
max_elements— доминирующая стоимость зрения. По умолчанию 3. Повышение до 6 добавляет ~1.5 с на каждый воспринятый цикл. Установите его на число, которое ваши guard-ы реально проверяют.Уменьшение
downscale_toне помогает и обычно вредит. 448×252 измерено в 2.5× медленнее, чем 896×504 — более размытое изображение делает модель менее уверенной, поэтому она выдаёт больше токенов. Используйте наибольший размер, который помещается.Поле
noteактюатора стоило 55% его задержки. Оно чисто диагностическое, и при 48 символах измерено 412 мс/цикл против 184 мс при 12 символах и 140 мс при 0. Теперь по умолчанию 12.
Элементы кодируются как [label_index, x1, y1, x2, y2], а не как {"l":"address bar","b":[...],"c":0.9} по той же причине — измерено на 27–29% меньше токенов и на 32–41% ниже задержка. Индексация в закрытый словарь watch также безопаснее: модель вообще не может написать метку, не говоря уже о её опечатке.
Оценка GBNF выполняется на CPU один раз на каждый сэмплированный токен, поэтому актюатор получает больше потоков CPU, чем модель зрения, несмотря на полную выгрузку на GPU — и ограничение allow_keys — это оптимизация задержки, а не только безопасности.
Два параметра, которые молча ломаются, если заданы неверно:
GGML_CUDA_FA_ALL_QUANTS=ONпри сборке. Мы обслуживаем сq8_0KV-кэшем и flash attention. Без этого флага llama.cpp не компилирует ядра FA для этой комбинации KV и откатывается к медленному пути — без ошибки, просто загадочно плохие числа.scripts/build-llama.shустанавливает его.GGML_CUDA_ENABLE_UNIFIED_MEMORY=0во время выполнения. Если он1, переполнение VRAM молча выливается через PCIe вместо ошибки. Всё работает и в ~10× медленнее.serve.shпринудительно отключает его.
Измеряйте, а не гадайте:
.venv/bin/voltage benchОн гоняет оба бэкенда с точными формами подсказок, которые использует цикл, и сообщает задержку холодного vs. кэшированного префикса, мс на визуальный токен при трёх размерах входа и время цикла, которое они подразумевают. Ускорение кэша подсказок ниже ~1.5× означает, что что-то динамическое просочилось в префикс подсказки.
Сравнение моделей
Очевидный эксперимент — «какая модель пишет лучшие всплески» — измеряет не то. Грамматика уже гарантирует, что каждый всплеск корректен, так что большая модель не может выиграть по синтаксису. Что на самом деле определяет, пригодна ли конфигурация:
Точность привязки. Модель, которая на 200 мс быстрее и на 40 px мимо, бесполезна — клик промахивается. Измеряется как расстояние до центра в экранных пикселях, а не IoU, потому что клик попадает в центр.
Качество решений при ограничениях. При том же наблюдении выбирает ли она правильное допустимое действие, и связывает ли она целую последовательность в один всплеск, а не выдаёт одно робкое действие за цикл?
Задержка, которая имеет значение только после того, как 1 и 2 приемлемы.
.venv/bin/voltage fixture desktop # capture a real screen
.venv/bin/voltage compare # score whatever is running nowИстина берётся из реальных скриншотов, размеченных оркестрирующей моделью — это тот же эталон, который система использует во время выполнения. Синтетический интерфейс — ловушка: нарисованный прямоугольник не читается как кнопка для модели, обученной на реальных интерфейсах, так что оценка по нему измеряет не тот навык.
Результаты накапливаются между запусками, так что рабочий процесс: serve профиль A → compare → serve профиль B → compare → читайте таблицу. voltage compare --list печатает её без повторного запуска.
Фикстуры ваши и не коммитятся. Добавьте fixtures/ в .gitignore, если ваши скриншоты содержат что-то приватное.
Цикл обучения
Первый playbook для незнакомой цели почти никогда не бывает правильным. Важно, чтобы сбои были конкретными, и чтобы следующая попытка начиналась с того, что узнала предыдущая.
voltage_reference(section="loop") the loop itself, and what each failure means
voltage_reference(section="bursts") the burst cookbook: chaining, timing, game patterns
voltage_capture / voltage_observe look before writing — check your labels exist
voltage_validate_playbook dead guards, unreachable states, caught statically
voltage_run(dry_run=true) real models, real screen, nothing injected
voltage_diagnose(run_id) ← what to change, not raw data
voltage_learn(target=..., note=...) record it; persists across sessions
voltage_lessons(target=...) recall it before the next playbookvoltage_diagnose — это часть, которая превращает это в цикл. Он вычисляет то, что журнал подразумевает, но не утверждает, и называет правку для каждого. На застрявшем запуске Minecraft:
[BLOCKER] label_never_seen never reported: ['crosshair', 'health bar']
[BLOCKER] input_not_landing 14 bursts executed, but the screen never changed
[BLOCKER] state_never_left 'mine' ran 14 cycles and never transitioned
[PROBLEM] timid_bursts bursts averaged 1.0 actions
[HINT] vision_every_cycle vision ran on 100% of cyclesРазличие, для которого он существует: всплеск, который никогда не выполнялся, и всплеск, который выполнялся и ничего не сделал, выглядят одинаково в сводке и имеют несвязанные причины. Первое — это политика или грамматика. Второе — фокус окна, режим указателя или приложение, игнорирующее синтетический ввод. Diagnose разделяет их, проверяя, изменился ли кадр после выполнения.
Примените находку с наивысшей серьёзностью, перезапустите, снова диагностируйте. Одно изменение за раз — несколько сразу делают следующую диагностику неинтерпретируемой.
Уроки сохраняются между сессиями, привязанные к цели, так что второй playbook для игры начинается с координат проб и рабочих имён меток, которые обнаружил первый:
voltage_learn(target="minecraft", kind="label",
note="vision reports 'hotbar' reliably but never 'crosshair'")
voltage_learn(target="minecraft", kind="timing",
note="block placement needs w:100 after right click or it does not register")Безопасность
Генератор вводов — это модель 1.7B. Губернатор — это слой, который не является рекомендательным: каждый всплеск проходит через него, включая рефлекторные всплески и те, что вы написали сами.
dry_run— значение по умолчанию. Новый Playbook разбирает, проверяет и журналирует каждый всплеск, ничего не трогая.Отказ всего всплеска. Частичное выполнение задуманной последовательности хуже, чем её невыполнение.
deny_labelsотказывает в клике по чему-либо называемому Delete / Confirm / Purchase / Allow, где бы оно ни появилось — это ловит диалог, который всплывает в неожиданном месте.Ограничение регионов, белые списки клавиш, запрещённые аккорды (
ctrl+alt+delete,alt+f4), запрещённые текстовые шаблоны (rm -rf,sudo), ограничения размера всплеска и вводов в секунду.Четыре независимых остановки:
voltage stop(пишет файл — работает через SSH), таймер deadman, срабатывающий в отдельном потоке, если цикл застревает, физическое состязание за ввод (прикоснитесь к настоящей мыши — и он остановится), и бюджеты Playbook.Удерживаемые клавиши всегда отпускаются — при прерывании, при сбое, по таймауту. Прерванный запуск между
d:shiftиu:shiftне должен оставить Shift зажатым.
Установка
От ничего до работающего — две команды.
Linux / macOS
git clone https://github.com/casualkre/voltage-input-mcp && cd voltage-input-mcp && ./install.shWindows (PowerShell)
git clone https://github.com/casualkre/voltage-input-mcp; cd voltage-input-mcp; powershell -ExecutionPolicy Bypass -File .\install.ps1Затем, на любой из них:
voltage setupinstall.sh обрабатывает Python, системные пакеты, venv и ваш PATH, и печатает точные строки sudo для всего, что требует root, а не запрашивает его. Затем voltage setup определяет, что у вас уже есть, загружает только недостающее, запускает серверы моделей и регистрируется в вашем AI-клиенте — выполняя каждый шаг, а не описывая его. Десять-двадцать пять минут, почти всё — время загрузки. Безопасно повторять; он продолжает с того места, где остановился.
Затем просто запустите:
voltageSetup определяет, что у вас уже есть, и продолжает оттуда. Он не предполагает отправную точку: он проверяет вашу ОС, GPU, установлены ли llama.cpp или Ollama, какие модели уже загружены, работают ли ввод и захват, и зарегистрирован ли MCP-сервер — затем планирует только те шаги, которые реально остались, и говорит, какие требуют вашего решения, а какие он может просто сделать. Если у вас уже есть Ollama, он использует её. Если нет ни одного бэкенда, он объясняет компромисс в двух строках и позволяет выбрать.
Без аргументов открывается интерактивная консоль: живой статус, управляемая настройка, которая исправляет всё, что не готово, в порядке зависимостей, переключатель моделей, редактор конфигурации, регистрация в один клик с Claude Code и диагностика. Каждая подкоманда ниже по-прежнему работает неинтерактивно, так что скрипты и CI не затрагиваются.
██╗ ██╗ ██████╗ ██╗ ████████╗ █████╗ ██████╗ ███████╗
██║ ██║██╔═══██╗██║ ╚══██╔══╝██╔══██╗██╔════╝ ██╔════╝
██║ ██║██║ ██║██║ ██║ ███████║██║ ███╗█████╗
╚██╗ ██╔╝██║ ██║██║ ██║ ██╔══██║██║ ██║██╔══╝
╚████╔╝ ╚██████╔╝███████╗██║ ██║ ██║╚██████╔╝███████╗
╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
── status ──────────────────────────────────────────────
ok input device /dev/uinput
ok vision model http://127.0.0.1:8080
ok actuator model http://127.0.0.1:8081
ok mcp registered claude mcp list
ok voltage on PATH ~/.local/bin/voltageЭкспериментальные профили
Перечислены отдельно в voltage → models, каждый за предупреждением, которое вы должны принять. Они существуют, потому что измерения делают компромиссы предсказуемыми: декодирование доминирует при ~22 мс/токен и масштабируется с активными параметрами, так что уменьшение моделей действительно повышает частоту цикла. Цена — точность привязки.
profile | models | VRAM | trade |
| SmolVLM-500M + Qwen3-0.6B | ~2.2 GB | 3–4× скорость цикла, привязка почти не работает |
| Qwen2.5-VL-3B + Qwen3-0.6B | ~3.8 GB | более быстрые решения, привязка без изменений |
| Qwen2.5-VL-32B + Qwen3-14B | ~34 GB | лучшая привязка, 1–2.5 с/цикл |
| Qwen2.5-VL-32B + Qwen3-30B-A3B | ~43 GB | ёмкость 30B при скорости декодирования ~3B |
| 3B + 0.6B on CPU | none | работает без GPU, секунды на цикл |
Два стоит выделить:
hyper — опасный. SmolVLM-500M — не модель привязки. Она будет возвращать
боксы, и они будут часто ошибочными — а ошибочный бокс — это клик не в то место, а не
плавная деградация. Используйте её только там, где watch пуст (зонды и рефлексы выполняют
настоящую работу) или где каждый клик ограничен click_allow_regions и
require_target_element.
beefy_moe — интересный. Qwen3-30B-A3B — это смесь экспертов с ~3B
активными параметрами, поэтому он декодирует примерно со скоростью 3B, рассуждая с ёмкостью 30B —
а декодирование как раз и является узким местом этого цикла. Гораздо лучший исполнитель, чем плотный
14B при аналогичной задержке. Загвоздка в памяти: быстры только активные эксперты, а не
веса, поэтому все 30B всё равно должны находиться в памяти.
recommend() никогда не возвращает экспериментальный профиль, и тест это обеспечивает.
Пользовательские профили моделей
Встроенные профили покрывают машины, на которых это разрабатывалось, а не ваши. Добавьте свои
собственные через voltage → profiles или отредактировав profiles.toml рядом с вашим конфигом:
[my_rig]
description = "RTX 4090"
[my_rig.vision]
hf_repo = "ggml-org/Qwen2.5-VL-7B-Instruct-GGUF"
hf_file = "Qwen2.5-VL-7B-Instruct-Q4_K_M.gguf"
mmproj_file = "mmproj-Qwen2.5-VL-7B-Instruct-Q8_0.gguf"
params_b = 7.0
weights_mb = 4700
n_ctx = 4096
port = 8080
[my_rig.actuator]
hf_repo = "unsloth/Qwen3-4B-Instruct-2507-GGUF"
hf_file = "Qwen3-4B-Instruct-2507-Q4_K_M.gguf"
params_b = 4.0
weights_mb = 2500
port = 8081Пользовательские профили объединяются поверх встроенных по имени, поэтому назвав один lean, вы перенастраиваете
встроенный, не форкая пакет. Используйте ollama_tag вместо hf_repo/hf_file для
бэкенда Ollama.
Один слот придирчив, а другой нет. Зрение должно уметь выдавать привязанные ограничивающие рамки по запросу — Qwen2.5-VL, Qwen3-VL, InternVL, MiniCPM-V и UI-TARS все могут; обычный описатель красиво опишет ваш экран, но поместит рамки не туда. Исполнитель снисходителен: под грамматикой GBNF он выбирает из нескольких допустимых продолжений, поэтому почти любая компетентная инструктивная модель 1B+ подойдёт.
Команды оболочки против MCP-инструментов
Две разные поверхности, и их смешение — обычная первая ошибка:
invoked | looks like | |
команда оболочки | вводится в терминале, с пробелом |
|
MCP-инструмент | запрашивается у Claude, с подчёркиванием |
|
voltage_doctor — это имя инструмента в пространстве имён Claude, а не программа на диске. Ввод его в
терминале всегда скажет «неизвестная команда». Попросите Claude запустить его вместо этого.
Это проверяет доступ к /dev/uinput, устанавливает системные зависимости, создаёт venv и
выводит, чего не хватает. Затем:
./scripts/fetch-models.sh lean && ./scripts/serve.sh lean.venv/bin/voltage doctorПодключение к клиенту
voltage connectПоказывает, что настроено, живые URL, запущены ли модели и зарегистрирован ли сервер — затем даёт шаги копирования-вставки для каждого клиента с вашими реальными путями и окружением уже заполненными:
voltage connect --client claude-desktop
voltage connect --client cursor
voltage connect --json # just the mcpServers entryОхвачены: Claude Code, Claude Desktop, пользовательский коннектор claude.ai, Cursor, Windsurf, Zed
и универсальный блок mcpServers для всего остального. То же самое — экран 4 в
консоли voltage, который также может записать конфиг Claude Desktop за вас (сначала создав резервную копию
существующего файла и отказываясь трогать его, если это не валидный JSON).
Каждый сгенерированный конфиг явно несёт окружение сессии, потому что именно это
чаще всего ломается: сервер, зарегистрированный из оболочки без
DBUS_SESSION_BUS_ADDRESS, подключается успешно и молча слеп — ввод работает,
захват экрана — нет. voltage connect обнаруживает этот случай и сообщает об этом.
Добавление в качестве пользовательского коннектора
Клиентам, которые добавляют MCP-серверы по URL, нужен HTTP, а не stdio:
voltage serve --httpЗатем добавьте http://127.0.0.1:8765/mcp как пользовательский коннектор.
Привязка ограничена loopback, и для изменения этого требуется --allow-remote.
Это не шаблон: этот сервер существует, чтобы двигать мышь, нажимать клавиши и читать
экран, а у MCP нет собственной аутентификации. Привязка не к loopback публикует
неаутентифицированное удалённое управление вашим рабочим столом. Если вам действительно это нужно, поставьте
аутентифицирующий обратный прокси перед ним и понимайте, что тот, кто получит доступ к порту, владеет
машиной.
Запуск из MCP-клиента
MCP-клиенты запускают серверы с санированным окружением — PATH, HOME и немного
других. Это разумное значение по умолчанию, но оно ломает захват экрана, потому что для доступа к
композитору нужны DBUS_SESSION_BUS_ADDRESS и WAYLAND_DISPLAY. Инъекция ввода всё ещё
работает без них (uinput — это файл устройства, а не служба сессии), поэтому сбой выглядит
запутанно частичным: пакеты выполняются, скриншоты — нет.
Передайте их явно:
claude mcp add voltage-input \
-e WAYLAND_DISPLAY="$WAYLAND_DISPLAY" \
-e DISPLAY="$DISPLAY" \
-e DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" \
-e XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
-- /absolute/path/to/voltage-input-mcp/.venv/bin/voltage-input-mcpvoltage_doctor сообщает точно, каких из них не хватает, так что если захват не работает, это
первое место, куда стоит посмотреть.
Платформы
input | capture | text | |
Linux |
| portal→PipeWire, KWin DBus, grim, X11 | сканкоды, запасной вариант с буфером обмена для не-ASCII |
Windows |
| GDI |
|
Всё выше уровня ввода — планирование пакетов, тайминг, отслеживание удерживаемых клавиш, предохранительный
регулятор, вся среда выполнения — общее. Каждая платформа реализует пять методов
(key, button, move_abs, move_rel, scroll); см. inputs/sink.py.
Две асимметрии, о которых стоит знать:
Ввод текста более корректен на Windows.
KEYEVENTF_UNICODEдоставляет UTF-16 кодовую единицу без участия раскладки клавиатуры. Linux uinput отправляет сканкоды, поэтому пунктуация на не-US раскладке выходит неправильной — молча — именно поэтому там существует запасной вариант с буфером обмена, а на Windows он не нужен.Захват более функционален на Linux. GDI
BitBltне видит некоторые видео с аппаратным оверлеем и полноэкранные эксклюзивные игры; они захватываются чёрными. Запускайте такие игры в безрамочном оконном режиме.
На Windows SendInput не может управлять окнами, принадлежащими процессу с повышенными привилегиями (UIPI) — это
происходит молча, поэтому voltage doctor сообщает о состоянии ваших привилегий. Осведомлённость о DPI
объявляется при импорте; без неё каждая координата будет неверной на масштабированном дисплее.
Требования
Linux (любой сервер отображения) или Windows 10/11
Python 3.11+
GPU с ~5 ГБ свободной памяти для профиля
lean;voltage profilesпоказывает, что подходит для вашейllama.cpp для быстрого пути, или Ollama для более медленного пути без сборки
Проверено от начала до конца на KDE Plasma 6 / Wayland / CUDA / Python 3.14. Пути Windows реализованы и проверены типами, но не запускались на машине с Windows — относитесь к ним как к непротестированным и сообщайте о том, что ломается.
Оркестратору сообщается, какой сборкой он управляет
Один и тот же Playbook корректен на одной конфигурации и неверен на другой, а удалённая модель не может видеть, какой. Поэтому MCP-инструкции сервера собираются при запуске из живой конфигурации и содержат только строки, которые меняют то, как следует писать Playbook:
ACTIVE BUILD: Linux · llamacpp · profile lean
vision Qwen2.5-VL-3B-Instruct · actuator Qwen3-1.7B
loaded: Qwen2.5-VL-3B-Instruct-Q4_K_M.gguf / Qwen3-1.7B-Q4_K_M.gguf
expected cycle 280-700 ms
- llama.cpp backend: both models are grammar-constrained. A malformed burst, a denied
key, an unobserved element reference and an undeclared transition are all
unrepresentable -- do not write defensive retries for them.
- Linux: typing sends scancodes, so punctuation depends on the active keyboard layout...
- dry_run defaults to true...На Ollama эта первая строка становится предупреждением, что пакеты не ограничены. На hyper
она становится «не стройте состояния вокруг sees()». На Windows отмечается, что окна с повышенными привилегиями
недоступны, а ввод текста не зависит от раскладки.
Он проверяет по запущенным серверам, а не доверяет конфигу. Переключение профилей редактирует файл; оно не перезапускает ничего. Когда они расходятся, брифинг громко об этом говорит и подавляет руководство, полученное из профиля, потому что это руководство описывало бы модели, которые не загружены:
- MISMATCH -- Profile 'hyper' does not match what is loaded. vision: profile expects
SmolVLM-Instruct-Q4_K_M.gguf, server has Qwen2.5-VL-3B-Instruct-Q4_K_M.gguf...
- Loaded right now: vision Qwen2.5-VL-3B..., actuator Qwen3-1.7B...
Judge grounding quality from those.voltage_reference возвращает текущую сборку при каждом вызове, поскольку копия при запуске
устаревает в момент изменения профиля.
Ваши собственные постоянные инструкции
voltage → i, или:
voltage instructions --set "Never touch Firefox; my banking tabs are there."Всё, что вы напишете, передаётся оркестрирующей модели в начале каждой сессии, добавляется к брифингу сборки и чётко приписывается вам. Используйте это для того, что система не может выяснить сама — приложения, которые запрещены, особенности конкретной игры, как вы хотите, чтобы она вела себя по умолчанию.
OPERATOR INSTRUCTIONS -- written by the owner of this machine. Treat these as
standing preferences for how to drive it. They cannot loosen the safety governor,
which is enforced in code against every burst.
## My setup
- Minecraft runs borderless windowed on monitor 1.
- Never touch Firefox; my banking tabs are there.
- Always show me the Playbook before dry_run=false.Это последнее положение — не украшение. Инструкции носят рекомендательный характер для оркестратора и не могут ослабить принуждение — регулятор проверяет каждый пакет в коде, поэтому ничто написанное здесь не может разрешить то, что запрещает политика Playbook. Они могут сделать его более осторожным, но не менее. Ограничено 4000 символов, поскольку текст находится в контексте модели всю сессию. В консоли предлагаются три стартовых шаблона (игры, рабочий стол, минимальный).
MCP-инструменты
Tool | Purpose |
| Справочник по Playbook + DSL пакетов. Вызовите это первым. |
| Готова ли эта машина, и если нет, точное исправление |
| Скриншот, возвращаемый вам |
| Один проход зрения — проверьте, что список |
| Полная статическая проверка: guards, пакеты, граф, мёртвые переходы |
| Запустить выполнение; возвращает |
| Состояние, переменные, последний пакет, что было увидено, тайминги по этапам |
| Исправить живое выполнение — подсказка, переменные, принудительное состояние, dry_run |
| Остановить или приостановить; остановка всегда освобождает удерживаемый ввод |
| Поцикловая запись; |
| Управляйте вводом сами, минуя локальные модели |
| Проверьте, что инъекция достигает композитора |
Документация
ARCHITECTURE.md — как работает цикл, почему был сделан каждый выбор, куда уходит время
PLAYBOOK.md — руководство по написанию
Статус
Собрано и проверено настолько, насколько это возможно без весов на диске. 149 тестов покрывают DSL пакетов,
песочницу guard, предохранительный регулятор, компиляцию playbook, генерацию GBNF,
кодирование uinput и сам цикл выполнения (управляемый заглушками моделей — включая проверку,
что восприятие on_change действительно пропускает модель зрения на статическом экране).
MCP-сервер был прогнан от начала до конца через stdio реальным клиентом: 13 инструментов, корректные
схемы, execute_burst принял допустимый пакет и отказался от sudo rm -rf / с обоими
соответствующими правилами.
Что не запускалось — это живая модель: для этого нужны собранный llama.cpp и загруженные веса,
что настраивает scripts/. Две вещи также намеренно не запускались во время
сборки — диалог разрешений портала и любая реальная инъекция ввода — поскольку обе действуют на
вашем рабочем столе.
Порядок действий отсюда:
./scripts/setup.sh # reports what needs sudo, doesn't run it
./scripts/build-llama.sh # ~15 min with CUDA
./scripts/fetch-models.sh lean
./scripts/serve.sh lean
.venv/bin/voltage doctor # should now say READYЗатем в MCP-клиенте: voltage_calibrate (следите, как курсор на самом деле движется),
voltage_observe (проверьте, что модель зрения находит ваши метки), затем dry_run Playbook
и прочитайте voltage_journal, прежде чем когда-либо устанавливать dry_run=false.
Авторство
Написан от начала до конца Claude Opus 5 (Anthropic) за одну сессию — архитектура, реализация, тесты и документация. Человек сформулировал идею, задал ограничения (KDE Wayland, 6 ГБ видеопамяти, «быстрее, чем computer-use») и проверил результат, но не писал код.
Выводы о платформе, заложенные в этот репозиторий, получены путём исследования машины в
процессе сборки, а не из предположений — что KWin отказывает в ScreenShot2 исполняемым
файлам, не внесённым в список разрешённых, что grim не работает под KWin, что MCP-клиенты
вычищают сессионную шину. Каждый из этих фактов задокументирован в том месте кода, где он
вынудил принять решение.
LICENSE не называет никого в качестве правообладателя, и обоснование изложено там.
Лицензия
MIT. См. LICENSE.
Available Tools
16 toolsvoltage_calibrateADestructive
Verify that input injection actually reaches the compositor.
Creates the virtual devices, moves the pointer to three known points, and captures after each to confirm the cursor moved. Reports whether absolute positioning works or whether the relative fallback is needed -- which cannot be known without trying, since it depends on how libinput classified the virtual device.
Run this once per machine before trusting a real (non-dry-run) Playbook.
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare destructiveHint=true and openWorldHint=true. The description adds valuable detail: it creates virtual devices, moves the pointer, and captures output—concrete side effects beyond the annotation. It also explains why these behaviors are unpredictable ('depends on how libinput classified the virtual device'), which aligns with openWorldHint. This goes beyond what annotations alone convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured. It opens with the core purpose, immediately explains what the tool does, then provides the rationale and usage timing. Every sentence earns its place—no fluff or repetition. It is front-loaded with the most critical information and stays focused.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the tool's purpose, mechanism, side effects, and when to run it. It also acknowledges an output summary (absolute vs relative fallback). However, it omits any explanation of the dry_run parameter, which is a key input that affects behavior. Given the presence of an output schema, return format doesn't need detailing, but the parameter gap leaves the description incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The only parameter, dry_run, is entirely undocumented in the description. The schema gives its name, type, default, and requirement status but provides no semantic meaning. The description mentions 'non-dry-run' indirectly but never explains what dry_run does, when to set it to true, or what the difference is. With 0% schema description coverage, this is a significant gap—the description fails to compensate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's specific purpose: to verify that input injection reaches the compositor. It describes the concrete steps (creating virtual devices, moving pointer to three points, capturing) and the distinctive outcome (determining whether absolute positioning or relative fallback is needed). This distinguishes it from the many sibling tools, even without naming them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a clear usage context: 'Run this once per machine before trusting a real (non-dry-run) Playbook.' It explains that this is a one-time calibration step and that the result cannot be known without trying, which implies this is the tool to use for that purpose. It doesn't explicitly mention alternatives or when not to use it, but the guidance is strong.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_captureARead-only
Take a screenshot and return it to you directly.
Use this to see the screen yourself -- before writing a Playbook, to pick coordinates for probes and click regions, or to work out why a run went wrong. This does not involve the local vision model.
region is [x, y, width, height] in desktop pixels; omit for the whole desktop.
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| max_width | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's job is to add behavioral context. It does so by specifying 'return it to you directly' and explicitly noting it does not use the local vision model—information not in annotations. No contradictions exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is tightly written: a clear one-sentence purpose, a brief usage block, and a one-line parameter definition. No fluff or redundancy. The key purpose is front-loaded, and every sentence contributes value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple screenshot tool, the description covers usage, region format, and direct return. However, the `max_width` parameter remains unexplained; an agent might not know how to set it or its effect on output. Given that the tool has no output schema, a bit more detail on max_width would make it fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description explains the `region` parameter fully: it is [x, y, width, height] in desktop pixels and can be omitted for the whole desktop. However, `max_width` is not described at all; the schema only shows it is an integer with default 1280. Since schema description coverage is 0%, the description should compensate for both parameters, but it only covers one.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence 'Take a screenshot and return it to you directly' uses a specific verb and resource, and clearly states the result. It also distinguishes itself from the vision-model-based sibling by saying 'This does not involve the local vision model,' which makes its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides concrete use cases: 'before writing a Playbook, to pick coordinates for probes and click regions, or to work out why a run went wrong.' This tells the agent exactly when to invoke it. It does not explicitly mention alternatives or when not to use it, but the context is clear enough to guide selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_diagnoseARead-only
Explain why a run behaved as it did, and what to change.
Call this instead of reading the journal by hand. It computes what the journal
implies but does not state -- watch labels the vision model never once reported,
guards that never evaluated true, whether bursts actually moved the screen, whether
the actuator is chaining or emitting one action at a time -- and returns each with
the specific edit that fixes it, ordered blocker-first.
The distinction it exists for: a burst that never ran and a burst that ran and did nothing look identical in a summary and have unrelated causes. The first is policy or grammar; the second is window focus, pointer mode, or an application that ignores synthetic input.
Apply the highest-severity finding, re-run, diagnose again. Changing several things at once makes the next diagnosis uninterpretable.
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the description doesn't need to restate safety. It adds valuable behavioral detail: it computes implicit journal information, returns specific edits ordered blocker-first, and distinguishes between a burst that never ran vs. ran but did nothing. This goes well beyond the annotation, providing non-obvious nuances.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with a crisp summary, then explains the key distinction and ends with an actionable workflow. Every sentence earns its place; there is no fluff or redundancy. Structure is clear and scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that an output schema exists (the description doesn't need to detail return structure) and annotations cover safety, the description covers the essential context: the diagnostic purpose, the key distinction between two root causes, and the iterative workflow. The only minor gap is the run_id parameter semantics, which slightly detracts from completeness for an otherwise simple tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description carries the full burden for the single parameter run_id. It never mentions run_id, its format, how to obtain it, or whether it's required (though the schema marks it optional). The name 'run_id' is self-explanatory by convention, but the description provides no explicit guidance, and with only one parameter to cover, this is a noticeable gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Explain why a run behaved as it did, and what to change.' It then contrasts itself with reading the journal, making its purpose distinct from voltage_journal. No ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly instructs to call this instead of reading the journal by hand, giving clear when-to-use context. It also provides a workflow (apply highest-severity finding, re-run, diagnose again). However, it doesn't name alternative siblings like voltage_doctor or voltage_observe, or describe conditions where those might be more appropriate, so it stops short of complete guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_doctorARead-only
Check that everything needed for a run is present and working.
Reports the session type, input-device permissions, which capture backends work, detected screen geometry, GPU memory versus the selected model profile, and whether both model backends respond. When something is missing it returns the exact command to fix it. Call this before the first run on a machine.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true and openWorldHint=false, establishing a safe, closed-world read operation. The description adds valuable context beyond safety: it lists the specific components checked (session type, input-device permissions, capture backends, screen geometry, GPU memory vs model profile, both model backends) and states that it returns fix commands. This informs the agent about the scope of the check and the nature of the response, which is more than annotations provide. No contradiction found.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, tightly packed with information. The first sentence gives the core purpose, the second enumerates the checks and the fix-command behavior, and the third provides usage timing. Every sentence earns its place, and the most important information (purpose and when to use) is front-loaded. There is no fluff or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a no-argument diagnostic tool, the description is comprehensive. It clearly states what is checked, the response characteristic (returns fix commands), and when to call it. An output schema exists (though not shown), so the description doesn't need to detail return formats. Given the complexity of the checks and the existence of a schema, nothing essential is missing for the agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the schema shows none. The description implicitly confirms this by stating 'Call this before the first run on a machine' with no mention of inputs. Since there are no parameters to explain, the description effectively communicates that it requires no configuration. This is a perfect fit for the no-parameter case, and the baseline of 4 is exceeded because the description makes the absence of parameters obvious.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Check that everything needed for a run is present and working.' It specifies a concrete action (check) and a distinct resource (run prerequisites). It differentiates from siblings like voltage_status and voltage_diagnose by enumerating the exact checklist items (session type, permissions, capture backends, geometry, GPU memory, model backends). This makes it unambiguous which tool to select for pre-flight validation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit timing guidance: 'Call this before the first run on a machine.' While it doesn't mention alternatives or when not to use it, the instruction is clear and actionable. It implies this is a single-use setup check, not a repeated monitoring tool. The guidance is sufficient for the agent to decide when to invoke it, though lacking explicit exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_execute_burstADestructive
Execute one input burst yourself, bypassing the local models entirely.
For moments that need your judgement rather than the actuator's: opening the right application, clicking a specific confirmed target, typing something exact. Also the fastest way to sanity-check that input injection works at all.
Syntax: m:640,360;c:l;w:120;t:"hello";k:enter. Call voltage_reference for the full
list. The safety policy still applies. Defaults to dry_run, so pass dry_run=false to
actually inject.
| Name | Required | Description | Default |
|---|---|---|---|
| burst | Yes | ||
| label | No | manual | |
| dry_run | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint: true, readOnlyHint: false, and openWorldHint: true. The description adds critical behavioral context: it defaults to dry_run ('pass dry_run=false to actually inject') and notes the safety policy. It also explains that this is a manual override path. These details go beyond the annotations and inform the agent about side effects and prerequisites.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and efficient: it leads with the core action, then gives usage scenarios, then provides a syntax example and necessary caveats. Every sentence earns its place, and the dry_run warning is front-loaded within the critical context. No fluff or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (custom syntax, safety policy, dry_run default) and that an output schema exists, the description covers the essential aspects: purpose, when to use, how to construct the burst (via example and reference), and the dry_run behavior. The only gap is a full in-place explanation of the syntax and label, but the reference to voltage_reference and the presence of an output schema mitigate this. Overall, it is nearly complete for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It provides a concrete syntax example (`m:640,360;c:l;w:120;t:"hello";k:enter`) and explains the dry_run parameter clearly. However, burst syntax is not fully documented (only a pointer to voltage_reference) and the label parameter is not explained beyond its default. This is partial compensation—helpful but not exhaustive.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Execute one input burst yourself') and the resource (burst), and immediately differentiates from siblings by emphasizing 'bypassing the local models entirely' and 'moments that need your judgement rather than the actuator's'. It also names the exact use case (opening applications, clicking confirmed targets, typing exact text) and points to voltage_reference for full syntax, making the purpose unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool ('For moments that need your judgement rather than the actuator's', 'the fastest way to sanity-check that input injection works at all'), implies alternatives by referencing voltage_reference for syntax, and reminds that 'the safety policy still applies'. This gives an agent clear decision-making guidance without ambiguity.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_journalARead-only
Read a run's cycle-by-cycle record: what was seen, decided, refused, executed.
only_refused=true filters to cycles the governor blocked, which is the fastest way
to see where a Playbook's policy and the actuator's intentions disagree.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| run_id | No | ||
| only_refused | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark readOnlyHint=true, and the description aligns with that by saying 'Read'. It adds value by explaining the behavioral semantics of the journal contents and the meaning of 'only_refused', which goes beyond the raw annotation. No contradiction exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two focused sentences with the core purpose front-loaded and the filter tip as a concise, well-formatted follow-up. No filler or repetition, and the code-styled parameter reference is efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return format is covered. However, the description fails to explain the run_id parameter, which is central to selecting a run, and gives no mention of limit. The tool is simple with all optional params, but the missing parameter descriptions leave a gap in usability.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It explains only_refused in detail, but completely omits run_id and limit. run_id is critical for identifying which run to read, and limit is a common but still undocumented control. The description is inadequate for a zero-coverage schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Read') and resource ('a run's cycle-by-cycle record'), and lists the exact contents: what was seen, decided, refused, executed. This clearly distinguishes it from siblings like voltage_observe or voltage_diagnose by framing it as a chronological journal rather than a live observation or diagnostic.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives explicit context for using the 'only_refused' filter and explains the fastest way to see policy/actuator disagreement. While it doesn't mention sibling tools for comparison, the usage hint is concrete and actionable, and the description clearly implies this tool is for inspecting historical decisions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_learnADestructive
Record something worth carrying to the next run against this target.
Write these as concrete, reusable facts, not narration:
good "the health bar is at x=120..300, y=1010; region_mean on red channel works" good "vision reports 'hotbar' reliably but never 'crosshair' -- do not watch it" good "block placement needs w:100 after the right click or it does not register" bad "the run failed" bad "tried again and it worked better"
kind groups them: label (what the vision model does and does not recognise),
timing (waits that a specific application needs), policy (what the governor blocked
and whether that was right), burst (a sequence that works), observation (anything
else).
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | observation | |
| note | Yes | ||
| target | Yes | ||
| playbook | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate a mutating, potentially destructive action (readOnlyHint=false, destructiveHint=true); the description does not contradict these and adds that notes are stored against a target. It does not describe side effects or permissions, but given annotation coverage it provides acceptable additional context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured: it opens with the core purpose, gives clear good/bad examples, and ends with a concise classification of kind values. Every sentence adds value, and the format is well-balanced for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool that records notes, the description covers the purpose, content quality, and kind taxonomy, which is sufficient for basic use. Gaps remain around `playbook` and exact behavior (e.g., confirmation, persistence), but the presence of an output schema and annotations mitigates these. Overall it is fairly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description compensates by explaining the meaning of `kind` (label, timing, policy, burst, observation) and prescribing the format for `note` via good/bad examples. It leaves `target` and `playbook` undefined, but `target` is self-evident and `playbook` remains ambiguous, so coverage is partial but effective.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool records reusable facts against a target, with concrete good/bad examples that make the purpose unmistakable. It does not explicitly differentiate from sibling tools like voltage_lessons, but the 'carrying to the next run' phrasing is specific enough to convey its unique role.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides strong guidance on what to record (concrete facts, not narration) and explains the kind grouping, but it never mentions alternative tools or conditions under which to avoid this tool. Usage context is implied rather than explicit, and no exclusions or comparisons are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_lessonsARead-only
Recall what previous runs learned about driving something.
Call this before writing a Playbook for a target you have driven before. Lessons persist across sessions and are keyed by target ("minecraft", "roblox", "dolphin"), so a new Playbook can start from what the last one discovered -- which labels the vision model actually recognises, where the HUD probes are, what timing the game needs -- rather than rediscovering it.
Omit target to see everything recorded so far.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=true and the description aligns with that (no mutation implied). The description adds valuable behavioral context: lessons persist across sessions, are keyed by target, and include specific types of information (labels, HUD probes, timing). This goes beyond the annotation by describing persistence and content, which is useful for setting expectations about what the tool returns.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the purpose. It uses bold for emphasis ('before writing a Playbook') and keeps each sentence purposeful. There is no filler or redundant explanation. The structure guides the reader from what the tool does, to when to use it, to how to filter results.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has an output schema (as indicated by the context), so return values are documented elsewhere. The description provides sufficient context for an agent to decide when to call it: it explains the purpose, when it is appropriate (before writing a Playbook for a previously driven target), and how to control scope with the target parameter. No critical information is missing, given the read-only annotation and output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage, so the description must compensate. It clearly explains the `target` parameter (keyed by target, omit to see everything) and gives examples of valid values. However, it does not mention the `limit` parameter at all, leaving its semantics to inference from the default value of 30. This is a partial compensation but not complete for both parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Recall what previous runs learned about driving something.' It then gives concrete examples of lesson content (labels, HUD probes, timing), which makes the tool's purpose unambiguous and distinct from any other sibling. The behavior is clearly scoped to recalling learned lessons, not a general-purpose query.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly instructs when to use the tool: 'Call this **before writing a Playbook** for a target you have driven before.' It also explains the benefit (start from previous discoveries rather than rediscovering) and provides parameter guidance: 'Omit `target` to see everything recorded so far.' This gives an agent clear, actionable context for choosing this tool over alternatives like voltage_learn.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_observeARead-only
Run one vision pass and return grounded elements in screen coordinates.
watch is the closed vocabulary the vision model may use -- it can only report
labels from this list, so name the things your Playbook's guards will test for.
Use this to check that the vision model can actually find what a state depends on
before committing to it in a Playbook. If an element does not come back here, a
sees(...) guard on it will never fire.
| Name | Required | Description | Default |
|---|---|---|---|
| watch | Yes | ||
| region | No | ||
| read_text | No | ||
| max_elements | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already convey read-only and closed-world hints. The description adds valuable behavioral context: it clarifies that 'watch' is a closed vocabulary, that the tool runs a single pass, and that missing elements imply guards never fire. This goes beyond the annotations and provides actionable insight into the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, with two short paragraphs that are front-loaded with the core purpose. Every sentence adds distinct value—stating the action, vocabulary constraint, and practical implication. There is no fluff or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description captures the tool's primary purpose and a key behavioral consequence, and an output schema exists so return values are already documented. However, it does not explain non-required parameters (region, read_text, max_elements), which are likely needed for correct invocation. This gap reduces completeness, though the core use case is well covered.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It explains 'watch' as the closed vocabulary, which is essential, but it omits any explanation for 'region', 'read_text', and 'max_elements'. With only one parameter addressed, the description fails to adequately clarify the remaining parameters, leaving the agent with insufficient guidance.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb and resource: 'Run one vision pass and return grounded elements in screen coordinates.' It also explains a distinct use case—checking if the vision model can find elements before committing to a Playbook. While it doesn't explicitly contrast with sibling tools, the purpose is specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit context for when to use the tool: 'Use this to check that the vision model can actually find what a state depends on before committing to it in a Playbook.' This is a clear directive without naming alternatives, but it effectively guides the agent on ideal usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_pauseBDestructive
Pause or resume a run. Held input is not released, so a paused run can continue.
| Name | Required | Description | Default |
|---|---|---|---|
| resume | No | ||
| run_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already flag destructiveHint=true, so the mutation nature is disclosed. The description adds the specific behavior that held input is retained, which goes beyond the annotations and gives the agent useful context about the pause/resume semantics. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with zero filler. The core action is front-loaded ('Pause or resume a run') and the clarifying detail about held input follows immediately. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the existence of an output schema and simple optional parameters, the description is far from complete. It lacks usage guidance, parameter semantics, and any mention of prerequisites or side effects beyond the held-input note. The agent would need to guess how to set 'resume' or when to pass 'run_id'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% — neither 'resume' nor 'run_id' is explained in the schema. The description does not mention any parameters at all, so the agent has no idea that 'resume' likely indicates whether to resume or pause, or how 'run_id' selects the run. With two parameters and zero coverage, the description must compensate but fails completely.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear action (pause or resume), a specific resource (a run), and adds a key nuance (held input is not released). It distinguishes implicitly from voltage_stop but does not name sibling alternatives, so it falls short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives like voltage_stop or voltage_run. The note about held input hints at a use case but does not state conditions or exclusions, leaving the agent to infer when pause is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_referenceARead-only
Return everything needed to author and iterate on a run.
Call this before your first Playbook. Sections:
loop the learning loop -- how to go from a failed run to a working one, and what each failure mode actually means. Read this second. bursts the burst cookbook: how to chain inputs well, timing rules, ready-made patterns for desktop and for games, and the antipatterns that waste cycles. Read this if bursts are coming out one action at a time. burst the raw burst syntax playbook the state-machine JSON schema guards expression functions for transitions and reflexes example a complete working Playbook
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | all |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the description need not restate safety. It adds value by explaining the content structure and the purpose of each section, which helps the agent understand what the tool actually returns. However, it does not disclose any potential caveats (e.g., response size, format specifics), though those may be covered by the output schema. The added context justifies a score slightly above baseline.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently organized: a one-line purpose, then a bulleted list of sections with clear labels and explanations. It front-loads the main instruction and uses formatting to allow fast scanning. No sentence is redundant; each adds useful detail about content or usage.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a reference tool, the description covers all essential information: what it returns, when to call it, what each section contains, and even contextual reading order. The read-only behavior is covered by annotations, and the output format is presumably defined by the output schema (present signal). Nothing necessary for an agent to select and invoke this tool is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must explain the 'section' parameter. It does so comprehensively by listing each enum value and its meaning, and even offers reading-order guidance (e.g., 'Read this second', 'Read this if...'). This fully compensates for the schema gap, making the parameter self-documenting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Return') and a resource ('everything needed to author and iterate on a run'), then enumerates the sections returned. It clearly distinguishes itself from sibling tools (e.g., voltage_execute_burst, voltage_validate_playbook) by being a reference/documentation tool, not an execution or validation tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says 'Call this before your first Playbook,' giving a clear when-to-use directive. It also provides conditional reading order (e.g., 'Read this if bursts are coming out one action at a time') and labels like 'the learning loop,' which help an agent decide which section to request. This is strong, situation-specific guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_runADestructive
Start a Playbook. Returns immediately with a run_id; poll voltage_status.
dry_run overrides the Playbook's policy. Leave it unset for the Playbook's own
setting, which defaults to true. A dry run does everything except inject input, so
it is the correct way to check that your states, guards and transitions behave before
letting it touch the machine.
target_period_s is the loop period. 0.5 is a good default; lower it for games,
raise it for slow UI.
Stop a run with voltage_stop, adjust it live with voltage_steer. The run also stops on its own budget, on any physical keyboard or mouse input from the user, and on the panic file.
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| playbook | Yes | ||
| keep_frames | No | ||
| target_period_s | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark destructiveHint and openWorldHint, and the description complements these by explaining concrete behaviors: immediate return with run_id, polling requirement, dry_run overriding policy, and the specific conditions that terminate a run. It adds value beyond annotations without contradicting them.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured: the core action and return contract are front-loaded, followed by parameter guidance and termination behavior. Every sentence adds functional value, and no redundant or filler content is present.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the essential lifecycle: starting, monitoring, adjusting, and stopping. It explains dry-run semantics and stopping triggers. However, it does not describe the structure of the `playbook` object or the meaning of `keep_frames`, which may be important for correct invocation. The presence of an output schema and related tools (voltage_validate_playbook) partially mitigates this.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must explain parameters. It does explain dry_run (including override semantics and default behavior) and target_period_s (with recommended values), but it does not explain `playbook` (the required parameter) or `keep_frames`. Since playbook is central and the schema offers no description, this leaves a gap for an agent constructing a valid call.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Start a Playbook,' a specific verb-resource pairing that clearly states the tool's core function. It immediately distinguishes itself from siblings by mentioning polling with voltage_status, stopping with voltage_stop, and live adjustment with voltage_steer, so the agent can tell it apart without opening other schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit context for when to use dry_run ('the correct way to check that your states, guards and transitions behave before letting it touch the machine'), recommends values for target_period_s, and explains how to stop or adjust a run using sibling tools. It also details automatic stopping conditions (budget, keyboard/mouse input, panic file), giving clear operational guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_statusARead-only
Poll a run: current state, variables, last burst, what the vision model sees.
Includes recent cycles, governor refusals, and per-stage timings so you can tell whether a slow loop is capture, vision, decision, or execution.
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| journal_tail | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the read-only nature is covered. The description adds useful context beyond annotations: the specific data included (recent cycles, governor refusals, per-stage timings) and its diagnostic intent. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no waste. The action is front-loaded ('Poll a run'), followed by a list of what it returns and the diagnostic purpose. Every phrase earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a monitoring tool with an output schema present, the description conveys enough about the returned data to be useful. However, the lack of parameter documentation is a notable gap that makes it slightly incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not explain either parameter (run_id, journal_tail) at all. While run_id is somewhat inferable from its name, journal_tail is completely unexplained. The description fails to compensate for the schema's lack of documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb ('Poll') and resource ('a run'), then enumerates the returned data (state, variables, last burst, vision model view, cycles, refusals, timings). This clearly differentiates it from sibling tools like voltage_capture or voltage_execute_burst, which imply different actions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It implies usage during a run to monitor state and diagnose slow loops ('so you can tell whether a slow loop is capture, vision, decision, or execution'). However, it doesn't explicitly state when not to use it or point to alternatives such as voltage_doctor or voltage_diagnose, leaving some ambiguity.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_steerADestructive
Correct a live run without restarting it.
hint is injected into the actuator's prompt as a supervisor note and persists until
changed -- use it when the actuator is doing something legal but wrong.
force_state jumps the machine on the next cycle. variables updates run variables.
dry_run can be flipped either way mid-run.
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| run_id | No | ||
| dry_run | No | ||
| variables | No | ||
| force_state | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already flag destructiveHint=true, so the description adds some context: hint persists, force_state jumps the machine, variables updates, dry_run can flip. However, it does not disclose potential side effects, irreversibility, or prerequisites despite the destructive nature. It does not contradict the annotations, but the coverage is not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured: a one-sentence overview followed by per-parameter explanations. It is front-loaded with the main purpose, uses backticks for param names to aid scanning, and has no filler or redundant statements.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 5 parameters, zero schema descriptions, a destructive annotation, and an output schema, the description covers the core actions but misses run_id semantics, any warning about destructive consequences, and what the output schema contains. It is usable but not fully complete for safe and correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description carries the full burden for parameter meaning. It explains hint, force_state, variables, and dry_run, but omits run_id entirely, leaving its role merely implied by the phrase 'a live run.' This is a partial but incomplete compensation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb-resource pair: 'Correct a live run without restarting it,' which clearly distinguishes this tool from siblings like voltage_stop, voltage_pause, or voltage_run. It also enumerates the effects of each parameter, leaving no ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides a concrete usage scenario for `hint` ('when the actuator is doing something legal but wrong') and explains the function of each parameter (e.g., force_state jumps the machine, dry_run flips). It implies this tool is for mid-run corrections vs. restarting, but does not explicitly name alternatives or exclusion conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_stopADestructive
Stop a run and release every held key and button.
Safe to call at any time, including while a burst is mid-flight -- the burst is interrupted and anything held is released.
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | stopped by orchestrator | |
| run_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, and the description adds concrete behavior: releases every held key/button and interrupts bursts. This goes beyond the annotation's generic destroy flag without contradicting it, giving the agent a more precise model of consequences.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences convey the purpose, safety, and edge-case behavior with zero filler. Information is front-loaded and every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple stop tool, the description covers the main behavior and safety profile. However, the lack of any parameter explanation means an agent might guess wrong about 'run_id' or 'reason' (e.g., whether run_id is required to target a specific run). Optional parameters with defaults mitigate, but the gap prevents full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description does not explain either 'reason' or 'run_id.' The agent has no guidance on what these parameters control or when to provide them, though they are optional. With no parameter documentation anywhere, this is a notable gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Stop') and resource ('a run') while adding unique scope: 'release every held key and button.' This clearly distinguishes it from siblings like voltage_pause and voltage_run, and the mention of interrupting mid-flight bursts further clarifies its specific role.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: 'Safe to call at any time' and explicitly covers the edge case of a mid-flight burst. However, it does not explicitly contrast with alternatives like voltage_pause or voltage_steer, leaving some ambiguity about when to choose this over a pause or a graceful stop.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
voltage_validate_playbookARead-only
Fully check a Playbook without running it.
Validates the schema, compiles every guard expression, parses every burst, checks that transition targets and probe references exist, and reports unreachable states and dead transitions. Errors come back as a complete list, not one at a time.
Always call this before voltage_run. Warnings are worth reading: "tests for X but X
is not in watch" means a transition that can never fire.
| Name | Required | Description | Default |
|---|---|---|---|
| playbook | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only mark readOnlyHint:true. The description adds substantial behavioral detail: it returns a complete list of errors rather than one at a time, reports unreachable states and dead transitions, and explains how to interpret warnings. This fully complements the annotation and does not contradict it.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is tightly written, starting with the primary purpose, then detailing checks, then error behavior, then usage guidance and a warning interpretation. Every sentence serves a purpose—no filler. It front-loads the action and clearly organizes information in short block format.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter validation tool with an output schema declared (though not shown explicitly), the description covers what it does, how it behaves, when to call it, and how to interpret results. With annotations covering read-only safety and the output schema expected to define return values, nothing essential is missing for an agent to decide and invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema only defines a generic 'playbook' object with no description (0% coverage). The description compensates by making clear that the parameter is the Playbook being validated, and it describes what validation entails (schema, guards, bursts, references). This gives the agent enough context to pass the correct object, even without knowing its internal structure.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific, unambiguous statement: 'Fully check a Playbook without running it.' It enumerates the exact validations performed (schema, guards, bursts, transition targets, probe references) and reports unreachable states/dead transitions, distinguishing this validation tool from siblings like voltage_run and voltage_execute_burst. The verb 'validate' matches the tool name and clears its role.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly guides usage with 'Always call this before voltage_run,' which states when to use this tool relative to its primary sibling. It also adds a practical hint about interpreting warnings (e.g., 'tests for X but X is not in watch'). It does not list explicit exclusions, but the directive is clear and directly actionable.
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.
16 tool updates
v0.1.0- First observed
voltage_calibrate - First observed
voltage_capture - First observed
voltage_diagnose - First observed
voltage_doctor - First observed
voltage_execute_burst - First observed
voltage_journal - First observed
voltage_learn - First observed
voltage_lessons - First observed
voltage_observe - First observed
voltage_pause - First observed
voltage_reference - First observed
voltage_run - First observed
voltage_status - First observed
voltage_steer - First observed
voltage_stop - First observed
voltage_validate_playbook
TDQS
Scored across 16 tools
Each tool has a clearly distinct purpose: pre-flight checks, documentation, perception, input execution, validation, running, monitoring, control, and learning. Even similar tools like voltage_journal (raw data) and voltage_diagnose (analyzed explanation) are cleanly separated by their roles.
All tools follow a consistent voltage_ prefix with a verb or verb_noun pattern (capture, execute_burst, validate_playbook, etc.). No mixed conventions or ambiguous verbs; naming is predictable and intuitive.
16 tools is well-scoped for a comprehensive automation server covering setup, execution, monitoring, debugging, and learning. Each tool earns its place; the count supports the full workflow without bloat.
The tool surface covers the entire lifecycle: environment checks (doctor, calibrate), documentation (reference), perception (capture, observe), manual action (execute_burst), validation and execution (validate_playbook, run), live control (steer, stop, pause), monitoring (status, journal, diagnose), and cross-session learning (lessons, learn). No obvious gaps for the stated purpose.
Maintenance
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Human-in-the-loop approval for agent actions, with verifiable action-bound receipts.
Control real Android and iOS devices with LLM agents — tap, swipe, type, automate flows.
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA local autonomous AI agent that watches your screen, understands the visual layout, and executes native OS commands (clicking, typing) without cloud APIs.2MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to declaratively control web pages using real mouse and keyboard events via Chrome DevTools Protocol, without executing page JavaScript.9 npm1-
- AlicenseAqualityBmaintenanceEnables low-cost agent models to control Windows applications through a compact, state-safe proxy over Open Computer Use, reducing model-visible context by up to 99.8% with support for record/replay and reusable UI component memory.5MIT
- AlicenseNot gradedqualityAmaintenanceLets AI agents see and control desktop applications through the accessibility layer, enabling clicking, typing, scrolling, dragging, and window/app management across macOS, Windows, and Linux entirely on the local machine.3MIT