Skip to main content
Glama

Open an app or a file in an app

app_open

Launches an app off screen and optionally opens a file or project, keeping it hidden while UI tools control it; bring it to the front only when the user asks to see it.

Instructions

Launch an app hidden (off screen), optionally opening a file or project in it. Apps stay hidden while the UI tools drive them. Pass front: true only if the user asks to see the app.

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": "app_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesApp to control: finalcut, motion, logic, mainstage, compressor, pixelmator, keynote, pages, numbers, or any other app name, bundle ID or .app path
fileNoFile to open in the app
frontNoBring the app to the front first. Off by default: apps are driven in the background so the user's screen isn't taken over.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare non-readonly, non-destructive, closed-world; the description adds the important behavioral fact that the app is launched off-screen and stays hidden, and that visibility is an opt-in the user must request. It does not cover what happens if the app is already running or whether existing documents are disturbed.

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

Conciseness5/5

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

Three short sentences, front-loaded with the primary action, followed by the workflow context and the one conditional flag rule. No redundant or filler wording.

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

Completeness4/5

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

For a three-parameter launch tool with no output schema and modest annotations, the description covers purpose, default visibility behavior, and the front flag policy. Minor gaps (behavior with an already-running app, what is returned/identifying the launched instance) keep it below full marks.

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 coverage is 100% and the parameter descriptions already explain `app` targets, `file`, and the `front` default with its rationale, so the description largely restates what the schema provides. Baseline 3 applies since the schema does the heavy lifting.

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

Purpose5/5

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

States a concrete verb and resource ('Launch an app... optionally opening a file or project in it') and explicitly frames the tool's role relative to the UI tools that will drive the app afterwards. An agent can distinguish this from ui_* and app_shortcut_actions siblings without opening any schema.

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?

Gives a clear conditional rule for the risky option ('Pass front: true only if the user asks to see the app') and explains the default working mode (hidden, driven by UI tools). It stops short of naming explicit alternatives or when-not-to-use cases, but the usage context is unambiguous.

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