Skip to main content
Glama
Aseprite MCP Pro Max

Aseprite MCP Pro Max

auto_shade

Shades flat pixel-art colors into lit forms from a chosen light angle, adding highlights and shadows while leaving outlines and tiny details untouched.

Instructions

Shade flat colours into lit forms from one light direction.

Draw the flats first (each material one colour, optionally a dark outline), then run this. For each flat colour it builds a hue-shifted ramp (or uses yours), estimates the 3D form from the silhouette and the colour areas, and paints highlight, base, shadow and deep shadow clusters lit from light_angle. Outline colours are detected and left alone; tiny areas (eyes, buttons) are kept as they are.

Then: view_quality to judge it, critique_sprite, and hand-fix clusters with draw_rows. A checkpoint is saved first so restore_checkpoint undoes it.

Args: filename: Aseprite file layer_name: Image layer with the flats ("" = topmost) frames: "" = every frame (consistent light across an animation) light_angle: Where the light comes from, degrees: 90 = top, 135 = top-left (the classic), 45 = top-right, 180 = left shadow_steps: Shadow shades below the base colour, 1-3 highlight_steps: Highlight shades above the base, 0-2 contrast: 0.6 (soft, overcast) to 1.8 (harsh, dramatic) form: "mixed" (default: whole body plus each part), "silhouette" (one volume, best for simple shapes), "region" (each colour area rounded) ambient_occlusion: Contact shadow where one part overlaps another rim_light_color: Hex colour for a thin back-light on the shadow-side edge dither: Checkerboard the boundaries between shades (only for 48 px+) use_sprite_palette: Snap all shades to the sprite's current palette ramps: Your own ramps, {"#base": ["#dark", ..., "#base", ..., "#light"]} hue_shift: Degrees the hue turns per shade step (0 = none, 9 = subtle default, 15+ = stylised: shadows clearly cooler, lights warmer) output_layer: Write the shaded result to this layer instead of in place checkpoint: Save a checkpoint first

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": {
      "filename": "<filename>"
    },
    "name": "auto_shade"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNomixed
rampsNo
ditherNo
framesNo
contrastNo
filenameYes
hue_shiftNo
checkpointNo
layer_nameNo
light_angleNo
output_layerNo
shadow_stepsNo
highlight_stepsNo
rim_light_colorNo
ambient_occlusionNo
use_sprite_paletteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the important traits: it mutates in place unless output_layer is set, a checkpoint is saved first, outline colours are detected and left alone, and tiny areas are preserved. These edge-case behaviours are genuinely useful beyond the schema. However, it says nothing about failure modes (no flats found, layer missing), cost/runtime on large frame sets, or whether the original layer is replaced or added alongside.

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?

The purpose and workflow are front-loaded before the arg list, and each clause carries information. It is long, but proportionate to 16 params; small trimming is possible in the form/light_angle parentheticals, which restate defaults already in the schema.

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

Completeness5/5

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

For a 16-parameter mutation tool with no annotations and no output schema, the definition supplies prerequisites, per-parameter guidance, safety via checkpoint, follow-up tools, and preserved-element exceptions. Nothing essential for a correct first call is missing.

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 0%, so the description must compensate, and it largely does: all 16 parameters get meaning, ranges, and defaults (contrast 0.6-1.8, shadow_steps 1-3, highlight_steps 0-2, hue_shift 0/9/15+, light_angle 90/135/45/180, form enum values). The ramps object format is spelled out with an example. Minor gap: 'frames' only says '"" = every frame' without describing how to target a subset.

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?

Opens with a specific verb and resource: 'Shade flat colours into lit forms from one light direction.' The mechanism (hue-shifted ramp, form estimated from silhouette and colour areas, four shade clusters) makes it unmistakable against siblings like adjust_hsl or apply_convolution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the precondition ('Draw the flats first ... then run this'), the downstream workflow ('view_quality to judge it, critique_sprite, and hand-fix clusters with draw_rows'), and the undo path ('restore_checkpoint undoes it'). Each named sibling comes with the condition that selects it.

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