Skip to main content
Glama

apps_observe

Read-only

Observe one active app instance—web preview or device—without screen sharing to retrieve derived DOM/layout, canvas pixel layers, and app-reported logs for measurement.

Instructions

Observe one exact active App instance without screen sharing: the web Preview or browser Simulator (target preview, the default), or the App running on the device (target device; binding from apps_input_targets, no workspaceId) and, with role output and that same binding, the picture it shows on a second screen. Returns derived DOM/layout, readable Canvas pixel layers and App-reported logs (the App’s console output), so an App can report numbers it measures. Canvas images are separate layers, not a full screenshot; CSS/SVG rendering and missing/tainted layers are not inferred. Requires this connection’s current AI approval, control and the exact binding. Does not capture the device desktop or another tab; use take_screenshot for device pixels.

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

Input Schema

NameRequiredDescriptionDefault
roleNo
targetNo
maxSideNo
generationYes
instanceIdYes
workspaceIdNo
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.10

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/non-destructive annotations, the description discloses real behavioral traits: a current AI approval and control requirement, that canvas images arrive as separate layers rather than a screenshot, and explicit non-inference caveats for CSS/SVG rendering and missing or tainted layers. That is meaningful context an agent could not get from the annotations. It does not explain what happens when the instance is stale or what errors to expect.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, which is correct, but the body is one sprawling sentence with stacked parentheticals ('target device; binding from apps_input_targets, no workspaceId') that is hard to parse on first read. A short structured list of targets and requirements would carry the same content far more cleanly.

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 an 8-parameter tool with no output schema and low schema coverage, the description does well to describe the return payload (derived DOM/layout, canvas layers, app logs) and the approval prerequisites. It is incomplete on the optimistic-concurrency parameters and on error/edge behavior, which are the main risks for this call.

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 only 13%, so the description carries most of the burden; it does explain the semantics of 'target' and 'role' and notes the device path takes 'no workspaceId'. However, three required parameters (instanceId, generation, expectedRevision) and maxSide are never explained, and the revision/generation coordination contract is the most consequential thing an agent could get wrong here.

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 ('Observe one exact active App instance without screen sharing') and immediately enumerates the two observable targets (preview/Simulator vs. device) plus the second-screen 'output' role. It clearly distinguishes itself from 'take_screenshot', so an agent can tell which to pick. It loses a point only because the purpose statement is buried in a long nested clause that takes effort to parse.

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?

It gives explicit routing guidance: use this for derived DOM/layout, canvas layers and logs; use take_screenshot for device pixels; and it warns it does not capture the device desktop or another tab. It also states the target=preview default and that the device binding comes from apps_input_targets. It stops short of saying when to choose role=control versus role=output beyond a brief mention.

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