Skip to main content
Glama

cua

Automate background Chrome tabs and native macOS apps without stealing focus or moving the cursor, using a stateful REPL, persistent element IDs, batch steps, and parallel agent sessions.

Instructions

Background Chrome ('🤖 Agent' Tab Group) & macOS AX control with multi-cursor isolation, stateful REPL (code), or steps batching and +/~/- UID diffs. Zero focus/cursor theft. Pass code (tab=cua.createBrowserTab('chrome',url); tab.click('@u1').waitFor('Confirmed'), cua.listTabs(), tab.text(), or app=cua.getApp('Calculator'); app.click('@a6')), {app|url, steps, agent}, or {parallel:[...]}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cua"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNo
urlNo
codeNo
diffNo
modeNo
stopNo
agentNo
queryNo
resetNo
stepsNo
resumeNo
windowNo
sessionNo
surfaceNo
fullPageNo
listTabsNo
parallelNo
windowIdNo
fullTableNo
statusBarNo
perfReportNo
toggleZoomNo
chromeTabIdNo
bridgeStatusNo
reuseExistingNo
highlightWindowNo
reloadExtensionNo
requireExtensionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose genuinely useful traits: background operation, 'Zero focus/cursor theft', 'multi-cursor isolation', stateful REPL persistence, and diff-based UID reporting. It omits the behavior of the many control params (stop, reset, resume, session, requireExtension) and any authorization/prerequisite context.

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

Conciseness3/5

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

It is compact, but the front-loaded sentence is a semicolon-heavy blast of jargon rather than a plain statement of purpose, and terms like 'multi-cursor isolation' and 'UID diffs' aren't unpacked. The examples in the second and third clauses are the most valuable content and are buried after the dense preamble.

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 28-parameter tool with no annotations, no output schema, and 0% schema coverage, the description is thin. It illustrates a few call shapes but leaves most parameters, the return behavior (with `diff`/`fullTable`/`text()` output), session/state lifecycle, and error/stop semantics unexplained. An agent could not confidently invoke most of the schema surface from this description alone.

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

Parameters4/5

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

This is the weakest dimension given 28 parameters at 0% schema coverage: the description must do nearly all the explaining. It does give concrete meaning to a handful of key params via worked examples — `code` (with `tab.click('@u1')`, `waitFor`, `cua.listTabs()`, `app.click('@a6')`), `app`, `url`, `steps`, `agent`, `parallel`, and implicitly `diff` via '`+/~/-` UID diffs'. The remaining ~20 parameters (mode, stop, reset, resume, session, window, surface, fullPage, fullTable, statusBar, perfReport, toggleZoom, chromeTabId, bridgeStatus, reuseExisting, highlightWindow, reloadExtension, requireExtension, query) are never explained. Substantial but incomplete compensation warrants a 2–3 rather than a mid score.

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

Purpose3/5

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

The core verb+resource is present ('Background Chrome ... & macOS AX control'), so an agent can tell it drives Chrome tabs and macOS apps. But the rest of the sentence is opaque jargon ('multi-cursor isolation', 'stateful REPL', '`+/~/-` UID diffs') that obscures rather than sharpens what the tool does. No siblings exist to differentiate from, but the purpose still requires decoding.

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?

It implicitly signals three invocation shapes — pass `code`, pass `{app|url, steps, agent}`, or pass `{parallel:[...]}` — which hints at when each mode applies. However, there is no explicit when-to-use/when-not guidance, no prerequisites (e.g., extension or permission requirements), and no statement of what each mode is best suited for.

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

Deploy Server

Other Tools