Skip to main content
Glama

Snapshot (see the canvas)

snapshot

Render the canvas, selected layers, or a crop to a viewable image for placement and value checks, with optional grid, marks, flip, and disk save.

Instructions

Render the canvas (or a region, or chosen layers) to an image you can SEE. Optional coordinate grid with labels, crosshair marks at points (to check placement before drawing), grayscale value check, horizontal flip (fresh-eye check). Also saved to disk.

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

Input Schema

NameRequiredDescriptionDefault
flipNoMirror horizontally
gridNoOverlay a labeled grid: true (auto spacing) or spacing in canvas px
saveNoAlso save the PNG to this path
marksNoCrosshair markers
scaleNoExact output scale (overrides maxSize)
layersNoRender only these layers (on a checkerboard)
regionNoCrop region in canvas px (zoomed up to 4x when small)
maxSizeNoMax output dimension px (default 1024)
grayscaleNoValue check
backgroundNo"doc" (default), "checker", "none", or a color
showSelectionNoDim outside the selection (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the key behavioral facts: the result is a directly viewable image and it has a disk-write side effect ('Also saved to disk'). It does not state that the canvas is left unmodified, nor anything about cost or size limits of large renders, leaving meaningful gaps for a zero-annotation tool.

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

Conciseness5/5

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

Two sentences, zero waste. The core capability and its output are front-loaded, and the feature list is packed with parenthetical rationale rather than filler. No restatement of the name or title beyond what is needed.

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 an 11-parameter, nested-object tool with no output schema, the description adequately characterizes what comes back (an image you can see) and what each option is for. Defaults such as maxSize and showSelection are only in the schema, but that is acceptable given full schema coverage.

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 exceeds that by explaining intent behind flags the schema only names — grid 'with labels', marks for 'check placement before drawing', grayscale as a 'value check', flip as a 'fresh-eye check'. It does not cover region/layers/background nuances in prose, but adds real meaning.

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?

States a specific verb and resource: 'Render the canvas ... to an image you can SEE', with scoping variants (region, chosen layers). The emphasis on 'SEE' implicitly separates it from file-export siblings, but no sibling is named, so the 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?

Per-feature usage rationale is given ('crosshair marks ... to check placement before drawing', 'horizontal flip (fresh-eye check)'), which implies this is a visual verification tool. However there is no explicit statement of when to use snapshot versus export_image or ui_screenshot, and no when-not guidance or prerequisites.

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