Skip to main content
Glama

Ase Get Pixels

ase_get_pixels

Read a rectangular region of a cel to retrieve pixel data with coordinates, colors, and alpha values for use in pixel-art workflows.

Instructions

Read a rectangular region of a cel as {width,height,pixels:[{x,y,r,g,b,a,hex}]}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
frameNo
layerNo
widthNo
heightNo
sprite_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It states the operation is a read, implying no mutation, but gives no details on edge cases, error behavior, or whether the sprite must be loaded. It is minimally adequate but not rich.

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?

The description is a single sentence, front-loaded with the action and return format. It is concise with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, 0% schema coverage, and no annotations, the description is far too brief to guide correct invocation. It omits parameter meanings, default behaviors, and any mention of output schema details. An agent would likely misuse the tool without additional knowledge.

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

Parameters1/5

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

Schema description coverage is 0%, and the description provides no explanation of the parameters (x, y, width, height, frame, layer). It only mentions a 'rectangular region' without defining coordinates, defaults, or meaning of frame/layer, leaving the agent to guess from the schema's raw names.

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?

The description clearly states the action (read) and the resource (a rectangular region of a cel), and specifies the exact return format with a structured pixel array. This distinguishes it from sibling write tools like ase_draw_pixels and other read tools like ase_get_palette.

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?

There is no guidance on when to use this tool versus alternatives such as krita_get_pixels or ase_get_palette, nor any mention of prerequisites or exclusions. An agent must infer usage from the name and description alone.

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

Deploy Server

Other Tools