Skip to main content
Glama
computer
by zznabil

Open application

open_application
Destructive

Launches a desktop app by ID, path, or exact name, optionally bringing it to the front; on macOS, also opens files, folders, or URLs and can reveal items in Finder.

Instructions

Launch an application by id/path/unique name from list_applications (behind the user's app unless activate). On macOS it also opens a file, folder or URL (in its default app, or app), or with reveal shows it selected in Finder, and returns the window; other platforms throw Unsupported for URLs, app and reveal.

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": {
      "id": "<id>"
    },
    "name": "open_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesApplication id, path or exact name; on macOS also a file, folder or URL.
appNomacOS: application to open the item with.
revealNomacOS: show the item selected in Finder, which comes to the front.
activateNoBring it to the front (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare non-read-only, open-world, non-idempotent and destructive, and the description adds real context beyond them: focus behavior (behind vs. activate), the returned window, and platform-specific failures. However, it never explains why the operation is flagged destructive — e.g. what a launch may overwrite or change in the user's session — leaving the strongest annotation signal unelaborated.

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?

The primary action and id source are front-loaded, and platform caveats are compressed into one clause. It is dense and slightly run-on ('and returns the window'), but every clause carries distinct information and nothing is padded.

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 4-parameter, no-output-schema tool, the description covers the return value (the window), focus semantics, and platform error behavior. The remaining gap is the unexplained destructive flag and the absence of guidance on when a running app should be raised rather than relaunched.

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?

Schema coverage is 100%, so the baseline is 3, and the description earns above that by adding cross-field meaning the schema does not: id widens to file/folder/URL only on macOS, app/reveal are macOS-only and error elsewhere, and activate controls whether the app comes to the front. That clarifies the interaction between parameters rather than restating their descriptions.

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 specific verb (launch/open) and resource (an application), and anchors the id source to the sibling tool list_applications, which distinguishes it from window/element tools. The macOS extension to files, folders and URLs is stated explicitly, so an agent knows the full scope of the tool without opening the 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 clear operating context: ids come from list_applications, and the app is launched behind the user's app unless activate is set. It also states the platform boundary — non-macOS platforms throw Unsupported for URLs, app and reveal — which functions as a when-not rule. What's missing is explicit steering toward a sibling (e.g. raise_window for already-running apps).

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