Cross-platform desktop GUI automation MCP — accessibility tree first, vision as last resort
Strong tool naming (verb-first, clear intent) and comprehensive descriptions (100-300 chars, well above 10-char minimum). All 16 tools have explicit input schemas with typed parameters. However, output schemas are underdocumented, most tools return dicts/lists without field-level descriptions. Error handling is minimal: tools return basic {ok, error} or raw results without recovery guidance. No tool annotations (readOnlyHint/destructiveHint) despite clear risk distinctions (click vs list_windows). Parameter descriptions are present but sparse, many lack format/constraint details (e.g., 'timeout in seconds' lacks min/max bounds). Composition is excellent: tools chain well (list_windows → get_tree → find_elements → click), and handle IDs flow correctly between calls.
Click / invoke an element. Foreground-independent — does not steal focus. Get handle_id from find_elements() or get_tree().
Click at absolute screen coordinates. Foreground-independent fallback for when accessibility-based clicking isn't available — webview content, custom-drawn UI, etc.
Find interactive elements by role and/or name. Returns element handles — pass the 'id' field to click/type_text/etc. Common roles: button, combo box, text, entry, check box, menu item.
Return the accessibility tree for a window as a compact JSON string. Use list_windows() first to get a window_id. Empty, nameless layout wrappers are pruned automatically, so the tree stays compact even on content-heavy pages while every named or interactive node is preserved. Very large pages are additionally capped to a byte budget so the result always fits the client: when that happens the root object carries "truncated": true and "dropped_nodes" (a count). To see the cut content, pass max_depth (e.g. 8) to cap recursion depth, or use find_elements() to target specific controls. Returned as a compact JSON string (not a nested object) so the client's result-size cap counts real content, not indentation whitespace; parse it with a JSON loader.
Get the current text value or state of an element.
Output schemas underdocumented. Most tools return dicts/lists without field-level descriptions. LLMs cannot infer which fields are present or their types (e.g., get_tree returns compact JSON string, but field structure is not documented in tool description).
No tool annotations (readOnlyHint/destructiveHint/idempotentHint). Tools like click, type_text, press_key, click_at, stop_recording, run_sequence are destructive/write operations but lack explicit risk markers. LLMs cannot distinguish safe reads from dangerous writes without reading descriptions.
Error handling lacks recovery guidance. Tools return {ok, error} or raw results without actionable next steps. E.g., click() returning error='element not found' does not tell LLM to retry with find_elements() or screenshot().
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | <=2025-11-25 | v2 |
Resolve semantic names to live handle IDs for the current session. Store the returned map and pass handle IDs directly to run_sequence to skip find_elements on every action.
List all visible application windows on the desktop. Fields per entry: id, name, pid, focused, minimized bounds: [x, y, width, height] in global screen coords (top-left origin), or null when the platform can't report it. Use this to translate screenshot pixels to click_at coordinates. accessible: false signals the platform a11y tree has nothing for this window — find_elements / get_tree will return empty. Skip those tools and use screenshot + click_at directly. Chromium-family windows (Electron/CEF) get an automatic wake poke first — their lazy a11y trees are enabled and re-probed before this is stamped false — so a false here means genuinely canvas-only: custom OpenGL/Vulkan surfaces, raw immediate-mode toolkits without an AccessKit adapter. (egui+accesskit surfaces as accessible=true.)
Inject a key press. key is a name like 'Down', 'Up', 'Return', 'Escape', 'Tab', 'Left', 'Right', or a single character.
Execute a list of actions server-side in one call. Supported actions: {"action": "click", "handle": "..."} {"action": "click_at", "x": 100.0, "y": 200.0, "window_id": null} {"action": "type", "handle": "...", "text": "..."} {"action": "key", "key": "Return", "window_id": null} {"action": "select", "handle": "...", "value": "..."} {"action": "get_value", "handle": "..."} {"action": "sleep", "seconds": 0.1} {"action": "wait_for_element", "window_id": "...", "role": null, "name": null, "state": null, "timeout": 5.0} {"action": "wait_for_window", "pattern": "...", "timeout": 5.0} Returns a list of per-step result dicts with at least {step, action, ok}. Aborts on the first failure when stop_on_error is True.
Capture a PNG screenshot of a window or the full screen.
Select an option in a combo box or list by its visible text.
Start screen recording. Returns a recording handle.
Stop recording and export as GIF. Returns the output path.
Type text into a field. Uses native SetValue — foreground-independent. Falls back to key injection if the element doesn't support SetValue.
Wait until a matching element exists and optionally has the given state. Useful after clicks that trigger async UI changes.
Wait until a window matching title_pattern appears. Returns null on timeout. Useful after triggering an action that opens a dialog.
Parameter constraints incomplete. timeout parameters lack min/max bounds (e.g., wait_for_window timeout: 'Timeout in seconds', no range specified). fps in start_recording has no bounds. LLMs may pass absurd values (timeout=999999, fps=1000).
learn_layout parameter 'descriptors' is under-specified. Accepts 'object' with additionalProperties but no example structure or validation rules. LLMs cannot infer the expected shape (role/name pairs, nested objects, etc.).