Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPEN_HANDS_PORTNoSerial 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_TEXTNoWhen true, the audit log keeps only the length and SHA-256 of text (config key redact_text).true
OPEN_HANDS_WATCHDOG_MSNoWatchdog timeout in milliseconds (config key watchdog_ms).1500
OPEN_HANDS_LEASE_IDLE_SNoIdle time in seconds after which the lease ends (config key lease_idle_s).300
OPEN_HANDS_TOLERANCE_PXNoCursor position tolerance in pixels (config key tolerance_px).1
OPEN_HANDS_PASTE_ENABLEDNoEnables esp_paste, which overwrites your clipboard (config key paste_enabled).false
OPEN_HANDS_TYPE_PER_KEY_MSNoDelay 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_DESKTOPNoAllow 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_WIDTHNoMaximum width of a screenshot (config key screenshot_max_width).1568
OPEN_HANDS_ALLOW_ELEVATED_FOREGROUNDNoAllow 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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 begin. control_busy means another task holds it: do not retry in a loop. The lease expires after 300 s without actions.

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 amount notches, at the cursor or first at (x, y) with the same verification as esp_click.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 15 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues