Skip to main content
Glama
aseprite-ai-artist

aseprite-ai-artist

by with-pebbly

Validate

validate
Read-only

Lint a sprite against pixel-art rules and report located issues—off-palette colors, stray pixels, broken outlines, banding, empty layers, and timing gaps—before marking artwork finished.

Instructions

Lint a sprite against pixel-art rules and report concrete, located problems. Checks: off-palette colours, orphan/stray pixels, broken or doubled outlines, banding, semi-transparent (soft or resized) pixels, empty layers, untagged frames and uniform frame timing; expect adds per-layer frame ranges and layers that must not overlap. Symmetry and cross-frame volume drift are not checked — judge those with look op 'ascii' and 'filmstrip'. Run this before telling the user a sprite is finished. It answers 'is this actually done' with evidence rather than optimism.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
checksNoOmit to run everything.
expectNoThe animation contract you already know. Runs independently of `checks`, whenever given: flags art outside a layer's expected frame ranges (or a missing cel inside one), and any frame where two named layers' opaque pixels overlap.
spriteNoWhich sprite: its id as '#7' (what every result reports back, and the only unambiguous form — two unsaved documents are both called 'Sprite'), its filename, or its display name. Omit to use the sprite Aseprite has focused.
strictNoTreat style warnings as failures. Use when the user asked for a specific discipline.

Output Schema

NameRequiredDescriptionDefault
scoreYes
passedYes
spriteYes
summaryYes
findingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.4
    • changedInput schema / properties / expect / properties / layerFrames / additionalProperties / items / items
      Previous value: -[
      -  {
      -    "exclusiveMinimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "exclusiveMinimum": 0,
      -    "type": "integer"
      -  }
      -]New value: +{
      +  "exclusiveMinimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / expect / properties / mustNotOverlap / items / items
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.4.0
    • addedInput schema / properties / expect
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The animation contract you already know. Runs independently of `checks`, whenever given: flags art outside a layer's expected frame ranges (or a missing cel inside one), and any frame where two named layers' opaque pixels overlap.",
      +  "properties": {
      +    "layerFrames": {
      +      "additionalProperties": {
      +        "items": {
      +          "items": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "integer"
      +            }
      +          ],
      +          "maxItems": 2,
      +          "minItems": 2,
      +          "type": "array"
      +        },
      +        "type": "array"
      +      },
      +      "description": "Per layer, the [from,to] frame ranges (1-based, inclusive) it should hold ink in.",
      +      "type": "object"
      +    },
      +    "mustNotOverlap": {
      +      "description": "Layer name pairs whose opaque pixels must never intersect on the same frame.",
      +      "items": {
      +        "items": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "string"
      +          }
      +        ],
      +        "maxItems": 2,
      +        "minItems": 2,
      +        "type": "array"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changedv0.1.6
    • changedInput schema / properties / sprite / description
      Previous value: -"Sprite filename or id. Omit to use the sprite Aseprite has focused."New value: +"Which sprite: its id as '#7' (what every result reports back, and the only unambiguous form — two unsaved documents are both called 'Sprite'), its filename, or its display name. Omit to use the sprite Aseprite has focused."
  4. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds that omitting `checks` runs everything, that `expect` runs independently of `checks`, and that `strict` promotes style warnings to failures. It does not describe severity tiers or how 'located problems' are expressed in the response, leaving output-schema discovery to the agent. Useful additional context, but not a full behavioral picture beyond annotations.

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?

Front-loads the purpose, then the check inventory, then the exclusion, then the call-to-action — a logical order with dense information per sentence. The closing line ('evidence rather than optimism') is motivational padding rather than operational content, a minor deduction.

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?

A read-only lint tool with a full output schema and complete parameter documentation needs exactly this: what is checked, what is deliberately out of scope and where to go for it, and when to invoke. Nested `expect` semantics and defaults are handled by the schema, so nothing an agent needs to call it correctly is missing.

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 100%, so `checks`, `expect`, `sprite`, and `strict` are already documented in the input schema — including that `expect` runs independently of `checks` and that sprite accepts ids, filenames, or display names. The description restates rather than extends that semantics and says nothing extra about `strict` or `sprite` resolution. 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?

States a specific verb and resource ('Lint a sprite against pixel-art rules') and enumerates the exact rules checked (off-palette colours, strays, outlines, banding, semi-transparency, empty layers, untagged frames, uniform timing). It also names a sibling it is not — symmetry and volume drift belong to `look` ops 'ascii'/'filmstrip' — so an agent can distinguish it without opening another schema.

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?

Gives explicit timing guidance ('Run this before telling the user a sprite is finished') and an explicit exclusion with the alternative named for what it does not cover. The `strict` guidance ('when the user asked for a specific discipline') adds a clear conditional for that flag.

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