MCP server for headless Wayland UI testing via waydriver
waydriver-mcp defines 13 tools with complete input schemas and descriptions. Naming follows verb_noun convention (start_session, kill_session, screenshot, click, type_text, key_press, find_element, find_by_text, wait_for_element, wait_for_stdout_line, launch_secondary_instance, get_session_log, get_video_path). All tools have descriptions (avg ~80 chars, within 10-1024 range). Input parameters are typed and described. However, output schemas are not documented, LLMs cannot predict what fields to expect from responses. Error handling is minimal; no recovery guidance or actionable error messages visible. Parameter descriptions lack format constraints (e.g., 'resolution' accepts 'WIDTHxHEIGHT' but no regex/pattern enforced). No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels (WRITE, DESTRUCTIVE, READ_ONLY). Composition is sound, each tool has one responsibility, and session_id chains tools together. Missing: pagination guidance, per-item success/failure for batch operations, and natural-language identifiers (all require opaque session_id).
Simulate a mouse click at specified coordinates
Locate a UI element by visible text using OCR
Locate a UI element by accessibility name or role
Retrieve the event log for a session
Get the path to the recorded video file for a session
Simulate a keyboard key press
Terminate a UI testing session and clean up resources
Launch a secondary instance of the application with additional arguments
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination). Forces agents to guess what data is available after each call.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Tools are marked with Risk levels (READ_ONLY, WRITE, DESTRUCTIVE) in metadata but not exposed to LLM via schema. Agents cannot distinguish safe from destructive operations.
Parameter descriptions lack format constraints. 'resolution' accepts 'WIDTHxHEIGHT' but no regex/pattern enforced in schema or description. 'button' accepts 'left|middle|right' but no enum constraint visible. LLMs will hallucinate invalid values.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
Capture a screenshot of the current session display
Start a new UI testing session with a Wayland compositor and application
Type text into the focused input field
Wait for a UI element to appear
Wait for a specific line to appear in the application's stdout
Error handling not visible. No recovery guidance, error classification, or actionable error messages documented. If a tool fails, LLM has no guidance on retry, user correction, or fallback.
All tools require opaque session_id. No natural-language identifiers (e.g., app name, window title). Agents cannot start a session by saying 'test Firefox', they must know or discover the session_id first.