Skip to main content
Glama

cua_app_control

Control macOS and Windows apps and windows: list, activate, launch, open URLs or files, run AppleScript or PowerShell, and move, resize, maximize, or tile windows.

Instructions

Manage macOS & Windows apps and windows: list, activate, launch, open_target (URL/file), applescript (macOS), powershell (Windows/cross-platform), plus window layout control (move, resize, maximize, tile_left, tile_right).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "cua_app_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
hNo
wNo
xNo
yNo
actionYes
targetNo
app_nameNo
powershellNo
applescriptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it reveals nothing about side effects, permissions, or reversibility. Critically, 'applescript' and 'powershell' mean arbitrary script execution and 'launch'/'open_target' start external processes, but the description frames all of this neutrally with no risk or side-effect context.

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?

A single front-loaded sentence that enumerates actions compactly with no filler. It is dense but every clause maps to a real action, though the parenthetical platform tags make it slightly harder to scan than a structured list would be.

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

Completeness2/5

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

For a nine-parameter, eleven-action tool with no annotations and no output schema, one sentence listing action names is far too thin. An agent still cannot tell which parameters pair with which action, what the tool returns, or what the platform limits are.

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

Parameters2/5

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

Schema description coverage is 0% across nine parameters, so the description must compensate and largely does not. It only hints that 'open_target' takes a URL/file and that 'applescript'/'powershell' are platform-specific scripts; the x/y/w/h geometry for move/resize/maximize, and the distinction between 'target' and 'app_name', are never explained.

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?

The description names a specific verb ('Manage') and resource ('macOS & Windows apps and windows') and enumerates all eleven actions, so an agent knows this is the app/window lifecycle tool rather than an input-simulation sibling like cua_mouse or cua_keyboard. It stops short of explicitly differentiating itself from cua_element_action or cua_batch_actions, which is why it is not a 5.

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?

Usage is only implied through the action list and the platform parentheticals ('applescript (macOS)', 'powershell (Windows/cross-platform)'), which do give a real platform-selection rule. There is no statement of when to prefer this over cua_batch_actions, cua_element_action, or cua_ui_tree, and 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.