Skip to main content
Glama
Chandelier

Chandelier

by acidka

history

Undo or redo earlier tool calls in the active document, treating each batch as one step, to correct or repeat Illustrator edits.

Instructions

Undo or redo in the active document. One step = one earlier tool call (a whole batch is one step); a call cannot undo itself. action "undo" (default) | "redo", count (default 1).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.6/5.0
Behavior3/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 disclose meaningful behavior: undo granularity (one tool call per step, an entire batch counts as one), the self-undo restriction, and defaults. It leaves open whether history spans sessions, what an undo does to the redo stack, and whether a failed undo raises an error or silently no-ops — relevant gaps for a state-mutating tool with no safety annotations.

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 compact clauses, front-loaded with the purpose, then the step-granularity rule, then the parameter summary. No filler; every clause adds information an agent needs before calling.

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 two-optional-parameter tool with no output schema, the description covers purpose, granularity, restriction, and defaults — enough to call it correctly. The main remaining gap is failure/empty-history behavior, which is more important here because no annotations declare the mutation profile.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 compensate, and it does document both parameters: the action enum with its default and count's default of 1. However, it never explains that count is the number of steps to move, nor why it is capped at 100 (that limit lives only in the schema).

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 operation pair (undo/redo) scoped to the active document, and the parenthetical about batches being one step clarifies its relationship to the 'batch' sibling. It stops short of naming an alternative tool outright, but the resource and scope are unambiguous.

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 description implies when to reach for this tool (reverting recent edits) and supplies one important exclusion — a call cannot undo itself — plus the default action. It does not say when to prefer another route, such as deleting items directly, or what happens when there is nothing left to undo.

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