Skip to main content
Glama

paint_snapshot

Read-only

Capture rendered canvas, layer, selection, or mask pixels with a persistent ID/hash, then compare against a previous crop to report actual pixel changes.

Instructions

Return actual rendered canvas/layer/selection/mask pixels and persistent ID/hash. Matching prior crop reports pixel changes, never beauty. Preview max_side 64..8192; upscale=true enlarges small crops by an integer nearest-neighbour factor up to max_side (a note says when max_side is too small). path saves the preview (overwrite=true replaces an existing file). Use document export for full resolution.

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

Input Schema

NameRequiredDescriptionDefault
pathNo
labelNoSnapshot
regionNo
sourceNocomposite
upscaleNo
layer_idNo
max_sideNo
use_viewNo
overwriteNo
rectangleNo
compare_toNo
document_idNoTarget this document instead of the shared active one (recommended when several agents share the server)
transparentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, and the description adds substantial context: what is returned (pixels plus ID/hash), comparison behaviour against prior crops, the max_side 64..8192 bound, integer nearest-neighbour upscaling, and that path writes a preview file with overwrite semantics. The file-write side effect under a readOnly hint is worth noting but is consistent with a read whose optional artifact is a preview.

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?

Dense and front-loaded: the return contract comes first, then preview constraints, then the redirect to document export. Some phrasing ('never beauty', parenthetical note about max_side) is cryptic, but no sentence is clearly filler.

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?

Thirteen parameters with near-zero schema descriptions and no output schema mean the description carries most of the burden, and it covers fewer than half the parameters. It does explain the return shape, but an agent still cannot tell from prose what region/rectangle/use_view/transparent do.

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 coverage is only 8% across 13 parameters, so the description is expected to compensate heavily. It explains max_side, upscale, path, overwrite and compare_to, but leaves label, region, rectangle, layer_id, use_view, transparent and document_id entirely to the bare schema.

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: returns rendered pixels for canvas/layer/selection/mask plus a persistent ID/hash. The phrase 'never beauty' is idiosyncratic but the core operation and its output are identifiable without opening the schema.

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?

Gives one explicit alternative with its condition ('Use document export for full resolution'), and explains the compare_to semantics (reports pixel changes). It does not distinguish itself from other sampling or viewing siblings, so guidance is clear but not exhaustive.

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