Skip to main content
Glama

desktop_launch

Launch a macOS app that is not currently running, optionally bringing it to the foreground, so AI agents can then inspect and operate its interface via accessibility.

Instructions

Open an app that is not running (background unless activate); a running app needs no launch.

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": {
      "app": "<app>"
    },
    "name": "desktop_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
cdpNo
cwdNo
envNo
argsNo
timeoutNo
activateNo
no_attachNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it only discloses one trait: the app launches in the background unless 'activate' is set. Nothing is said about permissions, what happens on timeout or failure, what 'no_attach' or 'cdp' imply about attaching to a debug target, or whether the call blocks until the app is ready.

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 with no filler, and the precondition precedes the clarifying exclusion. It is efficient, though the terseness comes at the cost of the parameter coverage noted elsewhere rather than being a structural flaw.

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 tool with 8 parameters, no annotations, no output schema, and zero schema descriptions, the definition is thin — an agent must guess at six parameters. It does cover the core launch-versus-activate decision, which keeps it at minimum-viable rather than inadequate.

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 8 parameters, so the description must compensate and it largely does not. It adds meaning only for the 'activate' flag via the parenthetical 'background unless activate'; 'cdp', 'cwd', 'env', 'args', 'timeout', and 'no_attach' are left entirely undefined in both schema and prose.

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 and resource ('Open an app') and scopes it with a precondition ('that is not running'), so the agent can tell what the tool does without reading the schema. It stops short of differentiating from likely siblings like desktop_focus_window or desktop_focus, so it is clear but not fully disambiguating.

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

Usage Guidelines4/5

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

It gives both a when-to-use condition (app is not running) and an explicit when-not-to-use condition ('a running app needs no launch'), which is the key routing decision for a launch tool. It does not name the alternative tool an agent should call for an already-running app, leaving that inference to the agent.

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