Skip to main content
Glama

apps_open

Opens an existing app or retained draft, returns its working directory, and avoids overwriting the draft or changing the shared terminal directory.

Instructions

Open an existing App or retained draft. Returns cwd; never overwrites a draft or sends cd to the shared PTY.

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>"
    },
    "name": "apps_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.
expectedRevisionNo

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. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

The description adds real behavioral context beyond the annotations: it states the return value contains cwd, that a draft is never overwritten, and that it will not send cd to the shared PTY, which reassures the agent about side effects on shared terminal state. Annotations only give generic flags (destructiveHint false, idempotentHint false), so this is genuine added value. It could go further on what happens to the currently active app or session.

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?

Two short sentences, front-loaded with what the tool does and followed by the side-effect guarantees. Nothing is wasted and there is no filler.

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?

Without an output schema, the description usefully discloses the cwd return value, and it covers the key safety properties. However, for a tool that takes a connectionRef across multiple hosts and an expectedRevision concurrency token, the definition says nothing about connection or stale-revision behavior, leaving material gaps.

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 only 33%, and the description compensates for none of it – appId and expectedRevision are unmentioned, even though expectedRevision is the only parameter with no schema description at all. The phrase "never overwrites a draft" gestures at revision/concurrency behavior but never connects it to the expectedRevision parameter.

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?

"Open an existing App or retained draft" names a specific verb and two concrete resource states, which lets an agent distinguish it from apps_create or apps_launch without opening the schema. It stops short of naming the sibling alternatives explicitly, but the resource scope is unambiguous.

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?

Usage is only implied by the phrase "existing App or retained draft" – an agent can infer this is for re-opening something that already exists rather than creating it. There is no explicit statement of when to prefer this over apps_launch or apps_create, and no prerequisite conditions are spelled out.

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