Skip to main content
Glama
casualkre

VoltageInputMcp

by casualkre

VoltageInputMcp

Ein MCP-Server, der es einem Frontier-Modell ermöglicht, einen Computer mit Eingabegeschwindigkeit statt mit Tool-Aufruf-Geschwindigkeit zu steuern.

Das Problem

Computer-Use-Tools machen für jede Aktion einen Roundtrip zu einem entfernten Modell. Screenshot hoch, Entscheidung runter, ein Klick. Das ist in Ordnung zum Ausfüllen eines Formulars und nutzlos für alles, was eine Sequenz von schnell gelieferten Eingaben benötigt – Spielen, Arbeiten mit einem modalen Dialog, Steuern einer Timeline, jede UI, bei der die dritte Eingabe davon abhängt, dass die ersten beiden bereits angekommen sind. Der Engpass ist nicht die Intelligenz des Modells. Es ist die Tatsache, dass diese Intelligenz 800 ms entfernt ist und Eingaben 8 ms auseinanderliegen müssen.

Related MCP server: live-mcp

Die Form der Antwort

Entscheiden vom Ausführen trennen und das Ausführen auf dieselbe Maschine wie die Tastatur legen.

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

Der Orchestrator ist das Gehirn. Die kleinen Modelle sind die Arme. Die Arme sind nicht intelligent und werden nie darum gebeten, es zu sein.

Woher die Geschwindigkeit tatsächlich kommt

Nicht von schnellen kleinen Modellen – ein 3B-VLM kostet immer noch ~300 ms. Sie kommt von vier Dingen, in absteigender Reihenfolge der Wirkung:

Bursts. Der Aktuator gibt keine Eingabe aus. Er gibt einen Burst aus: ein zeitgesteuertes Programm von Eingaben, das von einem dedizierten Executor ohne Modell in der Schleife ausgeführt wird.

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

Das ist eine Entscheidung und sieben Eingaben über ~400 ms, millisekundengenau geplant. Ein 40-Aktionen-Burst kostet immer noch eine Entscheidung. Die Eingaberate wird vom Burst bestimmt, nicht vom Modell.

Reflexe. Regeln, die auf billige Bildschirm-Sonden feuern – ein Pixel, ein Regionsdurchschnitt – in Mikrosekunden, zwischen Entscheidungen, ganz ohne Modell.

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

Perception überspringen. Die meisten Zyklen betrachten einen Bildschirm, der sich nicht verändert hat. Ein 40-µs-Frame-Diff entscheidet, ob 300 ms für das Vision-Modell ausgegeben werden oder die letzte Beobachtung wiederverwendet wird. Bei normaler Desktop-Arbeit überspringt das den VLM in den meisten Zyklen.

Prompt-Cache-Lokalität. Prompts sind statisch-zuerst geordnet, sodass llama.cpp den KV-Cache wiederverwendet und nur den geänderten Schwanz neu prefillt.

Warum die kleinen Modelle trotz ihrer Größe zuverlässig sind

Weil sie nicht gebeten werden, zuverlässig zu sein – sie werden eingeschränkt.

Unter llama.cpp generieren beide Modelle gegen eine GBNF-Grammatik, die in jedem Zyklus aus dem aktuellen Zustand neu generiert wird. Die Grammatik ist kein Ratschlag. Sie maskiert die Logits, sodass nur Token erreichbar sind, die einen gültigen Parse fortsetzen. Konkret kann der Aktuator nicht:

  • einen fehlerhaften Burst ausgeben

  • eine Taste benennen, die die Richtlinie verweigert – die Taste ist nicht in der Grammatik

  • ein Element referenzieren, das nicht beobachtet wurde – der Indexbereich wird aus der Elementanzahl dieses Zyklus aufgebaut

  • einen Zustandsübergang vorschlagen, den das Playbook nicht deklariert hat

