Skip to main content
Glama

look

Capture screenshots of the open three.js page, an object-ID image, and visible/unseen object lists with size and position to diagnose rendering, layout, lighting, and surface issues.

Instructions

Screenshot of the open page in the reply, an ID image beside it (one colour per object, the path with -ids before .png), and a list of what is on screen and the named objects no look has seen, with size and place. It sends no input; sheet, scroll, viewports and compare reload the page for their pictures. One mode a call: cameras, viewports, scroll, sheet, opening, zoom, at, target, save or compare. It ends with the lines the skill's references/lighting.md explains, the Lighting: and Surfaces: setup faults among them. A post-processed page is pictured as of its last drawn frame, so state set since shows after a step. Use observe for the state as numbers, reference to read or match a picture the page should look like, and interact with look: true for the picture after input. Modes in full: references/tools.md.

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
atNoUp to 8 points [x, y] in the live page's pixels: the objects drawn at each, nearest first, with distance; text only; from `camera` when given.
gameNoThe name the game was opened under with the `open` tool, to act on ("main" by default; a subagent uses its own).
saveNoKeep this look's picture as the baseline of this name (letters, digits, - or _).
zoomNo[left, top, right, bottom] in the live page's pixels (not a sheet's), as the plain look lists boxes, enlarged up to 4×; from `camera` when given.
sheetNoUp to 9 moments in one grid, each a fresh reload set with `state`, then `steps` (as `interact`) and `frames`.
cameraNoThis look's camera, { position, lookAt }, or a name: a refs/cameras.json picture's file name or a `cameras` label; for the plain look, zoom, at, save and compare.
sampleNoPoints [x, y] in the live page's pixels (with zoom, inside its box): each one's colour, a 5 × 5 mean.
scrollNoScroll stops (shares of the page's scroll range) in one grid, each a fresh reload.
targetNoAn object in the main scene, alone from front, right, top and three-quarter views.
camerasNoUp to 9 cameras ({ position, lookAt, label } or a name) in one grid, no reload; a label is kept as a `camera` name.
compareNoA saved baseline's name: the page at its frame (a reload), the share of pixels that differ and a diff picture.
openingNoPicture the first 5 s after load in real time, as a viewer meets them (`open` pauses at frame 0).
viewportsNoSizes in one grid, each a fresh reload: phone (390 × 844, DPR 3), tablet (820 × 1180, 2), laptop (1440 × 900, 2), desktop (1920 × 1080, 1), or [width, height, dpr].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv0.4.5
    • changedInput schema / properties / at / description
      Previous value: -"Up to 8 points [x, y] in the live page's pixels, as the look lists boxes: the objects drawn at each, nearest first, found by the page's own shaders (a part a shader discards is skipped and named), each with its distance from the camera, a line of text per point and no picture; from `camera` when given. What is under a crosshair, why a click misses, which layer covers a product."New value: +"Up to 8 points [x, y] in the live page's pixels: the objects drawn at each, nearest first, with distance; text only; from `camera` when given."
    • changedInput schema / properties / camera / description
      Previous value: -"Picture from this position (looking at lookAt) for this look only, or a camera by name: a picture's file name in refs/cameras.json, or a label given to `cameras`."New value: +"This look's camera, { position, lookAt }, or a name: a refs/cameras.json picture's file name or a `cameras` label; for the plain look, zoom, at, save and compare."
    • changedInput schema / properties / cameras / description
      Previous value: -"Up to 9 cameras, each { position, lookAt, label } or a camera's name (a picture's file name in refs/cameras.json, or a label given here before), pictured at this same moment with no reload in one labelled grid: a scene from several angles in one call. A labelled camera is kept, so later calls name it as `camera`."New value: +"Up to 9 cameras ({ position, lookAt, label } or a name) in one grid, no reload; a label is kept as a `camera` name."
    • changedInput schema / properties / compare / description
      Previous value: -"A saved baseline's name: pictures the game at its frame (reloading to it), says what share of pixels differ and adds a diff picture (differences in red), so an edit's effect needs no diff script."New value: +"A saved baseline's name: the page at its frame (a reload), the share of pixels that differ and a diff picture."
    • changedInput schema / properties / opening / description
      Previous value: -"Picture the first 5 s after load in real time, as a viewer meets them (`open` pauses at frame 0): a loading screen or dim intro still up at 2 s is what a viewer sees first."New value: +"Picture the first 5 s after load in real time, as a viewer meets them (`open` pauses at frame 0)."
    • changedInput schema / properties / sample / description
      Previous value: -"Points [x, y] in the live page's pixels, as the look lists boxes (with zoom, inside its box), whose colour to return (the mean of 5 × 5 pixels)."New value: +"Points [x, y] in the live page's pixels (with zoom, inside its box): each one's colour, a 5 × 5 mean."
    • changedInput schema / properties / save / description
      Previous value: -"Keep this look's picture as the baseline of this name (letters, digits, - or _), with its frame and page size."New value: +"Keep this look's picture as the baseline of this name (letters, digits, - or _)."
    • changedInput schema / properties / scroll / description
      Previous value: -"Scroll stops as shares of the page's scroll range (0 to 1), each pictured on a fresh reload in one labelled grid, with the camera's position and look direction and the objects on screen at each."New value: +"Scroll stops (shares of the page's scroll range) in one grid, each a fresh reload."
    • changedInput schema / properties / sheet / description
      Previous value: -"Up to 9 moments in one labelled grid, each on a freshly reloaded page set with `state`, played with `steps` (as `interact`) and `frames`: stages, levels or views compared at once instead of a screenshot script."New value: +"Up to 9 moments in one grid, each a fresh reload set with `state`, then `steps` (as `interact`) and `frames`."
    • changedInput schema / properties / target / description
      Previous value: -"An object in the main scene, pictured alone from the front, right, top and a three-quarter angle, framed to its size, in one picture: a model or procedural shape checked from every side."New value: +"An object in the main scene, alone from front, right, top and three-quarter views."
    • changedInput schema / properties / viewports / description
      Previous value: -"Picture the page at each size in one labelled grid, each on a fresh reload: phone (390 × 844 at DPR 3), tablet (820 × 1180 at 2), laptop (1440 × 900 at 2), desktop (1920 × 1080 at 1), or [width, height, dpr]. Each cell's line gives the subject's share, the objects on screen and whether the canvas is sized right."New value: +"Sizes in one grid, each a fresh reload: phone (390 × 844, DPR 3), tablet (820 × 1180, 2), laptop (1440 × 900, 2), desktop (1920 × 1080, 1), or [width, height, dpr]."
    • changedInput schema / properties / zoom / description
      Previous value: -"[left, top, right, bottom] in the live page's pixels, as the plain look lists boxes (a sheet's cells are other pictures), enlarged up to 4× for detail too small to judge: an edge, text, a distant object; from `camera` when given."New value: +"[left, top, right, bottom] in the live page's pixels (not a sheet's), as the plain look lists boxes, enlarged up to 4×; from `camera` when given."
  2. First observedv0.2.1

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, it discloses that sheet, scroll, viewports, and compare reload the page, that post-processed pages reflect the last drawn frame, and that results include lighting/surface fault lines. It also notes `look` sends no input, clarifying interaction scope. It does not fully spell out state loss from reloads or permission requirements, so it is strong but not complete.

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 description is information-dense and front-loads the core output, but its structure is awkward and several phrases ("one mode a call", "no look has seen", "path with -ids before .png") are hard to parse. It avoids obvious filler, but readability suffers.

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 13-parameter, many-mode tool with no output schema, it provides the output composition, mode list, sibling routing, reload behavior, and a pointer to references/tools.md for full mode details. It is reasonably complete, though it defers detailed per-mode invocation guidance to external docs.

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 main added semantic value is the "one mode a call" rule and the grouping of parameters into modes such as cameras, viewports, scroll, sheet, and compare. That is useful beyond the per-parameter descriptions. It does not explain each parameter further because the schema already does.

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?

The description states the concrete output of `look`: a screenshot of the open page, an object-ID image, and an on-screen object list, and it explicitly contrasts this with `observe`, `reference`, and `interact`. An agent can identify the tool's role without opening the schema, though the grammar is dense.

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?

It gives explicit routing: use `observe` for numeric state, `reference` for reading or matching a target picture, and `interact` with `look: true` for post-input screenshots. It also states one mode per call, which constrains how the many optional mode parameters are used. No significant alternative gap.

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