Skip to main content
Glama

Look at the canvas

canvas_look
Read-only

See your open canvas as an image. The overview defaults to 480 pixels across. view zooms into part of it ({x, y, w, h} in canvas units) and defaults to 1000 pixels across. Set width for more detail, up to 1600. Aids drawn over it (only in your view): grid (true, or a spacing) labels coordinates; outline [names or keys] boxes those objects; new: true boxes what changed since your last look; layers [names] shows only those layers (hidden ones too); compare "side" or "onion" sets yours beside the reference picture or half see-through over it; "diff" shows only where they differ (red: ink only yours has, blue: ink only the reference has) and names the cells that differ most, to zoom into with view, and the named objects that hold most of the difference (how much of each differs, and whether its color is off or it has ink where the reference has none), with a group's or use's named parts by path, so you know what to fix first; grain is not counted as a difference. With compare, align: true first lays yours on the reference (the move, size and small turn that fit best, said in canvas units, with how much less then differs), and region (an object or layer) counts only its box, leaving out a backdrop you do not paint; with "diff", regions (up to 6 boxes or named objects or parts) scores each alone, so a small figure drawn badly is not averaged away. trace {x, y} (a point) or {color} outlines a region of the reference (of: "yours" for your painting): the connected pixels of about that color, as path data in canvas units to start a path op from, drawn in magenta on the look. A trace is fitted with smooth curves that keep its corners (curves: false for straight lines); into "" gives it in that group's own coordinates (as it stands at time), to draw inside the group; a region that seems to have leaked (it touches the edge, fills most of the view, or ran out through a gap in an outline) is flagged, with a lower tol that keeps it in. trace lines: true gives drawn lines (lashes, a jaw line, hair strands) instead: the centre lines of the strokes of ink at the point (or of the color), each a stroke op to paste in, its width along it as pressure. trace as "hair" keeps it on the canvas for 30 days instead of printing it: then "$trace:hair" wherever path data goes (and "$trace:hair.1" as a stroke's points) in canvas_draw, canvas_edit and canvas_shot is that trace, nothing to paste. measure: true reads the numbers of the picture (and of the reference): its ground and inks, line widths, halftone screens as {gap, angle, dot, origin} op fields (each dotted area also as a ready halftone op: its outline, screen and tone, to draw as it is; screens too fine to see dot by dot, or of dots that touch, are read as a pattern), and where the ink reaches, in canvas units, so you can match a look by its numbers; on a view it measures finer, against the whole picture's ground (measure {paper: "#rrggbb"} names the ground instead). measure {of: "face"} reads only the pixels that object or layer paints, and the reference's at the same place. With a reference, measure also hands back its style as one canvas_edit to send as it is (its colors in the kit, your ops' colors, line widths and halftones moved to it) and the fields for new ops. frame "og" sees one of the canvas's named frames alone, as its file will be (the overview outlines them in violet; frames: false hides that). A canvas that moves (anim) is seen at rest unless time (seconds) shows it at that moment, or strip: true (or 4 to 8) shows a filmstrip of frames across one round of its motion, each labelled with its time; span [from, to] spreads them over those seconds instead (frames across a 60 s round can miss a 10 s loop: span [0, 10] shows it). The overview also states composition facts: how much of the canvas the painting covers (grounds left out), its share of each ninth, the empty ninths, the box and centre of its mass, and the main colors, of the moment shown. A piece in shots: shot "s3" makes time and span that shot's own; focus [names] frames those objects; changes [t1, t2] answers in words what moved between two moments (no picture: cheap). sample [[x, y], ...] is an eyedropper: the color at each point, and the reference picture's color there, to match a painting to a photo.

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

Input Schema

NameRequiredDescriptionDefault
kitNoother values for the kit’s names, for this picture only: {colors: {accent: "#2f6fd1"}, fonts: {heading: "serif"}}
newNo
gridNo
hideNoleave these layers out of this picture (nothing changes on the canvas)
pinsNoshow open feedback as numbered orange pins, with any sketches people drew (default true)
shotNoa shot of a piece (its layer): time and span are then that shot's own seconds, and a strip spans it
spanNowith strip: [from, to] seconds the frames spread across (default the whole motion), to see a short loop move inside a long one
timeNoseconds: the canvas at that moment of its motion (default: at rest)
viewNo{x, y, w, h} or [x, y, w, h]
alignNowith compare diff or onion: first lay yours on the reference (the move, size and small turn that fit its ink best; rays or spokes that repeat around their middle are turned up to half a repeat, and when one named object carries the repeat only it is turned, with the edit that turns it), say that fit, and compare the shapes so laid
focusNonames or keys: frame the picture on those objects (cheaper than the whole canvas)
frameNoa named frame of the canvas, seen alone (instead of view)
stripNoa filmstrip: 4 to 8 frames across one round of the motion (true: 6)
traceNooutline a region of the reference as path data: {x, y} the region at that point, or {color: "#rrggbb"} its largest regions; of "yours" traces your painting; tol (color, default 40), detail (canvas units the outline may stray, default one pixel), bridge (gaps this wide closed over), max (regions, up to 8; lines, 12 and up to 40); lines (true: the centre lines of strokes of ink up to 40 canvas units wide, as stroke ops, each with its box, to pick "$trace:name.N" by; by color, breaks of a pixel or two in a soft line are joined, and bridge joins wider ones); curves (default true: cubic curves; false: straight lines); into (a group name or part path: path data in its own coordinates; through a placed copy, "body-girl/head/far", in the coordinates of its source group as that copy places it); as (a name: keeps it on the canvas for 30 days, then "$trace:name" wherever path data goes, or as a stroke points, draws it without typing it back)
widthNo
canvasNo
framesNooutline the named frames in the overview (default true)
layersNo
regionNowith compare: an object (name or key) or a layer; the comparison counts only its box (and the look shows that box unless view says otherwise)
sampleNoan eyedropper: [[x, y], ...] (up to 24, canvas units): the color painted at each point (the reference left out, so the ground shows where nothing is painted), and the reference picture's color there if the canvas has one
changesNo[t1, t2] seconds: say in words what moved, came or went between them, with no picture
commentNothe number of a feedback pin: the look is framed on its place, and names what is under it
compareNoagainst the reference: side (yours left, it right), onion (yours half see-through over it) or diff (only where they differ: red yours, blue its). With comment: before (the place of the pin as it was when it was left, then now)
measureNoalso read the numbers of yours and the reference: inks, line widths, halftone gap/angle/dot/origin with each dotted area as a ready halftone op, where the ink reaches; {of} only one object or layer
outlineNo
regionsNowith compare diff: up to 6 parts each scored alone (the part of its own pixels that differ, and its share of the whole difference): {box: [x, y, w, h]} or {object: a named object or part path}, with an optional name
referenceNoshow the reference picture under the painting, if the canvas has one (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior1/5

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

The description states that 'trace' can keep a named trace on the canvas for 30 days, which is a persistent side effect, while the annotations declare readOnlyHint=true. That directly contradicts the read-only annotation even though the rest of the description discloses many behavioral details.

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

Conciseness2/5

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

The first sentence is front-loaded, but the remainder is a dense, semicolon-chained wall of text with nested parentheticals and no headings or bullets. A 27-parameter tool needs detail, but this structure is difficult to scan and the wording is not concise.

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?

No output schema exists, yet the description explains returns across modes: composition facts, diff cell and object names, trace path data, measure numbers and style, sample colors, and word-only changes. Some lesser parameters and error/format details are left to the schema, so it is strong but not fully complete.

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

Parameters5/5

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

Despite 78% schema description coverage, the description adds substantial meaning: it explains grid spacing, new-change boxes, layer visibility including hidden layers, compare modes, align behavior, trace tol/detail/bridge/curves/lines, measure with paper/of, strip versus span, and sample as an eyedropper. This meaning goes well beyond the schema labels.

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 opening sentence, 'See your open canvas as an image', states a specific read/inspect verb, the canvas resource, and the image output. It is clear what the tool does, but it does not explicitly distinguish itself from similar-looking siblings such as canvas_shot or canvas_export.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description explains what each option does (compare, measure, trace, sample, changes) but never states when to choose canvas_look over siblings like canvas_shot, canvas_get, or canvas_status. There is no explicit when-not guidance or alternative routing, leaving tool selection to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.