Skip to main content
Glama

Execute one action

computer_action

Execute a unified GUI action such as click, type, scroll, or drag on an element or point to automate interactions across platforms.

Instructions

Execute a single unified action (spec §17): click/double_click/right_click/long_press/move/drag/swipe/scroll/type/set_value/clear/press/hotkey/select/toggle/invoke/launch_app/terminate_app/focus/back/home/wait. Provide element (from computer_locate) or point. Records to the active recorder if recording.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesUnified action
targetNoUnified device target (spec §14). Defaults to this machine with auto-detected platform.
confirmTokenNoConfirmation token from a WAITING_CONFIRMATION result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the entire behavioral burden. It discloses one useful trait ('Records to the active recorder if recording') but omits that several actions are destructive or irreversible (terminate_app, launch_app, clear), that finish/fail terminate the task, and any mention of the confirmation flow implied by the confirmToken parameter. These are significant undisclosed behaviors for a mutation-heavy tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the purpose, then the action vocabulary, then the sourcing rule and recorder behavior. The long action list is dense but defensible since it mirrors the schema discriminators; only the missing finish/fail entries make it slightly untidy rather than bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a unified 23-variant action tool with no annotations and no output schema, the description covers the basics: what it does, what to pass, and recorder side effects. It stops short of the confirmation/approval flow, irreversible-action warnings, and terminal actions, leaving real gaps given the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the action union/point/element shapes are fully structured, so baseline is 3. The description adds marginal value by explaining that element comes from computer_locate and can be substituted with a point, but it does not explain the target object, confirmToken usage, or the omitted finish/fail action variants.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Execute a single unified action') and enumerates the supported actions, which is far more informative than the bare title. The word 'single' implicitly separates it from multi-step siblings like computer_execute_task, but no sibling is named explicitly, so differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The line 'Provide element (from computer_locate) or point' gives workflow guidance by pointing at the locating tool, which is genuinely useful. However, it never says when to use this tool versus computer_step, computer_execute_task, or computer_run_script, and gives no exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.