Skip to main content
Glama
lazyq666

Illustrator MCP Unified

by lazyq666

Close Document

close_document
Destructive

Close the active Illustrator document, optionally saving changes first, without bringing Illustrator to the foreground.

Instructions

Close the active Illustrator document. Runs without activating Illustrator in default background mode; never invokes Computer Use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saveNoWhether to save before closing (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.0-local.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this is a risky mutation. The description adds useful execution context (background mode, never invokes Computer Use), but omits the critical consequence that unsaved changes are lost given save defaults to false.

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?

Two short sentences, purpose front-loaded, no filler. The execution-mode note is compact and earns its place for an agent operating in headless contexts.

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?

With annotations covering the destructive profile and the schema covering the save flag, the description only needs to add operational context, which it does via the background-mode note. Minor gap: it never states what happens to unsaved work when save is omitted.

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 coverage is 100% and the single 'save' parameter is fully documented there, including its default. The description adds no syntax or behavior detail beyond the schema, so baseline 3 applies.

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?

States a specific verb+resource ('Close the active Illustrator document'), which is unambiguous and clearly separable from siblings like save_document, create_document, or open_document. No ambiguity about scope ('active' document).

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?

No guidance on when to use this versus save_document or delete_objects, and no mention that closing discards unsaved state unless save=true. The one implicit context is that it assumes an active document exists, which is never stated.

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