Skip to main content
Glama

look

Read-only

Read the current simulator screen or browser page as structured element roles, IDs, labels, and states before and after UI actions.

Instructions

What's on this session's simulator screen now, one line per element: role, id (testID), label and state. Read it before acting and after the screen changes. A nearly empty read (maps, canvases) comes with a screenshot: tap what it shows by point. On a lane that holds a browser and no simulator, or with browser: true, it reads the page in the lane's browser instead: role, ref (what the browser driver's CLI acts on), name and state.

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": "look"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoHow many levels of elements to show.
boundsNoAdd each element's bounds in points, [x1,y1][x2,y2]. Simulator only.
withinNoAn id or label: show only that element's subtree.
browserNoRead the lane's browser, when the lane holds a simulator as well.
interactiveOnlyNoOnly elements you can tap, toggle or type into.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description still adds real substance: the per-element field list, the lane-dependent switch between simulator and browser reads, and the meaning of the ref identifier (what the browser driver CLI acts on). It stops short of stating size limits or how large trees are truncated, which is the only meaningful gap.

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 core answer and organized as screen-read, then timing, then edge case, then browser variant, with no filler sentences. The lane/browser sentences are dense and slightly hard to parse on first read, which keeps it short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter read tool with no output schema, the description covers the essential contract: the exact per-element fields returned, when to call it, and how behavior differs on browser-only lanes. Nothing an agent needs in order to call it and interpret the result is missing.

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 100%, so the baseline is 3; the description earns a bump by explaining that the browser option reads the lane's browser "when the lane holds a simulator as well," giving the flag real intent. The remaining parameters (depth, bounds, within, interactiveOnly) are not mentioned, so it does not fully supersede the schema.

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?

States a specific verb and resource ("What's on this session's simulator screen now") and immediately specifies the output shape: one line per element with role, id (testID), label and state. It also distinguishes the browser-reading variant and the near-empty-read screenshot case, so an agent can tell it apart from the screenshot and run siblings.

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 timing guidance ("Read it before acting and after the screen changes") plus the branch conditions: a lane with a browser and no simulator, or browser: true, reads the page instead. It also routes the edge case of map/canvas screens to tapping by point off the accompanying screenshot.

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

Deploy Server

Other Tools