Skip to main content
Glama

save_copy

Write a sprite copy to a new file while leaving the original untouched; the output format follows the file extension, and multi-frame sprites require .aseprite or .gif.

Instructions

Write a copy of the sprite to another file, leaving the source untouched.

The format follows the output extension (.aseprite, .png, .gif, ...); a multi-frame sprite needs .aseprite or .gif. The output folder must exist.

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>",
      "output": "<output>"
    },
    "name": "save_copy"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesSprite file. Relative paths resolve against the server root.
outputYesFile to write; relative paths resolve against the root
overwriteNoReplace the file if it already exists

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares the operation non-destructive ("leaving the source untouched"), explains that format is derived from the output extension, and states an environment precondition (folder must exist). It stops short of describing the failure behavior when overwrite=false and the target already exists, which is the main remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the core action and side-effect guarantee, followed by format rules and a precondition. Nothing is repeated from the schema and every sentence carries operational 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?

An output schema exists, so return values need no explanation, and all three parameters are fully documented in the schema. For a moderate-complexity write tool, the description covers the destructive-safety question, format selection, and preconditions — everything an agent needs to invoke it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: the output path's extension controls the file format, with an explicit constraint that multi-frame sprites need .aseprite or .gif. That constraint is not expressible in the schema's free-form string and directly shapes correct parameter choice.

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 uses a specific verb and resource — "Write a copy of the sprite to another file" — and adds the key differentiator that the source is left untouched, which separates it from in-sprite copy tools like copy_frames and copy_layers. It does not name a sibling explicitly, so the differentiation is implicit rather than stated.

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?

It gives practical preconditions — the output folder must exist and a multi-frame sprite requires .aseprite or .gif — which tell the agent when the call will succeed. However, it never contrasts this with export or export_spritesheet, so the agent must infer why to choose save_copy over those.

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