Skip to main content
Glama
Chandelier

Chandelier

by acidka

documents

Manage Adobe Illustrator files by listing, creating, opening, activating, saving, exporting, and closing them, with control over artboards, units, color mode, and PDF presets.

Instructions

Manage documents. Sizes are in session units (configure) unless "units" is given. action: "list" → open documents "new" (width, height, units? (also becomes the session units), color "cmyk"(default)|"rgb", artboards (count, default 1), columns (grid, default min(n,4)), spacing (gap between trim edges, session units, default 20 pt), bleed, artboard_names[], title) → creates and activates it "open" (path) → opens or activates a file "activate" (name) "save"|"save_as" (name? default active; path → save as, format from .ai|.pdf|.eps|.svg or "format"; pdf_preset?; export: [{format, path, artboards: [i]|"all", …export args}] and close:true → save, export, close in one call (not in batch)) "close" (name? default active; unsaved changes need save:true or discard:true) → also lists the documents still open

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": "documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pathNo
saveNo
bleedNo
closeNo
colorNo
titleNo
unitsNo
widthNo
actionYes
exportNo
formatNo
heightNo
columnsNo
discardNo
spacingNo
artboardsNo
pdf_presetNo
artboard_nameNoname of the first artboard (same as artboard_names:[name])
artboard_namesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description must carry the full behavioral burden, and it does disclose meaningful traits: 'new' activates the created document, the units argument mutates session state, 'close' additionally lists remaining open documents, and the save/export/close combo is disallowed in batch. It does not state that discard:true destroys unsaved work irreversibly, nor does it distinguish the read-only actions from destructive ones in a dispatcher that mixes both.

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?

The lead sentence is front-loaded and the action tree keeps each branch to one dense line, so there is little waste. The telegraphic style ('units? (also becomes the session units)') occasionally costs a read but saves far more space than prose would.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 20-parameter, seven-action dispatcher with no annotations and no output schema, the description covers most of the surface but leaves real holes: 'bleed' is named without any semantics, export item structure is elided, and return values are only hinted at ('open documents', 'lists the documents still open'). It is usable but an agent would still be guessing on several parameters.

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 only 5%, so the description has to compensate, and it largely does: it explains units (session units, also becomes session default), color default 'cmyk', artboards default 1, columns default min(n,4), spacing as gap between trim edges in session units with a 20 pt default, and the format inference from file extension. Residual gaps remain around 'name' across the different actions and the vague '…export args' for the export array items.

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 names a specific resource and enumerates each action (list, new, open, activate, save, save_as, close) with the verb it performs, so an agent knows exactly what each call does. It does not, however, contrast itself with siblings such as document_info, export, or batch, leaving the boundary to be inferred.

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?

Each action carries a short contextual note (e.g. 'creates and activates it', 'opens or activates a file', 'unsaved changes need save:true or discard:true'), which implicitly tells the agent which action to pick for a given intent. What's missing is guidance on when to use this tool versus sibling tools that overlap, such as document_info for inspection or export for format conversion.

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