Skip to main content
Glama

view

Render the canvas (or a selected region) as a PNG image to inspect the current state of your pixel art after making edits.

Instructions

Render the canvas (or a region) as a PNG. The primary perception tool: call it after every couple of edits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNoFrame index, 0-based (default: active frame)
scaleNoDefault: longer side scaled to 320-640px
coordsNoCoordinate rulers (default true)
doc_idYesDocument id
layersNoRender only these layers (ids or names), even if hidden
regionNo
grid_overlayNoPixel grid lines (default false)
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral disclosure burden. It only mentions rendering as PNG and default scale behavior but omits important details like authentication needs, rate limits, output format, or whether the operation is read-only.

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, front-loaded with the core purpose, and every sentence adds value. No wasted words.

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?

The description lacks information about the return value (PNG image data), which would be valuable given no output schema. However, the high schema coverage partially compensates. Adequate but not complete.

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 description coverage is 86% (high), so the schema already documents most parameters. The description adds no parameter-specific information beyond what the schema provides, thus baseline 3 is appropriate.

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?

Clearly states 'Render the canvas (or a region) as a PNG' and identifies itself as 'the primary perception tool', which differentiates it from sibling view tools like view_text, view_diff, view_window, and view_tiled.

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?

Explicitly advises 'call it after every couple of edits', providing clear usage context. However, it does not specify when not to use this tool or mention alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ehm-93/pixel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server