Skip to main content
Glama

validate_asset_spec

Read-only

Validate an aseprite_mcp.asset_spec.v1 document before building by checking schema, canvas, palette, layers, animations, slices, export formats, and single-build fit; returns pass/fail results.

Instructions

Validate an aseprite_mcp.asset_spec.v1 document (does the spec make sense?).

Checks the schema, kind, canvas, per-kind fields, palette, layers, animations
(`frame_count`, not `frames`), slices, export formats, and that the work the plan
would produce fits one build. `name` may already carry a `.aseprite`/`.ase`
extension: it is normalised, not doubled, so `hero` and `hero.aseprite` name the same
file. Returns a ``workflow_manifest.v1`` (kind ``asset_spec``) with a `validation` block
`{passed, checks, errors, warnings}`. `validation.passed` is the verdict;
`ok` just means the check ran. To check a finished sprite against the spec, use
`validate_asset_against_spec`.

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": {
      "spec": "<spec>"
    },
    "name": "validate_asset_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.10.0
    • removedInput schema / properties / spec / title
      Removed value: -"Spec"
    • removedInput schema / title
      Removed value: -"validate_asset_specArguments"
  2. First observedv0.7.0

TDQS

A4.4/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, and the description adds genuinely useful semantics about the return envelope and the critical `validation.passed` vs `ok` distinction. However, it omits the practical behavioral facts an agent needs most: what happens on a malformed or unparseable spec (exception vs. failed validation block) and whether warnings imply a pass. Those gaps are meaningful for a validator whose whole job is producing verdicts.

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-loaded with the verdict question, then the check list, then the return contract and the sibling redirect in a logical order. The reST backtick noise and long enumeration of checked fields cost some density, but almost every clause carries decision-relevant information.

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?

With no output schema and an opaque input, the description still tells the agent what it gets back (a workflow_manifest.v1 with a validation block of passed/checks/errors/warnings) and how to read the verdict. Combined with the sibling redirect and the field checklist, nothing essential for calling it correctly 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?

The single `spec` parameter is an opaque object with additionalProperties=true and 0% schema coverage, so the description must compensate and largely does: it names the document type, the fields that will be checked (including the `frame_count` not `frames` trap), and the name-normalisation rule for `.aseprite`/`.ase` extensions. It stops short of linking a formal spec or enumerating required fields, leaving the agent to infer the document shape.

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 ("Validate an aseprite_mcp.asset_spec.v1 document") and immediately clarifies what validation means with a parenthetical. It enumerates the check surface (schema, kind, canvas, per-kind fields, palette, layers, animations, slices, export formats, build fit), making it unmistakable against siblings.

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?

Explicitly routes the agent away from the wrong sibling: "To check a finished sprite against the spec, use validate_asset_against_spec." That gives both the alternative and the condition that selects it, which is the key ambiguity given the near-identical sibling name.

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