Skip to main content
Glama

export_spritesheet

DestructiveIdempotent

Generate a sprite sheet PNG with optional Aseprite JSON frame data, filtering by tag or layer; use scale=1 for Godot and scale the viewport instead.

Instructions

Export a sprite sheet PNG, plus optional Aseprite JSON (frame rectangles, durations, tags). Filter by tag or layer. Keep scale=1 for Godot and scale the viewport instead.

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>",
      "out_png": "<out_png>"
    },
    "name": "export_spritesheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
pathYes
trimNo
layerNo
scaleNo
columnsNo
out_pngYes
paddingNo
out_jsonNo
sheet_typeNopacked

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is partly carried for the agent; the description adds the Godot scale caveat. It does not state that out_png/out_json are written to disk and may overwrite existing files, nor how the 'destructive' aspect manifests, which matters for a file-writing 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?

Three short sentences, front-loaded with the output artifact, then filtering, then the one behavioral caveat. No filler; terseness is the only minor cost, since a few words on path/out_png would have earned their place.

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

Completeness2/5

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

For a 10-parameter destructive export tool with no output schema and 0% schema documentation, the description is too thin: layout options (sheet_type, columns, padding, trim) and output targets are undocumented. An agent can only guess at most of the call surface from the definition.

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 10 parameters, so the description carries the full burden and largely fails: it only touches tag, layer and scale (with a useful scale=1 rule). Seven parameters — path, out_png, out_json, trim, columns, padding and the five-value sheet_type enum — get no explanation of meaning, defaults or interaction 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?

Specific verb and resource: 'Export a sprite sheet PNG, plus optional Aseprite JSON', and it names the JSON payload contents (frame rectangles, durations, tags). It is clear what the tool produces, but it never distinguishes itself from close siblings such as export_godot_spriteframes, export_tileset or batch_export.

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?

There is one concrete conditional tip ('Keep scale=1 for Godot and scale the viewport instead'), which is real usage guidance, and filtering by `tag` or `layer` is mentioned. However there is no when-not guidance, no statement of when to pick the JSON variant versus a Godot-specific sibling, and no prerequisites for the required path/out_png.

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