Skip to main content
Glama
casualkre

VoltageInputMcp

by casualkre

VoltageInputMcp

Un servidor MCP que permite a un modelo de frontera manejar un ordenador a velocidad de entrada en lugar de a velocidad de llamada de herramienta.

El problema

Las herramientas de uso de ordenador hacen un viaje de ida y vuelta a un modelo remoto para cada acción. Captura de pantalla arriba, decisión abajo, un clic. Eso está bien para rellenar un formulario y es inútil para cualquier cosa que necesite una secuencia de entradas entregadas rápidamente — jugar a un juego, trabajar con un diálogo modal, manejar una línea de tiempo, cualquier interfaz donde la tercera entrada dependa de que las dos primeras ya hayan llegado. El cuello de botella no es la inteligencia del modelo. Es que esa inteligencia está a 800 ms de distancia y las entradas necesitan estar a 8 ms de distancia.

Related MCP server: live-mcp

La forma de la respuesta

Separar decidir de hacer, y poner el hacer en la misma máquina que el teclado.

  ┌─────────────────────────────────────────────────────────────────┐
  │  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         │
  └─────────────────────────────────────────────────────────────────┘

El orquestador es el cerebro. Los modelos pequeños son los brazos. Los brazos no son inteligentes y nunca se les pide que lo sean.

De dónde viene realmente la velocidad

No de que los modelos pequeños sean rápidos — un VLM de 3B sigue costando ~300 ms. Viene de cuatro cosas, en orden descendente de impacto:

Ráfagas. El actuador no emite una entrada. Emite una ráfaga: un programa temporizado de entradas ejecutado por un ejecutor dedicado sin modelo en el bucle.

g:0;c:l;w:150;t:"README.md";k:enter;w:80;k:ctrl+s

Eso es una decisión y siete entradas que abarcan ~400 ms, programadas al milisegundo. Una ráfaga de 40 acciones sigue costando una decisión. La tasa de entrada la fija la ráfaga, no el modelo.

Reflejos. Reglas que se disparan con sondas de pantalla baratas — un píxel, un promedio de región — en microsegundos, entre decisiones, sin ningún modelo.

{"id": "heal", "when": "probe('health') < 0.25", "do": "k:q;w:60", "cooldown_ms": 800}

Omitir la percepción. La mayoría de los ciclos miran una pantalla que no ha cambiado. Una diferencia de fotograma de 40 µs decide si gastar 300 ms en el modelo de visión o reutilizar la última observación. En trabajo de escritorio ordinario esto omite el VLM en la mayoría de los ciclos.

Localidad de caché de prefijo. Los prompts se ordenan primero-estático para que llama.cpp reutilice la caché KV y solo re-procese la cola cambiada.

Por qué los modelos pequeños son fiables a pesar de ser pequeños

Porque no se les pide que sean fiables — están restringidos.

Bajo llama.cpp, ambos modelos generan contra una gramática GBNF que se regenera cada ciclo a partir del estado actual. La gramática no es un consejo. Enmascara los logits para que solo los tokens que continúan un análisis válido sean alcanzables. Concretamente, el actuador no puede:

  • emitir una ráfaga malformada

  • nombrar una tecla que la política deniegue — la tecla no está en la gramática

  • referenciar un elemento que no fue observado — el rango de índices se construye a partir del recuento de elementos de este ciclo

  • proponer una transición de estado que el Playbook no haya declarado

Y el modelo de visión no puede inventar un nombre de elemento de interfaz: su vocabulario de etiquetas es la lista watch que escribiste, más un pequeño conjunto genérico. Así que una guarda sees("address bar") compara contra un vocabulario cerrado en lugar de contra cualquier sustantivo que un modelo de 3B haya decidido producir.

No hay bucle de reintento ni análisis JSON defensivo, porque la salida malformada no es improbable — es irrepresentable.

El Playbook

No le das a los modelos pequeños un objetivo. Les das una máquina de estados. Las transiciones son expresiones de guarda evaluadas por el runtime, no por un modelo.

