Skip to main content
Glama

Render canvas

snipaya_render
Read-only

Renders a PNG of the canvas or selected element IDs, downscaled to a maximum size, so AI assistants can see exactly what the user sees.

Instructions

Return a PNG of the canvas (or only the given element ids) so you can see what the user sees. Downscaled to maxSize on the longest side.

Input Schema

NameRequiredDescriptionDefault
idsNo
tabIdNoTarget tab id. Defaults to the active tab.
maxSizeNo
beautifyNoFrame the image on a background. true uses the user’s beautify settings, an object overrides some of them, false turns it off. Omit to follow the user’s setting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds real behavioral context the annotations lack — the return is a downscaled PNG bounded by maxSize on the longest side, and output can be restricted to specific element ids. It doesn't say what happens with invalid ids or missing elements, keeping it off a 5.

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 short sentences, the return type and purpose front-loaded, with the sizing constraint second. No filler and nothing redundant.

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 read-only render tool with full annotation coverage and no output schema, the description covers what is returned, the optional element filter, and the size bound — enough to call it correctly. Minor gaps remain around defaults for maxSize and error behavior on unknown ids.

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 only 50%, and the description compensates by defining maxSize's actual behavior (downscale on the longest side) where the schema gives only numeric bounds, and by clarifying that ids narrows the render to those elements. tabId and beautify are left entirely to the schema, which does document them adequately.

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 ("Return a PNG of the canvas") plus a scoping option (only the given element ids), and the phrase "so you can see what the user sees" implicitly separates it from export-style siblings like snipaya_export. It does not name any sibling explicitly, so it stops short of the top score.

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?

Usage is implied by "so you can see what the user sees" — this is the visual-inspection tool. But there is no explicit when-to-use/when-not guidance and no pointer to snipaya_export or snipaya_redact as alternatives for file output or hidden content.

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