open_hands
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPEN_HANDS_PORT | No | Serial port of the board. Either "auto" or a port name such as "COM7". Every key in %APPDATA%\open_hands\config.toml can be overridden with an OPEN_HANDS_<KEY> variable, e.g. OPEN_HANDS_PORT=COM7. | auto |
| OPEN_HANDS_REDACT_TEXT | No | When true, the audit log keeps only the length and SHA-256 of text (config key redact_text). | true |
| OPEN_HANDS_WATCHDOG_MS | No | Watchdog timeout in milliseconds (config key watchdog_ms). | 1500 |
| OPEN_HANDS_LEASE_IDLE_S | No | Idle time in seconds after which the lease ends (config key lease_idle_s). | 300 |
| OPEN_HANDS_TOLERANCE_PX | No | Cursor position tolerance in pixels (config key tolerance_px). | 1 |
| OPEN_HANDS_PASTE_ENABLED | No | Enables esp_paste, which overwrites your clipboard (config key paste_enabled). | false |
| OPEN_HANDS_TYPE_PER_KEY_MS | No | Delay per key in milliseconds when typing; 30+ for RDP, virtual machines and Electron apps (config key type_per_key_ms). | 12 |
| OPEN_HANDS_ALLOW_SECURE_DESKTOP | No | Allow actions on the lock screen and in a UAC prompt (config key allow_secure_desktop). Do NOT turn on without a reason. | false |
| OPEN_HANDS_SCREENSHOT_MAX_WIDTH | No | Maximum width of a screenshot (config key screenshot_max_width). | 1568 |
| OPEN_HANDS_ALLOW_ELEVATED_FOREGROUND | No | Allow actions over an administrator window (config key allow_elevated_foreground). | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| esp_statusA | State of the open_hands hardware mouse/keyboard: device (firmware, armed = stop button not pressed, USB), calibration, control lease, monitors and cursor position (physical screen pixels), input desktop, recent safety events. No lease needed. |
| esp_controlA | Input lease. Every input tool needs the control_id from |
| esp_moveA | Move the mouse cursor to (x, y) in physical screen pixels through the hardware mouse, then read the real cursor position. Fails with position_mismatch when it lands farther than tolerance_px. Input tools refuse to run on a lock screen or UAC prompt, over an administrator window, or while the user holds a key; user_interrupt means the user took over: ask before resuming. Positions are physical screen pixels, or with coords "screenshot" and a screenshot_id pixels of that esp_screenshot image. |
| esp_clickA | Click through the hardware mouse. With x and y it first moves there and verifies the cursor; when the cursor misses by more than tolerance_px it does NOT click (position_mismatch). Coordinates are physical screen pixels. The receipt does not confirm what the click did: check the screen. |
| esp_dragA | Drag with a mouse button: moves to the start and verifies it (no press on a miss), presses, moves to the end over duration_ms, verifies the end with the button still down, then releases. A miss at the end still releases and fails with position_mismatch. Physical screen pixels. |
| esp_scrollB | Scroll the mouse wheel (up/down) or the horizontal wheel (left/right) by |
| esp_buttonA | Press and hold (down) or release (up) a mouse button, e.g. for a drag made of several esp_move calls. The device releases it after 30 s; held_input_released or user_interrupt on a later call means it was released: start over. Other tools refuse a button held this way (button_held). |
| esp_keysA | Press a keyboard shortcut (combo) or a sequence of shortcuts on the hardware keyboard, e.g. "ctrl+s" or ["ctrl+a", "delete"]. Letters follow the layout of the foreground window. The keyboard is never left held. In a sequence a foreground window change stops it (focus_changed, with steps_done) unless allow_focus_change. For text use esp_type. |
| esp_typeA | Type text on the hardware keyboard through the layout of the foreground window (Caps Lock is compensated, never toggled). The whole text is checked first: unmappable_text lists characters that cannot be typed and nothing is typed. Stops with focus_changed or layout_changed (steps_done = keys sent) when the foreground window or its layout changes. Click into the target field first and check the screen afterwards. |
| esp_pasteA | Paste text through the clipboard: any Unicode (emoji, other scripts), as fast as one shortcut. Puts the text on the clipboard (excluded from clipboard history) and presses ctrl+v once in the foreground window. The text replaces the user's clipboard and stays there. Off unless the user enabled it (paste_disabled: use esp_type). Nothing is pasted when the clipboard or the foreground window changes first (clipboard_changed, focus_changed). Click into the target field first and check the screen. |
| esp_mediaA | Press a media key on the hardware device: mute, volume_up, volume_down, play_pause, next_track, previous_track, stop; count presses (e.g. 5 volume steps). Works whatever window is in front. Needs firmware 0.3.0 (firmware_incompatible otherwise). |
| esp_screenshotA | Screenshot of a monitor (default the primary one) or a region, scaled to max_width. The result gives screenshot_id, origin and scale: pass coords "screenshot" with that screenshot_id to the position tools to click what you see in the image. No lease needed. |
| esp_input_statusA | Input state without acting: cursor, foreground window (pid, exe, title, rect), keys and buttons held in Windows and on the device, Caps Lock, keyboard layout, input desktop. No lease needed. |
| esp_calibrateA | Measure the mapping from the hardware mouse to screen pixels (moves the cursor over a 3x3 grid and puts it back). Done automatically before the first positional action and after a display change. |
| esp_release_allA | Release every button and key on the device and abort the action in progress. Always allowed, for anyone, no lease needed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Most tools have clearly distinct actions (move vs click vs drag vs scroll, type vs paste vs keys) and descriptions explicitly differentiate them. The main overlap is esp_status vs esp_input_status, both lease-free state readers, and esp_release_all vs esp_button(up), though each description carves out its scope.
All 15 tools share the esp_ snake_case prefix, which is highly predictable. The only blemish is mixing verbs (esp_move, esp_click, esp_type) with nouns (esp_media, esp_button, esp_keys, esp_status), readable but not a single uniform pattern.
15 tools is at the top of the ideal range but each maps to a real hardware input primitive: pointer actions, keyboard entry, media keys, lease management, safety release, and state inspection. Nothing feels redundant or filler.
Covers the full input lifecycle: calibration, lease acquire, move/click/drag/scroll/button-hold, keys/type/paste, media, screenshots, and emergency release plus status. Minor gaps only, e.g. no explicit double-click, focus-window tool, or wait/delay primitive, but these are workable via click combinations and repeated calls.