Skip to main content
Glama
LufiSprite Studio

LufiSprite Studio

by Lufi735

undo_redo

Revert or reapply recent canvas actions in LufiSprite Studio by choosing undo or redo and setting how many steps to move.

Instructions

Undo or redo recent actions in LufiSprite Studio.

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": {
      "action": "<action>"
    },
    "name": "undo_redo"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNoNumber of steps (default: 1).
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure and does not meet it. Nothing is said about whether undo discards the redo stack, whether the operation is reversible, whether it applies to the active layer/canvas/project, or what the caller gets back.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is also the source of the gaps flagged in other dimensions.

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?

The tool is simple (one required enum, one optional integer) and has no output schema, so a short description could suffice, but for a state-mutating history operation it omits scope (what gets undone), side effects on the redo stack, and any indication of the resulting state.

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 coverage is only 50%, and the uncovered parameter (action) is just a two-value enum with no semantics beyond its literal values. The description adds no meaning about how 'steps' interacts with boundaries (e.g. behavior when requested steps exceed history depth) beyond what the schema's min/max already states.

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?

Names a specific verb pair (undo/redo) and the resource (recent actions) scoped to LufiSprite Studio, so an agent knows exactly what the tool does. No sibling tool in the list competes with this function, so no explicit differentiation is needed, but the description does not state how far back 'recent' extends.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to call this versus alternatives, no prerequisites (e.g. an open project or prior edits being required), and no exclusions. It merely restates that both directions exist without saying when an agent should choose undo over redo.

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