Skip to main content
Glama

apps_input_targets

Read-onlyIdempotent

Reads active preview and device App bindings before input, returning coordinates normalized to the App viewport independent of browser zoom; does not launch, link, or switch previews.

Instructions

Read the actual active preview and device App bindings before input. Coordinates are normalized within the App viewport, independent of the device’s 150% browser zoom. Does not launch, link or switch the person’s preview.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apps_input_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description still adds real value: it explains the coordinate normalization model (App viewport, independent of the device's 150% browser zoom) and confirms the negative scope that the call will not mutate preview linkage. What it omits is the shape of what comes back, which matters given there is no output schema.

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 short sentences, front-loaded with the action and the timing constraint, with zero filler. The zoom detail is dense but earns its place because it prevents coordinate mis-scaling.

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?

For a read-only, single-optional-parameter tool this is close to sufficient, but with no output schema the description should say what "bindings" look like when returned (IDs, viewport dimensions, target list) so the agent knows what it is consuming before sending input.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single connectionRef parameter, and the schema already explains that it is required when several hosts are connected. The description adds nothing about it, so the baseline of 3 applies.

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?

"Read the actual active preview and device App bindings" gives a specific verb and resource, and "before input" signals this is a pre-flight lookup distinct from the sibling input tools (apps_host_input, apps_interface_input, apps_preview_input). It stops short of naming those siblings explicitly, so differentiation is inferred rather than stated.

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?

"before input" establishes a clear precondition for calling the tool, and "Does not launch, link or switch the person's preview" rules out a class of expectations. However, it never names which alternative handles launch/link/switch, so an agent must guess where those actions live rather than being routed.

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