Windows desktop automation tools for discovering windows and UI, focusing targets, interacting with mouse or keyboard, waiting for state changes, and capturing visual context.
PeekWin provides 27 well-named, action-verb tools with consistent descriptions and explicit input schemas. All tools have descriptions (10 - 200 chars, within baseline 34 - 392 range). All parameters are typed and described. However, output schemas are not documented, LLMs cannot predict return structure for chaining. Error handling is absent: no recovery guidance, no categorization of retryable vs fatal errors. Tool descriptions lack WHEN-to-use context and prerequisites. No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels. Parameter descriptions are minimal (avg ~30 chars vs baseline 72 chars). Missing pagination guidance for list tools. Overall solid naming and schema structure, but insufficient LLM-optimization and error guidance.
Primary pointer action. Use this for most button, link, and control activation once the target window or area is known.
Return the current virtual desktop.
List virtual desktops.
Switch to a virtual desktop by index.
Drag from one point to another for drag-and-drop or slider movement. Do not use this for page scrolling; use `scroll` instead.
Low-level mouse press tool. Prefer `click` or `drag` unless you specifically need split press and release control.
Low-level mouse release tool. Prefer `click` or `drag` unless you specifically need split press and release control.
Output schemas not documented. LLMs cannot predict return structure for tool chaining or field extraction. E.g., window_list returns what fields? Does it include window handles for downstream window_focus calls?
No error handling or recovery guidance. Tools fail silently or return raw errors. LLMs cannot distinguish retryable (timeout) from fatal (invalid window) errors. No guidance on next steps.
Tool annotations missing. Code declares ReadOnly=true for some tools but MCP schema lacks readOnlyHint. Destructive tools (window_close) lack destructiveHint annotation. Idempotent tools lack idempotentHint.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Paste text instead of typing it key by key. Prefer this for long text or when exact literal content matters.
Move the pointer without clicking. Prefer `click`, `drag`, or `scroll` unless hover or pointer positioning specifically matters.
Press one key, optionally repeated. Use `send_hotkey` for shortcut chords like Ctrl+S.
Return monitor layout and bounds for coordinate planning only. Do not use this for window discovery or UI inspection.
Scroll by wheel ticks. Positive `ticks` scroll down, negative `ticks` scroll up. Use this for page or pane scrolling.
Capture and analyze visible UI structure, controls, and text. Returns a snapshot with element tree and reference IDs for targeting.
Send keyboard shortcut chords like Ctrl+S, Alt+Tab, or Win+V.
Default text-entry tool. Use this for most text input after focusing the right window or target ref.
Wait for a UI element reference to appear or disappear.
Wait for text to appear or disappear on screen.
Wait for a window to appear or disappear.
Close a target window.
Bring a window to the foreground before typing or pointer actions. Use this when the target window may not already be active.
Inspect top-level window metadata and bounds. Use `see_ui` instead when you need controls or visible UI structure.
List candidate top-level windows before focusing or inspecting one. Use this when you do not already know the exact target window.
Maximize a target window.
Minimize a target window.
Move a window to an absolute screen position.
Resize a window to the requested width and height.
Restore a minimized or maximized window.
Parameter descriptions are minimal (avg ~30 chars vs baseline 72 chars). E.g., 'Window title' lacks context on whether partial matches work, case sensitivity, or required format. LLMs cannot infer constraints.
List tools (window_list, desktop_list) lack pagination parameters (limit, offset, cursor). No guidance on result limits. Large result sets could exhaust context window.