Skip to main content
Glama

create_sprite

Destructive

Create a new .aseprite sprite file with set dimensions, frame count, color mode, and optional palette or background fill for consistent pixel-art assets.

Instructions

Create a new .aseprite file.

palette is a list of '#rrggbb' colors; using one fixed palette keeps an asset set consistent. background fills the first layer; omit it for a transparent sprite.

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": {
      "path": "<path>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "create_sprite"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
widthYes
framesNo
heightYes
paletteNo
backgroundNo
color_modeNorgb
layer_nameNoLayer 1
duration_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds useful mechanics: background fills the first layer and omitting it yields a transparent sprite. However, it never addresses the destructive edge case — whether an existing file at `path` is overwritten or an error is raised — which is the key behavior for a destructive create.

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?

Short, front-loaded, and the core create statement comes first with parameter notes following. The line breaks and backtick formatting are slightly fussy for such a small amount of text, but no sentence is wasted.

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 9-parameter destructive file-creation tool with no output schema and zero schema coverage, the description is far too thin. It omits file-overwrite/exists behavior, what frames and duration_ms mean (animation timeline?), and what color_mode 'indexed' implies for palette usage.

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% (titles only), so the description carries the full burden and only documents 2 of 9 parameters: `palette` (format '#rrggbb') and `background` (fills first layer). Path, width, height, frames, color_mode, layer_name, and duration_ms get no meaning at all, leaving the majority of the surface unexplained.

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?

The description opens with a specific verb and resource — 'Create a new .aseprite file' — which is unambiguous. It doesn't differentiate from siblings such as add_frames or import_image, but the action and artifact type are clear.

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?

No guidance on when to use this versus alternatives (e.g., import_image for existing assets), and no prerequisites stated. The only implicit usage advice is the palette-consistency tip. An agent gets no routing help at all.

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