Skip to main content
Glama

apps_launch

Launches or focuses a saved device app within an invitation's enabled Launch/Exit scope. Read apps_state first, then start or replace an instance and grant declared capabilities only when prompted.

Instructions

Launch or focus a saved App on the device within this invitation’s enabled Launch/Exit scope. Read apps_state first. Supply replaceInstanceId only after deciding to replace that known target; on capability_required, inspect the returned manifestDigest and requestedCapabilities. Within an authorized App launch task, retry with those exact values and allow:true to grant its declared App communication capabilities. Browser/OS permissions and Allow AI still require the person. Does not save a draft.

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": {
      "appId": "<appId>",
      "expectedPackageDigest": "<expectedPackageDigest>"
    },
    "name": "apps_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
allowNoExplicitly grant only the exact capability_required decision returned for this saved App.
appIdYes
operationIdNo
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.
manifestDigestNo
replaceInstanceIdNo
expectedPackageDigestYes
requestedCapabilitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connectionRef
      Added value: +{
      +  "description": "The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.",
      +  "type": "string"
      +}
  2. Changed3 schema fields changedv0.1.7
    • addedInput schema / properties / allow
      Added value: +{
      +  "description": "Explicitly grant only the exact capability_required decision returned for this saved App.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / manifestDigest
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / requestedCapabilities
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly=false, openWorld=true, idempotent=false, destructive=false, so the mutation profile is known. The description adds real value beyond them — the invitation scope boundary, the capability_required error/retry flow, and the human-consent escalation for browser/OS and AI permissions. It stops short of stating effects of a successful launch (instance lifetime, whether focusing an already-running App mutates anything) or what the success response contains.

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?

Front-loaded with purpose and prerequisite, then the error-recovery path, then the consent boundary — a logical order with no filler sentences. It is dense with domain terms (capability_required, manifestDigest, Launch/Exit scope) and the capability flow spans two sentences that could be tightened, but nothing is wasted.

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?

There is no output schema, so the description bears some return-value burden; it does describe the shape of the capability_required response (manifestDigest, requestedCapabilities) but not the normal success return, and the required expectedPackageDigest is unexplained. For an 8-parameter, non-idempotent, open-world launch action, the flow coverage and consent boundary make it largely complete.

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 only 25% across 8 parameters, so the description must carry weight, and it does for the tricky ones: replaceInstanceId (only after deciding to replace that known target), manifestDigest and requestedCapabilities (take the exact values from the returned capability_required decision), and allow (grant only that exact decision). However, the two required parameters appId and expectedPackageDigest, plus operationId, get no explanation anywhere, which is a meaningful hole for a launch call.

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?

The definition states a specific verb pair and resource — "Launch or focus a saved App on the device" — and bounds it to "this invitation's enabled Launch/Exit scope." It also explicitly distinguishes itself from the save path with "Does not save a draft," letting an agent separate it from apps_save/apps_create without opening schemas.

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?

Guidance is concrete: read apps_state first, supply replaceInstanceId only after committing to replacing a known target, and on capability_required retry with the exact returned values plus allow:true. It also states the escalation boundary (browser/OS permissions and Allow AI require the person). The gap is that it never contrasts this with apps_open or apps_control, so an agent has no rule for choosing among the launch-adjacent siblings.

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