Skip to main content
Glama

celgrid_generate

Generate exact 1:1 indexed pixel sprites or multi-frame animations on a locked palette, and reuse a source asset to keep character frames consistent.

Instructions

Generate an exact 1:1 indexed pixel sprite or multi-frame animation on a locked palette. Reuse source_asset when animating a character.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "celgrid_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
mapsNo
viewNo
modelNo
titleNo
widthNo
framesNo
heightNo
promptYes
outlineNo
qualityNo
movementNo
animationNo
max_colorsNo
pixel_maskNo
project_idNo
referencesNo
palette_lockNo
source_assetNo
source_frameNo
custom_motionNo
motion_strengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the whole burden. It discloses that output is 1:1 indexed and constrained to a locked palette, which is genuinely behavioral, but says nothing about cost/latency (quality=studio), whether it creates or overwrites assets, what project_id scoping does, or how failures/degraded results surface.

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 with zero padding; the artifact and its constraints lead, and the conditional tip follows. Nothing needs to be trimmed — the problem here is under-specification, not verbosity.

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?

For a 22-parameter generation tool with nested reference objects, seven enums, no output schema, and no annotations, two sentences are far from sufficient. An agent must open the schema to understand almost every dimension of the call, and there is no guidance on return values or how a locked palette interacts with references.

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

Parameters2/5

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

Schema description coverage is 0% across 22 parameters, including 7 enums and nested references/palette_lock objects, so the description needed to compensate heavily. It only explains the intended use of source_asset; frames, fps, animation, movement, pixel_mask, max_colors, quality, view, outline, references, and custom_motion are all left entirely undocumented.

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?

"Generate an exact 1:1 indexed pixel sprite or multi-frame animation" gives a specific verb plus concrete output artifacts, and adds defining constraints (pixel-exact, palette-locked). It stops short of naming how it differs from celgrid_revise or celgrid_create_blank, but the verb/resource pair is unambiguous.

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?

There is one real conditional rule: reuse source_asset when animating a character. That is useful but narrow; nothing tells the agent when to generate fresh versus revise an existing asset, or how this relates to celgrid_create_blank. Usage is implied rather than stated.

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