Skip to main content
Glama
jinkeda

Illustrator MCP

by jinkeda

illustrator_history

Destructive

Undo or redo Illustrator actions, or save and restore named checkpoints to recover MCP-managed items after mistakes.

Instructions

Undo or redo actions in Illustrator.

CONTRACT: readOnly=False, destructive=True, idempotent=False, openWorld=False

WHEN TO USE:

  • Reverting mistakes (action='undo', count=N)

  • Restoring undone changes (action='redo')

  • Saving/restoring named checkpoints for recovery

EXAMPLES: illustrator_history(action="undo", count=3) illustrator_history(action="checkpoint_save", name="before_boolean") illustrator_history(action="checkpoint_restore", name="before_boolean") illustrator_history(action="checkpoint_list")

NOTES:

  • Checkpoints capture MCP-managed items only (those with @mcp:id)

  • checkpoint_restore is mutate-in-place; may require multiple undo to revert

  • undo/redo change document state (destructive)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (which already declare destructive=true, idempotent=false), the description adds genuinely useful traits: checkpoints only capture MCP-managed items carrying @mcp:id, and checkpoint_restore is mutate-in-place, potentially needing multiple undos to revert. The CONTRACT line merely restates the annotations verbatim, so it earns no additional credit, but the NOTES section does add real behavioral context.

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?

Front-loaded core sentence followed by clearly labeled CONTRACT/WHEN TO USE/EXAMPLES/NOTES sections; examples are compact and directly runnable. The CONTRACT line duplicates the annotations word-for-word, which is the one line that does not earn its place.

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 the description covers every action in the enum, the constraint on what checkpoints capture, the reversibility caveat for restore, and the destructive nature of undo/redo. An agent has everything needed to select the right action and call 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?

Top-level schema coverage reads 0% because params is a bare $ref, so the description has to carry semantic weight — and it does, via worked examples that demonstrate count for undo, and name for checkpoint_save/restore. It conveys which arguments matter for which action more concretely than the enum list alone, though the nested $defs already document name/count/action individually.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ("Undo or redo actions in Illustrator") and then extends it to the named checkpoint operations, which no sibling tool covers. An agent can distinguish it from illustrator_document, illustrator_query_items, or illustrator_execute_script without opening any schema.

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

Usage Guidelines4/5

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

The WHEN TO USE block gives three concrete scenarios mapped to specific action values (undo/redo for mistakes, checkpoint_save/restore for recovery), and the EXAMPLES section shows the exact call shape for each. It stops short of naming exclusions or alternatives (e.g. when to prefer document-level repair or execute_script over a checkpoint restore), so it is clear context without routing rules.

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