Skip to main content
Glama

export_godot_spriteframes

DestructiveIdempotent

Export Aseprite sprites into Godot 4 as PNG and SpriteFrames .tres files, converting tags into animations with preserved timing and baked directions for AnimatedSprite2D.

Instructions

Export a sprite into a Godot 4 project as .png plus .tres (SpriteFrames).

Each Aseprite tag becomes an animation with per-frame timing preserved; reverse and ping-pong directions are baked into the frame order, and tags with a repeat count do not loop. Assign the .tres to an AnimatedSprite2D.

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>",
      "godot_project": "<godot_project>"
    },
    "name": "export_godot_spriteframes"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pathYes
paddingNo
target_dirNoassets/sprites
godot_projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the write profile is known. The description adds genuine behavioral detail beyond that — per-tag animation generation, per-frame timing preservation, baking of reverse/ping-pong into frame order, and that repeat-count tags do not loop. However, it never says whether existing files at the target are overwritten, which is the main hazard for a destructive export.

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?

Roughly two sentences, front-loaded with what is produced, followed by behavior and a usage hint. Nothing reads as filler, though the loose line breaks and the trailing usage hint could be tightened.

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

Completeness4/5

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

For a five-parameter destructive write with no output schema, the description covers the conceptual model of the export well: output file pair, per-tag animations, timing and direction handling. The gap is file-system behavior (overwrite semantics, how target_dir and godot_project combine), which an agent needs to call this safely.

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 five parameters, so the description must carry the burden and largely does not. It only implies that 'name' controls the <name>.png/.tres filenames; 'path', 'godot_project', 'padding' and 'target_dir' (default assets/sprites) get no explanation at all, leaving the agent to guess at path semantics and the meaning of padding.

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 states a specific verb and resource ('Export a sprite into a Godot 4 project') and names the exact artifacts produced ('<name>.png plus <name>.tres (SpriteFrames)'). The SpriteFrames/Godot wording implicitly separates it from export_spritesheet and export_tileset, but no sibling is named explicitly, so it falls short of full differentiation.

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?

Usage is implied by the artifact description and the closing hint to 'Assign the .tres to an AnimatedSprite2D', which tells an agent what the output is for. There is no explicit when-to-use versus the other export_* or tag_animation tools, and no prerequisite guidance about the target project existing.

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