Skip to main content
Glama

apps_control

Destructive

Control active preview or device apps by simulating E1–E4 rotation/press and K1–K4 key input, including exact down/up/cancel phases and paired click/long presses.

Instructions

Simulate known E1-E4 rotation/press and K1-K4 keys on an explicit active preview or device App. down/up/cancel send exact phases; click/long form a paired press using holdMs (default 50/800 ms). K1 always invokes the host Menu. Requires AI control; loss of control cancels only AI-held inputs.

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": {
      "target": "<target>",
      "instanceId": "<instanceId>",
      "generation": "<generation>",
      "control": "<control>",
      "type": "<type>"
    },
    "name": "apps_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
deltaNo
holdMsNo
targetYes
controlYes
generationYes
instanceIdYes
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.

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

B3.4/5.0
Behavior4/5

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

Beyond the annotations (destructive, non-idempotent, open-world), the description adds substantive behavior: down/up/cancel send exact phases, click/long form a paired press with holdMs defaulting to 50/800 ms, and K1 always invokes the host Menu. The control-loss clause ('loss of control cancels only AI-held inputs') is genuinely useful state semantics that annotations could never convey. It stops short of saying what a failed or rejected press looks like, but the disclosure is well above the bar.

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?

Three tight sentences with the core action front-loaded and no filler; every clause carries information. Density is close to the edge of readability given the E1-E4/K1-K4 jargon, but nothing is redundant.

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?

With eight parameters, 13% schema coverage and no output schema, the description does well on behavior but leaves the required identity/concurrency parameters (instanceId, generation) undefined. An agent knows how a press behaves but not how to satisfy or recover from the required plumbing, which is a material omission for a destructive call.

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 coverage is only 13%, so the description must carry the parameter burden and it largely does not. It clarifies type phases, holdMs defaults, the control enum's meaning and target ('preview or device App'), but required parameters instanceId and generation are never explained, nor is delta's -63..63 range. For a destructive, non-idempotent tool, leaving the concurrency/identity parameters opaque is a meaningful gap.

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 opens with a specific verb and resource: simulate rotation/press on E1-E4 and K1-K4 keys against an explicit preview or device App. That scopes it narrowly enough that it reads as the discrete-key counterpart to the broader input tools. It does not name which sibling handles freeform pointer/keyboard input, so differentiation from apps_host_input or apps_preview_input is left to inference.

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?

'Requires AI control' and 'explicit active preview or device App' establish a real precondition for use, which is more than nothing. However, there is no explicit when-to-use vs when-not, and no routing to alternatives such as apps_host_input for non-E/K input. Usage is implied rather than stated.

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