Und das Vision-Modell kann keinen UI-Elementnamen erfinden: Sein Label-Vokabular ist die watch-Liste, die Sie geschrieben haben, plus eine kleine generische Menge. Ein sees("address bar")-Guard vergleicht also gegen ein geschlossenes Vokabular und nicht gegen irgendein Nomen, das ein 3B-Modell gerade produziert hat.

Es gibt keine Retry-Schleife und kein defensives JSON-Parsing, weil fehlerhafte Ausgabe nicht unwahrscheinlich ist – sie ist nicht darstellbar.

Das Playbook

Sie geben den kleinen Modellen kein Ziel. Sie geben ihnen eine Zustandsmaschine. Übergänge sind Guard-Ausdrücke, die von der Laufzeit ausgewertet werden, nicht von einem Modell.

{
  "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 gibt die vollständige DSL, das JSON-Schema und die Guard-Funktionstabelle zurück, sodass ein Orchestrator eines erstellen kann, ohne dieses Repo zu lesen.

Leistungsoptimierung

Alle Zahlen unten sind gemessen auf der Referenzmaschine (RTX 3050 6-GB-Laptop, Qwen2.5-VL-3B + Qwen3-1.7B unter llama.cpp), nicht abgeleitet.

Beide Modelle sind decode-gebunden. Ausgabe-Token sind der einzige Hebel, der zählt.

Das war eine Überraschung – das Design ging ursprünglich davon aus, dass Vision prefill-gebunden ist, und das ist es nicht. Prefill wurde mit ~28 ms und flach von 448×252 bis 896×504 gemessen. Decode läuft mit ~22 ms/Token. Also:

was

Kosten

ein Ausgabe-Token

~22 ms

ein gemeldetes Element

~21 Token ≈ 500 ms

Vision, 2 Elemente

~1,0 s

Vision, 4 Elemente

~2,2 s

Aktuator, gecachtes Präfix

140–400 ms je nach Notizlänge

Drei Konsequenzen, von denen jede einen Standardwert geändert hat:

  • max_elements ist der dominante Vision-Kostenfaktor. Standard ist 3. Eine Erhöhung auf 6 fügt ~1,5 s pro wahrgenommenem Zyklus hinzu. Setzen Sie es auf die Anzahl, die Ihre Guards tatsächlich testen.

  • Eine Verkleinerung von downscale_to hilft nicht und schadet meistens. 448×252 wurde 2,5× langsamer gemessen als 896×504 – ein unscharferes Bild macht das Modell unsicherer, also gibt es mehr Token aus. Verwenden Sie die größte Größe, die passt.

  • Das note-Feld des Aktuators kostete 55 % seiner Latenz. Es ist rein diagnostisch, und bei 48 Zeichen wurden 412 ms/Zyklus gemessen gegenüber 184 ms bei 12 Zeichen und 140 ms bei 0. Der Standard ist jetzt 12.

Elemente werden als [label_index, x1, y1, x2, y2] kodiert und nicht als {"l":"address bar","b":[...],"c":0.9} – aus demselben Grund: gemessen 27–29 % weniger Token und 32–41 % geringere Latenz. Die Indizierung in das geschlossene watch-Vokabular ist auch sicherer: Das Modell kann ein Label überhaupt nicht buchstabieren, geschweige denn falsch buchstabieren.

Die GBNF-Auswertung läuft einmal pro gesampeltem Token auf der CPU, also bekommt der Aktuator mehr CPU-Threads als das Vision-Modell, obwohl es vollständig auf die GPU ausgelagert ist – und die Einschränkung von allow_keys ist eine Latenzoptimierung, nicht nur eine Sicherheitsmaßnahme.

Zwei Einstellungen, die still fehlschlagen, wenn sie falsch sind:

  • GGML_CUDA_FA_ALL_QUANTS=ON zur Build-Zeit. Wir bedienen mit q8_0-KV-Cache und Flash Attention. Ohne dieses Flag kompiliert llama.cpp keine FA-Kernel für diese KV-Kombination und fällt auf einen langsamen Pfad zurück – kein Fehler, nur mysteriös schlechte Zahlen. scripts/build-llama.sh setzt es.

  • GGML_CUDA_ENABLE_UNIFIED_MEMORY=0 zur Laufzeit. Wenn es 1 ist, läuft VRAM-Überlauf still über PCIe über, statt fehlzuschlagen. Alles funktioniert und ist ~10× langsamer. serve.sh fixiert es auf aus.

Messen statt raten:

.venv/bin/voltage bench

Es treibt beide Backends mit exakt den Prompt-Formen an, die die Schleife verwendet, und berichtet Kalt- vs. Prompt-gecachte Latenz, ms-pro-visuellem-Token bei drei Eingabegrößen und die Zykluszeit, die diese implizieren. Ein Prompt-Cache-Beschleunigungsfaktor unter ~1,5× bedeutet, dass etwas Dynamisches in das Prompt-Präfix ausgelaufen ist.

Modelle vergleichen

Das naheliegende Experiment – „welches Modell schreibt bessere Bursts" – misst das Falsche. Die Grammatik garantiert bereits, dass jeder Burst gültig ist, also kann ein größeres Modell bei der Syntax nicht gewinnen. Was tatsächlich entscheidet, ob eine Konfiguration brauchbar ist:

  1. Grounding-Genauigkeit. Ein Modell, das 200 ms schneller und 40 px daneben ist, ist nutzlos – der Klick geht daneben. Gemessen als Zentrumsdistanz in Bildschirmpixeln, nicht IoU, weil ein Klick im Zentrum landet.

  2. Entscheidungsqualität unter Einschränkung. Wählt es bei derselben Beobachtung die richtige legale Aktion, und verkettet es eine ganze Sequenz in einen Burst, statt eine schüchterne Aktion pro Zyklus auszugeben?

  3. Latenz, die nur zählt, sobald 1 und 2 akzeptabel sind.

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

Ground Truth stammt aus echten Screenshots, die vom orchestrierenden Modell gelabelt wurden – was dieselbe Referenz ist, die dieses System zur Laufzeit verwendet. Synthetische UI ist eine Falle: Ein gezeichnetes Rechteck liest sich für ein Modell, das auf echten Oberflächen trainiert wurde, nicht als Button, also misst das Bewerten dagegen die falsche Fähigkeit.

Ergebnisse akkumulieren sich über Läufe, also ist der Workflow: Profil A bedienen → compare → Profil B bedienen → compare → die Tabelle lesen. voltage compare --list gibt sie aus, ohne neu zu laufen.

Fixtures gehören Ihnen und werden nicht eingecheckt. Fügen Sie fixtures/ zu .gitignore hinzu, wenn Ihre Screenshots etwas Privates enthalten.

Die Lernschleife

Das erste Playbook für ein unbekanntes Ziel ist fast nie richtig. Was zählt, ist, dass die Fehlschläge spezifisch sind und dass der nächste Versuch von dem startet, was der letzte gelernt hat.

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 ist das Stück, das dies zu einer Schleife macht. Es berechnet, was das Journal impliziert, aber nicht ausspricht, und benennt die Bearbeitung für jedes. Bei einem festgefahrenen Minecraft-Lauf:

[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

Die Unterscheidung, für die es existiert: Ein Burst, der nie lief, und ein Burst, der lief und nichts tat, sehen in einer Zusammenfassung identisch aus und haben unzusammenhängende Ursachen. Das erste ist Richtlinie oder Grammatik. Das zweite ist Fensterfokus, Zeigermodus oder eine App, die synthetische Eingaben ignoriert. Diagnose trennt sie, indem es prüft, ob sich der Frame nach der Ausführung tatsächlich geändert hat.

Wenden Sie den Befund mit der höchsten Schwere an, führen Sie erneut aus, diagnostizieren Sie erneut. Eine Änderung nach der anderen – mehrere auf einmal macht die nächste Diagnose uninterpretierbar.

Lektionen bleiben über Sitzungen hinweg bestehen, schlüsselgebunden an das Ziel, sodass das zweite Playbook für ein Spiel von den Sondenkoordinaten und funktionierenden Labelnamen startet, die das erste entdeckt hat:

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

Sicherheit

Das Ding, das Eingaben erzeugt, ist ein 1,7B-Modell. Der Governor ist die Schicht, die nicht beratend ist: Jeder Burst geht durch ihn hindurch, einschließlich Reflex-Bursts und solcher, die Sie selbst geschrieben haben.

  • dry_run ist der Standard. Ein neues Playbook parst, prüft und journalt jeden Burst, während es nichts anfasst.

  • Ganz-Burst-Verweigerung. Eine beabsichtigte Sequenz halb auszuführen ist schlimmer, als sie nicht auszuführen.

  • deny_labels verweigert einen Klick auf alles, was Delete / Confirm / Purchase / Allow heißt, wo immer es erscheint – das fängt den Dialog, der irgendwo unerwartet aufpoppt.

  • Regionsbegrenzung, Tasten-Allowlists, verweigerte Akkorde (ctrl+alt+delete, alt+f4), verweigerte Textmuster (rm -rf, sudo), Burst-Größen- und Eingaben-pro-Sekunde-Obergrenzen.

  • Vier unabhängige Stopps: voltage stop (schreibt eine Datei – funktioniert über SSH), ein Deadman-Timer, der auf einem eigenen Thread feuert, wenn die Schleife hakt, physische Eingabekonkurrenz (die echte Maus berühren und es stoppt), und Playbook-Budgets.

  • Gehaltene Tasten werden immer losgelassen – bei Abbruch, bei Absturz, bei Timeout. Ein Lauf, der zwischen d:shift und u:shift unterbrochen wird, darf Shift nicht gedrückt lassen.

Installation

Von nichts zu funktionierend, zwei Befehle.

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

Dann, auf beiden:

voltage setup

install.sh kümmert sich um Python, Systempakete, die venv und Ihren PATH und gibt die exakten sudo-Zeilen für alles aus, was Root benötigt, statt danach zu fragen. voltage setup erkennt dann, was Sie bereits haben, lädt nur das Fehlende herunter, startet die Modell-Server und registriert sich bei Ihrem AI-Client – führt jeden Schritt aus, statt ihn zu beschreiben. Zehn bis fünfundzwanzig Minuten, fast alles davon Download-Zeit. Sicher erneut auszuführen; es setzt dort fort, wo es aufgehört hat.

Dann einfach ausführen:

voltage

Setup erkennt, was Sie bereits haben, und fährt von dort fort. Es nimmt keinen Startpunkt an: Es prüft Ihr OS, Ihre GPU, ob llama.cpp oder Ollama installiert ist, welche Modelle bereits geladen sind, ob Eingabe und Erfassung funktionieren und ob der MCP-Server registriert ist – dann plant es nur die Schritte, die tatsächlich übrig sind, und sagt, welche eine Entscheidung von Ihnen brauchen und welche es einfach tun kann. Wenn Sie bereits Ollama haben, verwendet es es. Wenn Sie keinen der beiden Backends haben, erklärt es den Trade-off in zwei Zeilen und lässt Sie wählen.

Ohne Argumente öffnet das eine interaktive Konsole: Live-Status, geführte Einrichtung, die behebt, was nicht bereit ist, in Abhängigkeitsreihenfolge, einen Modellwechsler, einen Konfigurationseditor, Ein-Tasten-Registrierung bei Claude Code und Diagnostik. Jeder Unterbefehl unten funktioniert weiterhin nicht-interaktiv, sodass Skripte und CI unbeeinflusst bleiben.

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

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

Experimentelle Profile

Separat in voltage → Modelle aufgelistet, jeweils hinter einer Warnung, die Sie akzeptieren müssen. Sie existieren, weil die Messungen die Trade-offs vorhersehbar machen: Decode dominiert bei ~22 ms/Token und skaliert mit aktiven Parametern, also erhöht das Verkleinern der Modelle tatsächlich die Schleifenrate. Was es kostet, ist Grounding.

Profil

Modelle

VRAM

Abwägung

hyper

SmolVLM-500M + Qwen3-0.6B

~2,2 GB

3–4× die Schleifenrate, Grounding funktioniert kaum

fast

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

~3,8 GB

schnellere Entscheidungen, Grounding unverändert

beefy

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

~34 GB

bestes Grounding, 1–2,5 s/Zyklus

beefy_moe

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

~43 GB

30B-Kapazität bei ~3B-Dekodiergeschwindigkeit

cpu_only

3B + 0,6B auf CPU

keine

funktioniert ohne GPU, Sekunden pro Zyklus

Zwei sind besonders erwähnenswert:

hyper ist das gefährliche. SmolVLM-500M ist kein Grounding-Modell. Es wird Bounding-Boxen zurückgeben, und die werden oft falsch sein – und eine falsche Box ist ein Klick an der falschen Stelle, keine sanfte Verschlechterung. Verwenden Sie es nur dort, wo watch leer ist (Sonden und Reflexe erledigen die eigentliche Arbeit) oder wo jeder Klick durch click_allow_regions und require_target_element abgesichert ist.

beefy_moe ist das interessante. Qwen3-30B-A3B ist ein Mixture-of-Experts-Modell mit ~3B aktiven Parametern, dekodiert also mit ungefähr 3B-Geschwindigkeit, während es mit 30B-Kapazität denkt – und genau das Dekodieren ist der Engpass dieser Schleife. Ein deutlich besserer Aktuator als ein dichtes 14B-Modell bei ähnlicher Latenz. Der Haken ist der Speicher: Nur die aktiven Experten sind schnell, nicht die Gewichte, also müssen alle 30B trotzdem im Speicher liegen.

recommend() gibt niemals ein experimentelles Profil zurück, und ein Test erzwingt das.

Benutzerdefinierte Modellprofile

Die eingebauten Profile decken die Maschinen ab, gegen die das entwickelt wurde, nicht Ihre. Fügen Sie eigene über voltage → profiles hinzu oder indem Sie profiles.toml neben Ihrer Konfiguration bearbeiten:

[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

Benutzerdefinierte Profile werden über den eingebauten nach Name zusammengeführt, sodass ein Profil namens lean das eingebaute neu abstimmt, ohne das Paket zu forken. Verwenden Sie ollama_tag statt hf_repo/hf_file für das Ollama-Backend.

Ein Slot ist wählerisch, einer nicht. Vision muss auf Anfrage geerdete Bounding-Boxen ausgeben können – Qwen2.5-VL, Qwen3-VL, InternVL, MiniCPM-V und UI-TARS können das alle; ein allgemeiner Captioner beschreibt Ihren Bildschirm wunderschön und platziert die Boxen an der falschen Stelle. Der Aktuator ist nachsichtig: Unter einer GBNF-Grammatik wählt er aus einer Handvoll zulässiger Fortsetzungen, sodass fast jedes kompetente 1B+-Instruct-Modell funktioniert.

Shell-Befehle vs. MCP-Tools

Zwei verschiedene Oberflächen, und sie zu verwechseln ist der übliche erste Stolperstein:

aufgerufen

sieht aus wie

Shell-Befehl

in einem Terminal getippt, mit Leerzeichen

voltage doctor

MCP-Tool

Claude gefragt, mit Unterstrich

voltage_doctor

voltage_doctor ist ein Tool-Name im Namensraum von Claude, kein Programm auf der Platte. Es in einem Terminal zu tippen ergibt immer „unknown command". Bitten Sie stattdessen Claude, es auszuführen.

Das prüft den /dev/uinput-Zugriff, installiert Systemabhängigkeiten, erstellt die venv und gibt aus, was fehlt. Dann:

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

Verbinden mit einem Client

voltage connect

Zeigt, was eingerichtet ist, die Live-URLs, ob die Modelle laufen und ob der Server registriert ist – und gibt dann Copy-Paste-Schritte pro Client aus, mit Ihren echten Pfaden und Umgebungsvariablen bereits ausgefüllt:

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

Abgedeckt: Claude Code, Claude Desktop, claude.ai-Custom-Connector, Cursor, Windsurf, Zed und ein generischer mcpServers-Block für alles andere. Dasselbe ist Bildschirm 4 in der voltage-Konsole, die auch die Claude-Desktop-Konfiguration für Sie schreiben kann (mit Sicherung der vorhandenen Datei und Verweigerung, sie anzufassen, wenn sie kein gültiges JSON ist).

Jede generierte Konfiguration trägt die Sitzungsumgebung explizit, denn genau das geht schief: Ein Server, der aus einer Shell ohne DBUS_SESSION_BUS_ADDRESS registriert wurde, verbindet sich erfolgreich und ist stumm blind – Eingabe funktioniert, Bildschirmaufnahme nicht. voltage connect erkennt diesen Fall und sagt es.

Hinzufügen als Custom Connector

Clients, die MCP-Server per URL hinzufügen, benötigen HTTP statt stdio:

voltage serve --http

Dann fügen Sie http://127.0.0.1:8765/mcp als Custom Connector hinzu.

Das Binden ist auf Loopback beschränkt, und --allow-remote ist erforderlich, um das zu ändern. Das ist kein Boilerplate: Dieser Server existiert, um die Maus zu bewegen, Tasten zu drücken und den Bildschirm zu lesen, und MCP hat keine eigene Authentifizierung. Ein Nicht-Loopback-Bind veröffentlicht nicht authentifizierte Fernsteuerung Ihres Desktops. Wenn Sie es wirklich brauchen, setzen Sie einen authentifizierenden Reverse-Proxy davor und verstehen Sie, dass jeder, der den Port erreicht, die Maschine besitzt.

Starten aus einem MCP-Client

MCP-Clients starten Server mit einer bereinigten Umgebung – PATH, HOME und wenig sonst. Das ist eine sinnvolle Voreinstellung und bricht die Bildschirmaufnahme, denn der Zugriff auf den Compositor benötigt DBUS_SESSION_BUS_ADDRESS und WAYLAND_DISPLAY. Eingabeinjektion funktioniert auch ohne sie (uinput ist eine Gerätedatei, kein Sitzungsdienst), sodass der Fehler verwirrend teilweise aussieht: Bursts werden ausgeführt, Screenshots nicht.

Reichen Sie sie explizit durch:

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 berichtet genau, welche davon fehlen. Wenn die Aufnahme fehlschlägt, ist das also der erste Ort, an dem man nachsehen sollte.

Plattformen

Eingabe

Aufnahme

Text

Linux

/dev/uinput (Kernel-evdev – funktioniert unter X11, Wayland, der Konsole und in Spielen mit Roh-Eingabe)

Portal→PipeWire, KWin-DBus, grim, X11

Scancodes, Zwischenablage-Fallback für Nicht-ASCII

Windows

SendInput

GDI BitBlt

KEYEVENTF_UNICODE – layoutunabhängig

Alles oberhalb der Eingabe-Senke – Burst-Planung, Timing, Halte-Tasten-Verfolgung, der Sicherheits-Governor, die gesamte Laufzeit – ist gemeinsam. Jede Plattform implementiert fünf Methoden (key, button, move_abs, move_rel, scroll); siehe inputs/sink.py.

Zwei Asymmetrien, die man kennen sollte:

  • Tippen ist unter Windows korrekter. KEYEVENTF_UNICODE liefert eine UTF-16-Codeeinheit ohne Beteiligung des Tastaturlayouts. Linux-uinput sendet Scancodes, daher kommt Interpunktion bei einem Nicht-US-Layout falsch heraus – still –, weshalb der Zwischenablage-Fallback dort existiert und unter Windows nicht nötig ist.

  • Aufnahme ist unter Linux leistungsfähiger. GDI BitBlt kann einige Hardware-Overlay-Videos und Vollbild-Exklusivspiele nicht sehen; diese werden schwarz aufgenommen. Führen Sie solche Spiele im randlosen Fenstermodus aus.

Unter Windows kann SendInput keine Fenster steuern, die einem Prozess mit erhöhten Rechten gehören (UIPI) – das schlägt still fehl, daher meldet voltage doctor Ihren Erhöhungsstatus. DPI-Bewusstsein wird beim Import deklariert; ohne es ist jede Koordinate auf einem skalierten Display falsch.

Anforderungen

  • Linux (beliebiger Display-Server) oder Windows 10/11

  • Python 3.11+

  • Eine GPU mit ~5 GB freiem Speicher für das lean-Profil; voltage profiles zeigt, was auf Ihre passt

  • llama.cpp für den schnellen Pfad oder Ollama für einen langsameren Pfad ohne Build

End-to-end verifiziert auf KDE Plasma 6 / Wayland / CUDA / Python 3.14. Die Windows-Pfade sind implementiert und typprüfbar, wurden aber nicht auf einem Windows-Rechner ausgeführt – behandeln Sie sie als ungetestet und melden Sie, was bricht.

Dem Orchestrator wird mitgeteilt, welchen Build er steuert

Dasselbe Playbook ist bei einer Konfiguration sinnvoll und bei einer anderen falsch, und ein entferntes Modell kann nicht sehen, welche vorliegt. Daher werden die MCP-Anweisungen des Servers beim Start aus der Live-Konfiguration erstellt und enthalten nur die Zeilen, die ändern, wie ein Playbook geschrieben werden sollte:

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

Bei Ollama wird diese erste Zeile zu einer Warnung, dass Bursts nicht eingeschränkt sind. Bei hyper wird daraus „bauen Sie keine Zustände um sees()". Unter Windows wird vermerkt, dass Fenster mit erhöhten Rechten unerreichbar sind und Tippen layoutunabhängig ist.

Es verifiziert gegen die laufenden Server, statt der Konfiguration zu vertrauen. Das Wechseln von Profilen bearbeitet eine Datei; es startet nichts neu. Wenn sie nicht übereinstimmen, sagt das Briefing das laut und unterdrückt die profilabgeleitete Anleitung, weil diese Anleitung Modelle beschreiben würde, die nicht geladen sind:

- 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 gibt bei jedem Aufruf den aktuellen Build zurück, da die Kopie vom Start in dem Moment veraltet, in dem sich ein Profil ändert.

Ihre eigenen stehenden Anweisungen

voltage → i, oder:

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

Was Sie schreiben, wird dem orchestrierenden Modell zu Beginn jeder Sitzung gegeben, an das Build-Briefing angehängt und klar Ihnen zugeordnet. Verwenden Sie es für das, was das System nicht selbst herausfinden kann – Anwendungen, die tabu sind, Eigenheiten eines bestimmten Spiels, wie es sich standardmäßig verhalten soll.

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.

Dieser letzte Satz ist keine Dekoration. Anweisungen sind für den Orchestrator beratend und können die Durchsetzung nicht schwächen – der Governor prüft jeden Burst im Code, sodass nichts hier Geschriebenes etwas erlauben kann, das die Richtlinie eines Playbooks verbietet. Sie können es vorsichtiger machen, nicht weniger. Auf 4000 Zeichen begrenzt, da der Text die ganze Sitzung über im Kontext des Modells liegt. Drei Startvorlagen (Spiele, Desktop, minimal) werden in der Konsole angeboten.

MCP-Tools

Tool

Zweck

voltage_reference

Die Playbook- + Burst-DSL-Referenz. Zuerst aufrufen.

voltage_doctor

Ist diese Maschine bereit, und wenn nicht, die exakte Lösung

voltage_capture

Ein Screenshot, an Sie zurückgegeben

voltage_observe

Ein Vision-Durchlauf – prüfen Sie, ob eine watch-Liste funktioniert, bevor Sie sich darauf verlassen

voltage_validate_playbook

Vollständige statische Prüfung: Guards, Bursts, Graph, tote Übergänge

voltage_run

Startet einen Lauf; gibt eine run_id zurück

voltage_status

Zustand, Variablen, letzter Burst, was gesehen wurde, Zeiten pro Stufe

voltage_steer

Korrigiert einen laufenden Lauf – Hinweis, Variablen, erzwungener Zustand, dry_run

voltage_stop / voltage_pause

Stoppen oder pausieren; Stopp gibt immer gehaltene Eingaben frei

voltage_journal

Zyklus-für-Zyklus-Aufzeichnung; only_refused für Richtlinienkonflikte

voltage_execute_burst

Steuern Sie die Eingabe selbst und umgehen Sie die lokalen Modelle

voltage_calibrate

Verifiziert, dass die Injektion den Compositor erreicht

Dokumentation

  • ARCHITECTURE.md – wie die Schleife funktioniert, warum jede Wahl getroffen wurde, wohin die Zeit geht

  • PLAYBOOK.md – der Autorenleitfaden

Status

Gebaut und so weit verifiziert, wie es ohne Gewichte auf der Platte möglich ist. 149 Tests decken die Burst-DSL, die Guard-Sandbox, den Sicherheits-Governor, die Playbook-Kompilierung, die GBNF-Generierung, die uinput-Wire-Kodierung und die Laufschleife selbst ab (mit Stub-Modellen betrieben – einschließlich einer Prüfung, dass die on_change-Wahrnehmung das Vision-Modell bei einem statischen Bildschirm wirklich überspringt).

Der MCP-Server wurde end-to-end über stdio von einem echten Client betrieben: 13 Tools, korrekte Schemas, execute_burst akzeptierte einen gültigen Burst und verweigerte sudo rm -rf / mit beiden passenden Regeln.

Was nicht gelaufen ist, ist ein Live-Modell: Das erfordert ein gebautes llama.cpp und heruntergeladene Gewichte, was scripts/ einrichtet. Zwei Dinge wurden während des Builds auch bewusst nicht ausgelöst – der Portal-Berechtigungsdialog und jede echte Eingabeinjektion –, da beide auf Ihrem Desktop wirken.

Reihenfolge der Schritte ab hier:

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

Dann in einem MCP-Client: voltage_calibrate (beobachte, wie sich der Cursor tatsächlich bewegt), voltage_observe (prüfe, ob das Vision-Modell deine Labels findet), dann ein dry_run-Playbook und lies voltage_journal, bevor du jemals dry_run=false setzt.

Autorenschaft

Geschrieben von Anfang bis Ende von Claude Opus 5 (Anthropic) in einer einzigen Sitzung — Architektur, Implementierung, Tests und Dokumentation. Ein Mensch hat die Idee vorgegeben, die Randbedingungen festgelegt (KDE Wayland, 6 GB VRAM, „schneller als computer-use") und das Ergebnis überprüft, aber den Code nicht geschrieben.

Die Plattformerkenntnisse, die in dieses Repository eingeflossen sind, stammen aus dem Sondieren der Maschine während des Builds und nicht aus Annahmen — dass KWin ScreenShot2 für nicht auf der Whitelist stehende ausführbare Dateien verweigert, dass grim unter KWin nicht funktioniert, dass MCP-Clients den Session-Bus entfernen. Jede davon ist an der Stelle im Code dokumentiert, an der sie eine Entscheidung erzwungen hat.

LICENSE nennt keine Einzelperson als Urheberrechtsinhaber, und die Begründung ist dort ausgeführt.

Lizenz

MIT. Siehe 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