Skip to main content
Glama

batch_export

DestructiveIdempotent

Recursively re-export every .aseprite/.ase file from a source folder into a Godot project as SpriteFrames, preserving folder structure and reporting per-file failures without stopping the batch.

Instructions

Re-export every .aseprite/.ase file under src_dir (recursively) into the Godot project as SpriteFrames, mirroring the folder structure. Failures are reported per file without stopping the batch.

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": {
      "src_dir": "<src_dir>",
      "godot_project": "<godot_project>"
    },
    "name": "batch_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
src_dirYes
target_dirNoassets/sprites
godot_projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Adds real behavior beyond the annotations: per-file failure reporting that does not abort the run, and folder-structure mirroring. What is missing is the consequence of destructiveHint=true — whether existing SpriteFrames at target_dir are overwritten, merged, or purged — which is the single most important thing an agent needs before calling a destructive tool.

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?

Two tight sentences, front-loaded with the core action and scope, with no filler. The failure-handling clause earns its place by describing batch semantics; nothing is bloated or buried.

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

Completeness3/5

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

Covers the batch behavior and error model well, which is the hard part. But with no output schema and zero schema coverage on a three-parameter destructive tool, the definition should still explain what target_dir and godot_project mean and what happens to pre-existing output.

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%, so the description must carry parameter meaning and largely does not. src_dir is clarified as recursive input, but target_dir (default assets/sprites) is never mentioned and godot_project is never explained (project path? project name?), leaving two of three parameters undefined anywhere.

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?

States a specific verb and resource ('Re-export every .aseprite/.ase file'), the input scope (recursively under src_dir), the output artifact (SpriteFrames in the Godot project) and the structural result (mirrored folders). This separates it from a single-file export such as export_godot_spriteframes, though it never names the sibling explicitly.

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?

The word 'every' plus 'batch' in the name implies this is the bulk variant to use when a whole directory needs converting, which is usable guidance by implication. However, there is no explicit when-to-use / when-not-to-use statement and no pointer to the singular export tool for one-off cases.

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