Skip to main content
Glama

apps_interface_input

Destructive

Send clicks, drags, scrolls, ASCII text, and key/chords to the active device App interface, including guide_start to press the current App Guide Start on a preview or device target.

Instructions

Click, drag, scroll, type English/ASCII text or send a key/chord in the active device App interface. Use event type guide_start to press the current App Guide Start on an explicit preview/device target; it does not approve access or I/O. Use apps_host_input for Menu/Device. Permission dialogs remain human-operated. Read apps_input_targets first; pointer coordinates are normalized App coordinates, scroll deltas are CSS pixels. Delivery confirms sent/dispatched events; use screenshots/App state to verify the intended result.

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": {
      "instanceId": "<instanceId>",
      "generation": "<generation>",
      "event": "<event>"
    },
    "name": "apps_interface_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYestype: guide_start/click/drag/scroll/text/key. guide_start has no coordinates and only presses the current first-open Guide Start. Pointer x,y and drag toX,toY: 0..1. Scroll deltaX,deltaY: -2000..2000. Text: ASCII, max2048. Key: Enter/Tab/Backspace/Delete/arrows/Home/End/Escape or one ASCII character; ctrlKey/altKey/shiftKey/metaKey booleans.
targetNoDefault device; preview supports guide_start only.
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

A4.5/5.0
Behavior4/5

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

Adds real context beyond the destructive/non-idempotent annotations: delivery only confirms the event was sent/dispatched, not that the intended UI result occurred, so screenshots or App state must be used to verify. It also discloses that guide_start does not grant access or I/O and that permission dialogs stay human-operated. The main omission is what the action does to existing App state or whether it can be undone, which matters for a destructiveHint=true tool.

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 the capability statement, then ordered by prerequisite, alternative, constraint, and verification — every sentence carries information. It is dense and reads as a run-on chain of clauses, so scanning takes effort, but there is no filler.

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 destructive, non-idempotent input tool with no output schema, the definition covers the essential gaps: prerequisites, sibling routing, coordinate units, and the fact that dispatch is not confirmation of effect. It stops short of explaining how the required instanceId/generation pair scopes or invalidates an action, which an agent needs to call it safely.

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 60% and the nested event object is already well documented, but the description adds genuinely new meaning: pointer coordinates are normalized App coordinates (not pixels) and scroll deltas are CSS pixels, and the target parameter is framed as an explicit preview/device choice where preview is limited to guide_start. The required instanceId and generation parameters are not explained in either place, which keeps this from a 5.

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?

Opens with a specific verb list (click, drag, scroll, type, send key/chord) against a named resource ('the active device App interface'), and explicitly carves out the sibling case ('Use apps_host_input for Menu/Device'). An agent can tell this apart from apps_host_input, apps_preview_input, and apps_input_targets 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing rules rather than implying them: use apps_host_input for Menu/Device, read apps_input_targets first, guide_start must target an explicit preview/device target, and permission dialogs are human-operated so this tool cannot clear them. These are concrete when-to-use and when-not-to-use conditions plus a required prerequisite step.

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