{
  "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 devuelve el DSL completo, el esquema JSON y la tabla de funciones de guarda, para que un orquestador pueda crear uno sin leer este repositorio.

Ajuste de rendimiento

Todos los números siguientes están medidos en la máquina de referencia (portátil RTX 3050 6 GB, Qwen2.5-VL-3B + Qwen3-1.7B bajo llama.cpp), no derivados.

Ambos modelos están limitados por decodificación. Los tokens de salida son la única palanca que importa.

Eso fue una sorpresa — el diseño originalmente asumía que la visión estaba limitada por prefill, y no lo está. El prefill midió ~28 ms y plano de 448×252 a 896×504. La decodificación corre a ~22 ms/token. Así que:

qué

coste

un token de salida

~22 ms

un elemento informado

~21 tokens ≈ 500 ms

visión, 2 elementos

~1.0 s

visión, 4 elementos

~2.2 s

actuador, prefijo en caché

140–400 ms según la longitud de la nota

Tres consecuencias, cada una de las cuales cambió un valor por defecto:

  • max_elements es el coste dominante de la visión. El valor por defecto es 3. Subirlo a 6 añade ~1.5 s por ciclo percibido. Ponlo al número que tus guardas realmente comprueban.

  • Reducir downscale_to no ayuda y normalmente perjudica. 448×252 midió 2.5× más lento que 896×504 — una imagen más borrosa hace que el modelo esté menos seguro, así que emite más tokens. Usa el tamaño más grande que quepa.

  • El campo note del actuador costaba el 55% de su latencia. Es puramente diagnóstico, y a 48 caracteres midió 412 ms/ciclo frente a 184 ms a 12 caracteres y 140 ms a 0. El valor por defecto ahora es 12.

Los elementos se codifican como [label_index, x1, y1, x2, y2] en lugar de {"l":"address bar","b":[...],"c":0.9} por la misma razón — medido 27–29% menos tokens y 32–41% menos latencia. Indexar en el vocabulario cerrado watch también es más seguro: el modelo no puede deletrear una etiqueta, y mucho menos escribirla mal.

La evaluación GBNF se ejecuta en la CPU una vez por token muestreado, así que el actuador recibe más hilos de CPU que el modelo de visión a pesar de estar completamente descargado a GPU — y restringir allow_keys es una optimización de latencia, no solo de seguridad.

Dos ajustes que fallan silenciosamente si están mal:

  • GGML_CUDA_FA_ALL_QUANTS=ON en tiempo de compilación. Servimos con caché KV q8_0 y atención flash. Sin esta bandera llama.cpp no compila kernels de FA para esa combinación de KV y cae a una ruta lenta — sin error, solo números misteriosamente malos. scripts/build-llama.sh la establece.

  • GGML_CUDA_ENABLE_UNIFIED_MEMORY=0 en tiempo de ejecución. Si es 1, el desbordamiento de VRAM se derrama silenciosamente por PCIe en lugar de fallar. Todo funciona y es ~10× más lento. serve.sh lo fija a off.

Mide en lugar de adivinar:

.venv/bin/voltage bench

Maneja ambos backends con las formas exactas de prompt que usa el bucle e informa de la latencia en frío vs. con prompt en caché, ms-por-token-visual en tres tamaños de entrada, y el tiempo de ciclo que implican. Una aceleración de caché de prompt por debajo de ~1.5× significa que algo dinámico se filtró al prefijo del prompt.

Comparando modelos

El experimento obvio — "qué modelo escribe mejores ráfagas" — mide lo incorrecto. La gramática ya garantiza que cada ráfaga es válida, así que un modelo más grande no puede ganar en sintaxis. Lo que realmente decide si una configuración es utilizable:

  1. Precisión de anclaje. Un modelo que es 200 ms más rápido y 40 px desviado es inútil — el clic falla. Medido como distancia del centro en píxeles de pantalla, no IoU, porque un clic aterriza en el centro.

  2. Calidad de decisión bajo restricción. Dada la misma observación, ¿elige la acción legal correcta, y encadena una secuencia completa en una ráfaga en lugar de emitir una acción tímida por ciclo?

  3. Latencia, que solo importa una vez que 1 y 2 son aceptables.

.venv/bin/voltage fixture desktop      # capture a real screen
.venv/bin/voltage compare              # score whatever is running now

La verdad de referencia proviene de capturas de pantalla reales etiquetadas por el modelo orquestador — que es la misma referencia que este sistema usa en tiempo de ejecución. La interfaz sintética es una trampa: un rectángulo dibujado no se lee como un botón a un modelo entrenado con interfaces reales, así que puntuar contra ella mide la habilidad equivocada.

Los resultados se acumulan entre ejecuciones, así que el flujo de trabajo es: servir perfil A → compare → servir perfil B → compare → leer la tabla. voltage compare --list la imprime sin volver a ejecutar.

Los fixtures son tuyos y no se commitean. Añade fixtures/ a .gitignore si tus capturas de pantalla contienen algo privado.

El bucle de aprendizaje

El primer playbook para un objetivo desconocido casi nunca es correcto. Lo que importa es que los fallos sean específicos, y que el siguiente intento comience desde lo que el último aprendió.

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 playbook

voltage_diagnose es la pieza que convierte esto en un bucle. Calcula lo que el diario implica pero no declara, y nombra la edición para cada cosa. En una ejecución atascada de 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

La distinción para la que existe: una ráfaga que nunca se ejecutó y una ráfaga que se ejecutó y no hizo nada se ven idénticas en un resumen y tienen causas no relacionadas. La primera es política o gramática. La segunda es foco de ventana, modo de puntero, o una aplicación que ignora la entrada sintética. Diagnose las separa comprobando si el fotograma realmente cambió después de la ejecución.

Aplica el hallazgo de mayor severidad, vuelve a ejecutar, diagnostica de nuevo. Un cambio a la vez — varios a la vez hacen que el siguiente diagnóstico sea ininterpretable.

Las lecciones persisten entre sesiones, con clave por objetivo, así que el segundo playbook para un juego comienza desde las coordenadas de sonda y los nombres de etiqueta funcionales que el primero descubrió:

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")

Seguridad

Lo que genera entradas es un modelo de 1.7B. El gobernador es la capa que no es consultiva: cada ráfaga pasa a través de él, incluidas las ráfagas de reflejo y las que escribiste tú mismo.

  • dry_run es el valor por defecto. Un Playbook nuevo analiza, comprueba y registra cada ráfaga sin tocar nada.

  • Rechazo de ráfaga completa. Ejecutar a medias una secuencia prevista es peor que no ejecutarla.

  • deny_labels rechaza un clic en cualquier cosa llamada Delete / Confirm / Purchase / Allow, dondequiera que aparezca — esto es lo que atrapa el diálogo que aparece en algún lugar inesperado.

  • Cercado de regiones, listas blancas de teclas, acordes denegados (ctrl+alt+delete, alt+f4), patrones de texto denegados (rm -rf, sudo), límites de tamaño de ráfaga y de entradas por segundo.

  • Cuatro paradas independientes: voltage stop (escribe un archivo — funciona por SSH), un temporizador de hombre muerto que se dispara en su propio hilo si el bucle se atasca, contención de entrada física (toca el ratón real y se detiene), y presupuestos del Playbook.

  • Las teclas mantenidas siempre se liberan — al abortar, al fallar, al expirar. Una ejecución interrumpida entre d:shift y u:shift no debe dejar Shift pulsado.

Instalación

De nada a funcionando, dos comandos.

Linux / macOS

git clone https://github.com/casualkre/voltage-input-mcp && cd voltage-input-mcp && ./install.sh

Windows (PowerShell)

git clone https://github.com/casualkre/voltage-input-mcp; cd voltage-input-mcp; powershell -ExecutionPolicy Bypass -File .\install.ps1

Después, en cualquiera de los dos:

voltage setup

install.sh se encarga de Python, los paquetes del sistema, el venv y tu PATH, e imprime las líneas sudo exactas para cualquier cosa que necesite root en lugar de pedirlo. voltage setup entonces detecta lo que ya tienes, descarga solo lo que falta, inicia los servidores de modelos, y se registra con tu cliente de IA — ejecutando cada paso, no describiéndolo. De diez a veinticinco minutos, casi todo tiempo de descarga. Seguro de re-ejecutar; retoma donde lo dejó.

Entonces solo ejecuta:

voltage

Setup detecta lo que ya tienes y continúa desde ahí. No asume un punto de partida: sondea tu SO, GPU, si llama.cpp u Ollama está instalado, qué modelos ya están descargados, si la entrada y la captura funcionan, y si el servidor MCP está registrado — entonces planifica solo los pasos que realmente quedan, y dice cuáles necesitan una decisión tuya y cuáles puede simplemente hacer. Si ya tienes Ollama, lo usa. Si no tienes ningún backend, explica el trade-off en dos líneas y te deja elegir.

Sin argumentos abre una consola interactiva: estado en vivo, setup guiado que arregla lo que no esté listo en orden de dependencias, un selector de modelos, un editor de configuración, registro con una tecla en Claude Code, y diagnósticos. Cada subcomando siguiente sigue funcionando de forma no interactiva, así que los scripts y CI no se ven afectados.

 ██╗   ██╗ ██████╗ ██╗  ████████╗ █████╗  ██████╗ ███████╗
 ██║   ██║██╔═══██╗██║  ╚══██╔══╝██╔══██╗██╔════╝ ██╔════╝
 ██║   ██║██║   ██║██║     ██║   ███████║██║  ███╗█████╗
 ╚██╗ ██╔╝██║   ██║██║     ██║   ██╔══██║██║   ██║██╔══╝
  ╚████╔╝ ╚██████╔╝███████╗██║   ██║  ██║╚██████╔╝███████╗
   ╚═══╝   ╚═════╝ ╚══════╝╚═╝   ╚═╝  ╚═╝ ╚═════╝ ╚══════╝

 ── 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

Perfiles experimentales

Listados por separado en voltage → models, cada uno detrás de una advertencia que debes aceptar. Existen porque las mediciones hacen que los trade-offs sean predecibles: la decodificación domina a ~22 ms/token y escala con los parámetros activos, así que reducir los modelos realmente aumenta la tasa del bucle. Lo que cuesta es el anclaje.

perfil

modelos

VRAM

intercambio

hyper

SmolVLM-500M + Qwen3-0.6B

~2.2 GB

3–4× la tasa de bucle, el grounding apenas funciona

fast

Qwen2.5-VL-3B + Qwen3-0.6B

~3.8 GB

decisiones más rápidas, grounding sin cambios

beefy

Qwen2.5-VL-32B + Qwen3-14B

~34 GB

mejor grounding, 1–2.5 s/ciclo

beefy_moe

Qwen2.5-VL-32B + Qwen3-30B-A3B

~43 GB

capacidad de 30B a velocidad de decodificación de ~3B

cpu_only

3B + 0.6B en CPU

ninguno

funciona sin GPU, segundos por ciclo

Dos merecen mención especial:

hyper es el peligroso. SmolVLM-500M no es un modelo de grounding. Devolverá cajas y a menudo serán incorrectas — y una caja incorrecta es un clic en el lugar equivocado, no una degradación elegante. Úsalo solo donde watch esté vacío (las sondas y reflejos hacen el trabajo real) o donde cada clic esté delimitado por click_allow_regions y require_target_element.

beefy_moe es el interesante. Qwen3-30B-A3B es una mezcla de expertos con ~3B activos de parámetros, por lo que decodifica aproximadamente a velocidad de 3B mientras razona con capacidad de 30B — y la decodificación es precisamente lo que limita este bucle. Un actuador mucho mejor que un denso 14B con latencia similar. El inconveniente es la memoria: solo los expertos activos son rápidos, no los pesos, por lo que los 30B completos deben residir en memoria.

recommend() nunca devuelve un perfil experimental, y una prueba lo verifica.

Perfiles de modelo personalizados

Los perfiles integrados cubren las máquinas contra las que se desarrolló esto, no las tuyas. Añade los tuyos desde voltage → perfiles, o editando profiles.toml junto a tu configuración:

[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

Los perfiles personalizados se fusionan sobre los integrados por nombre, por lo que nombrar uno lean reajusta el integrado sin bifurcar el paquete. Usa ollama_tag en lugar de hf_repo/hf_file para el backend de Ollama.

Una ranura es exigente y la otra no. La visión debe poder emitir cajas delimitadas (grounded bounding boxes) cuando se le pida — Qwen2.5-VL, Qwen3-VL, InternVL, MiniCPM-V y UI-TARS pueden; un captioner general describirá tu pantalla maravillosamente y pondrá las cajas en el lugar equivocado. El actuador es indulgente: bajo una gramática GBNF, elige entre un puñado de continuaciones legales, por lo que casi cualquier modelo instruct competente de 1B+ funciona.

Comandos de shell vs herramientas MCP

Dos superficies diferentes, y mezclarlas es el primer tropiezo habitual:

invocado

aspecto

comando de shell

escrito en una terminal, con un espacio

voltage doctor

herramienta MCP

pedido a Claude, con un guion bajo

voltage_doctor

voltage_doctor es un nombre de herramienta en el espacio de nombres de Claude, no un programa en disco. Escribirlo en una terminal siempre dirá "comando desconocido". Pide a Claude que lo ejecute en su lugar.

Eso comprueba el acceso a /dev/uinput, instala dependencias del sistema, crea el venv y imprime lo que falta. Luego:

./scripts/fetch-models.sh lean && ./scripts/serve.sh lean
.venv/bin/voltage doctor

Conectándolo a un cliente

voltage connect

Muestra lo que está configurado, las URLs en vivo, si los modelos están activos y si el servidor está registrado — luego da pasos de copiar y pegar por cliente con tus rutas reales y el entorno ya completados:

voltage connect --client claude-desktop
voltage connect --client cursor
voltage connect --json            # just the mcpServers entry

Cubiertos: Claude Code, Claude Desktop, conector personalizado de claude.ai, Cursor, Windsurf, Zed y un bloque mcpServers genérico para cualquier otra cosa. Lo mismo es la pantalla 4 en la consola de voltage, que también puede escribir la configuración de Claude Desktop por ti (haciendo una copia de seguridad del archivo existente primero, y negándose a tocarlo si no es JSON válido).

Cada configuración generada lleva el entorno de sesión explícitamente, porque eso es lo que sale mal: un servidor registrado desde un shell sin DBUS_SESSION_BUS_ADDRESS se conecta correctamente y está silenciosamente ciego — la entrada funciona, la captura de pantalla no. voltage connect detecta ese caso y lo dice.

Añadiéndolo como conector personalizado

Los clientes que añaden servidores MCP por URL necesitan HTTP en lugar de stdio:

voltage serve --http

Luego añade http://127.0.0.1:8765/mcp como conector personalizado.

El enlace está restringido a loopback, y se requiere --allow-remote para cambiarlo. Eso no es un relleno: este servidor existe para mover el ratón, pulsar teclas y leer la pantalla, y MCP no tiene autenticación propia. Un enlace no-loopback publica control remoto no autenticado de tu escritorio. Si realmente lo necesitas, pon un proxy inverso autenticado delante y entiende que quien alcance el puerto posee la máquina.

Lanzamiento desde un cliente MCP

Los clientes MCP inician servidores con un entorno saneado — PATH, HOME y poco más. Ese es un valor predeterminado sensato y rompe la captura de pantalla, porque llegar al compositor necesita DBUS_SESSION_BUS_ADDRESS y WAYLAND_DISPLAY. La inyección de entrada aún funciona sin ellos (uinput es un archivo de dispositivo, no un servicio de sesión), por lo que el fallo parece confusamente parcial: las ráfagas se ejecutan, las capturas de pantalla no.

Pásalos explícitamente:

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-mcp

voltage_doctor informa exactamente cuáles de estos faltan, así que si la captura está fallando, ese es el primer lugar donde mirar.

Plataformas

entrada

captura

texto

Linux

/dev/uinput (evdev del kernel — funciona bajo X11, Wayland, la consola y en juegos que leen entrada cruda)

portal→PipeWire, KWin DBus, grim, X11

scancodes, respaldo de portapapeles para no-ASCII

Windows

SendInput

GDI BitBlt

KEYEVENTF_UNICODE — independiente de la distribución

Todo lo que está por encima del sumidero de entrada — programación de ráfagas, temporización, seguimiento de teclas mantenidas, el gobernador de seguridad, todo el runtime — es compartido. Cada plataforma implementa cinco métodos (key, button, move_abs, move_rel, scroll); ver inputs/sink.py.

Dos asimetrías que vale la pena conocer:

  • Escribir es más correcto en Windows. KEYEVENTF_UNICODE entrega una unidad de código UTF-16 sin involucrar la distribución del teclado. El uinput de Linux envía scancodes, por lo que la puntuación en una distribución no estadounidense sale mal — silenciosamente — por eso existe el respaldo de portapapeles allí y no se necesita en Windows.

  • La captura es más capaz en Linux. GDI BitBlt no puede ver algunos videos de superposición de hardware y juegos exclusivos en pantalla completa; esos se capturan en negro. Ejecuta tales juegos en modo ventana sin bordes.

En Windows, SendInput no puede controlar ventanas propiedad de un proceso elevado (UIPI) — esto falla silenciosamente, por lo que voltage doctor informa tu estado de elevación. La conciencia de DPI se declara en la importación; sin ella, cada coordenada es incorrecta en una pantalla escalada.

Requisitos

  • Linux (cualquier servidor de visualización) o Windows 10/11

  • Python 3.11+

  • Una GPU con ~5 GB libres para el perfil lean; voltage profiles muestra lo que cabe en la tuya

  • llama.cpp para la ruta rápida, o Ollama para una ruta más lenta sin compilación

Verificado de extremo a extremo en KDE Plasma 6 / Wayland / CUDA / Python 3.14. Las rutas de Windows están implementadas y verificadas por tipos, pero no se han ejecutado en una máquina Windows — trátalas como no probadas e informa lo que se rompa.

Al orquestador se le dice qué compilación está manejando

El mismo Playbook es sólido en una configuración y incorrecto en otra, y un modelo remoto no puede ver cuál. Por lo tanto, las instrucciones MCP del servidor se construyen al inicio a partir de la configuración en vivo, y llevan solo las líneas que cambian cómo se debe escribir un 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...

En Ollama, esa primera línea se convierte en una advertencia de que las ráfagas no están restringidas. En hyper se convierte en "no construyas estados alrededor de sees()". En Windows, señala que las ventanas elevadas son inalcanzables y que escribir es independiente de la distribución.

Verifica contra los servidores en ejecución en lugar de confiar en la configuración. Cambiar de perfil edita un archivo; no reinicia nada. Cuando no coinciden, el informe lo dice en voz alta y suprime la guía derivada del perfil, porque esa guía describiría modelos que no están cargados:

- 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 devuelve la compilación actual en cada llamada, ya que la copia de inicio se vuelve obsoleta en el momento en que cambia un perfil.

Tus propias instrucciones permanentes

voltage → i, o:

voltage instructions --set "Never touch Firefox; my banking tabs are there."

Lo que escribas se le da al modelo orquestador al comienzo de cada sesión, añadido al informe de compilación y claramente atribuido a ti. Úsalo para lo que el sistema no puede deducir por sí mismo — aplicaciones que están prohibidas, peculiaridades de un juego específico, cómo quieres que se comporte por defecto.

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.

Esa última cláusula no es decoración. Las instrucciones son consultivas para el orquestador y no pueden debilitar la aplicación — el gobernador verifica cada ráfaga en código, por lo que nada escrito aquí puede permitir algo que la política de un Playbook prohíba. Pueden hacerlo más cuidadoso, no menos. Limitado a 4000 caracteres, ya que el texto está en el contexto del modelo durante toda la sesión. Se ofrecen tres plantillas de inicio (juegos, escritorio, mínimo) en la consola.

Herramientas MCP

Herramienta

Propósito

voltage_reference

La referencia del Playbook + DSL de ráfagas. Llama a esta primero.

voltage_doctor

¿Está lista esta máquina? Y si no, la solución exacta

voltage_capture

Una captura de pantalla, devuelta a ti

voltage_observe

Una pasada de visión — comprueba que una lista watch funciona antes de confiar en ella

voltage_validate_playbook

Verificación estática completa: guardas, ráfagas, grafo, transiciones muertas

voltage_run

Inicia una ejecución; devuelve un run_id

voltage_status

Estado, variables, última ráfaga, lo que se vio, tiempos por etapa

voltage_steer

Corrige una ejecución en vivo — sugerencia, variables, estado forzado, dry_run

voltage_stop / voltage_pause

Detener o pausar; detener siempre libera la entrada mantenida

voltage_journal

Registro ciclo por ciclo; only_refused para ver conflictos de política

voltage_execute_burst

Maneja la entrada tú mismo, omitiendo los modelos locales

voltage_calibrate

Verifica que la inyección llega al compositor

Documentación

  • ARCHITECTURE.md — cómo funciona el bucle, por qué se tomó cada decisión, dónde se va el tiempo

  • PLAYBOOK.md — la guía de autoría

Estado

Construido y verificado hasta donde se puede sin pesos en disco. 149 pruebas cubren el DSL de ráfagas, el sandbox de guardas, el gobernador de seguridad, la compilación de playbooks, la generación de GBNF, la codificación de cable de uinput y el propio bucle de ejecución (manejado con modelos simulados — incluyendo una verificación de que la percepción on_change realmente omite el modelo de visión en una pantalla estática).

El servidor MCP se manejó de extremo a extremo sobre stdio por un cliente real: 13 herramientas, esquemas correctos, execute_burst aceptó una ráfaga válida y rechazó sudo rm -rf / con ambas reglas coincidentes.

Lo que no se ha ejecutado es un modelo en vivo: eso necesita llama.cpp compilado y pesos descargados, lo cual scripts/ configura. Dos cosas tampoco se activaron deliberadamente durante la compilación — el diálogo de permiso del portal y cualquier inyección de entrada real — ya que ambas actúan en tu escritorio.

Orden de operaciones desde aquí:

./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

Luego, en un cliente MCP: voltage_calibrate (observa cómo se mueve el cursor), voltage_observe (comprueba que el modelo de visión encuentra tus etiquetas), luego un Playbook de dry_run y lee voltage_journal antes de establecer dry_run=false.

Autoría

Escrito de principio a fin por Claude Opus 5 (Anthropic) en una sola sesión: arquitectura, implementación, pruebas y documentación. Un humano especificó la idea, estableció las restricciones (KDE Wayland, 6 GB de VRAM, "más rápido que computer-use") y revisó el resultado, pero no escribió el código.

Los hallazgos sobre la plataforma integrados en este repositorio provienen de sondear la máquina durante la compilación, no de suposiciones: que KWin rechaza ScreenShot2 para ejecutables no incluidos en la lista de permitidos, que grim no funciona bajo KWin, que los clientes MCP eliminan el bus de sesión. Cada uno está documentado en el punto del código donde obligó a tomar una decisión.

LICENSE no nombra a ningún individuo como titular de los derechos de autor, y el razonamiento está escrito allí.

Licencia

MIT. Consulta LICENSE.

Available Tools

16 tools
voltage_calibrateA
Destructive

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dry_runNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.8/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters1/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_captureA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
regionNo
max_widthNo

TDQS

A4.1/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_diagnoseA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
run_idNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.1/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters2/5

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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: '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.

Usage Guidelines4/5

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_doctorA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.6/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters5/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_burstA
Destructive

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
burstYes
labelNomanual
dry_runNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.6/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines5/5

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_journalA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
run_idNo
only_refusedNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters2/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_learnA
Destructive

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).

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNoobservation
noteYes
targetYes
playbookNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.7/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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_lessonsA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
targetNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.5/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters3/5

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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: '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.

Usage Guidelines5/5

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_observeA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
watchYes
regionNo
read_textNo
max_elementsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.6/5.0
Behavior4/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters2/5

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.

Purpose4/5

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.

Usage Guidelines4/5

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_pauseB
Destructive

Pause or resume a run. Held input is not released, so a paused run can continue.

ParametersJSON Schema
NameRequiredDescriptionDefault
resumeNo
run_idNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters1/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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_referenceA
Read-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

ParametersJSON Schema
NameRequiredDescriptionDefault
sectionNoall

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.8/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters5/5

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.

Purpose5/5

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.

Usage Guidelines5/5

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_runA
Destructive

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dry_runNo
playbookYes
keep_framesNo
target_period_sNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.6/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines5/5

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_statusA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
run_idNo
journal_tailNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.9/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters1/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_steerA
Destructive

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
hintNo
run_idNo
dry_runNo
variablesNo
force_stateNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.8/5.0
Behavior3/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_stopA
Destructive

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
reasonNostopped by orchestrator
run_idNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters2/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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_playbookA
Read-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.

ParametersJSON Schema
NameRequiredDescriptionDefault
playbookYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.7/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

  1. 16 tool updatesv0.1.0
    • First observedvoltage_calibrate
    • First observedvoltage_capture
    • First observedvoltage_diagnose
    • First observedvoltage_doctor
    • First observedvoltage_execute_burst
    • First observedvoltage_journal
    • First observedvoltage_learn
    • First observedvoltage_lessons
    • First observedvoltage_observe
    • First observedvoltage_pause
    • First observedvoltage_reference
    • First observedvoltage_run
    • First observedvoltage_status
    • First observedvoltage_steer
    • First observedvoltage_stop
    • First observedvoltage_validate_playbook

TDQS

A4.1/5.0

Scored across 16 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness5/5

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

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    A local autonomous AI agent that watches your screen, understands the visual layout, and executes native OS commands (clicking, typing) without cloud APIs.
    16
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to declaratively control web pages using real mouse and keyboard events via Chrome DevTools Protocol, without executing page JavaScript.
    10 npm
    1
    -
  • A
    license
    A
    quality
    B
    maintenance
    Enables 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.
    5
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to automate real desktop applications across Windows, Linux, and macOS using incremental screen perception, accessibility trees, OCR, and window management, dramatically reducing token usage compared to screenshot-per-step approaches.
    39 PyPI
    3
    MIT