Skip to main content
Glama
Chandelier

Chandelier

by acidka

artboards

Manage page frames in Adobe Illustrator documents: list, add, resize, reposition, remove, activate, fit artwork, arrange in grids, and generate print crop marks.

Instructions

Artboards of the active document. Rects are [x, y, w, h] with y = TOP, in session units, measured from the top-left of ARTBOARD 0 (stable: the active artboard changes), the same for reading and writing. action: "list" · "add" (rect; or w, h → placed right of the last artboard with spacing; name) · "update" (index; name; rect or x/y/w/h; move_art:true moves the art on it along) · "remove" (index; art stays) · "activate" (index) · "fit_to_art" (index; to the art on it, or to refs with pad) · "grid_layout" (columns, spacing: rearrange all artboards left→right, top→bottom; their art moves along unless move_art:false) · "crop_marks" (around artboard index, all:true, or refs; offset from the trim (default the document bleed, at least 3 mm), length (default 5 mm), weight pt (0.25); drawn in [Registration] into a group on layer "Crop Marks"). index defaults to the active artboard.

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

Input Schema

NameRequiredDescriptionDefault
hNo
wNo
xNo
yNo
allNo
padNo
nameNo
rectNo[x, y, w, h] in session coordinates
refsNo
indexNo
layerNo
actionNo
lengthNo
offsetNo
weightNo
columnsNo
spacingNo
move_artNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.8/5.0
Behavior4/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 substantial work: it discloses side effects ('remove … art stays', grid_layout 'their art moves along unless move_art:false'), output destinations ('drawn in [Registration] into a group on layer "Crop Marks"'), and defaults for offset, length, and weight. What is missing is any statement of return values, error behavior, or undo/reversibility characteristics.

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?

Opening with the resource and coordinate convention before the action list is good front-loading, and nearly every clause carries required information. The dense semicolon-and-bullet packing of eight actions into one block makes it harder to scan than a per-action list would be, but little is genuinely wasted.

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 an eight-action, eighteen-parameter tool with no annotations and no output schema, the description covers the essentials: coordinate frame and its stability, per-action inputs, side effects on artwork, and key defaults. Missing pieces — return shape, refs syntax, and the meaning of 'layer' and 'session units' — are real but secondary for correct invocation.

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 6% across 18 parameters, so the description must compensate, and its main contribution is mapping parameters to actions — information absent from the flat schema. It also documents non-schema behaviors such as 'index defaults to the active artboard' and add's auto-placement to the right of the last artboard. Gaps remain: the refs format, the 'layer' parameter, and 'session units' are never defined.

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?

States the resource ('artboards of the active document') and enumerates eight concrete actions (list/add/update/remove/activate/fit_to_art/grid_layout/crop_marks), so an agent knows exactly what domain of operations this covers. It does not contrast itself with siblings like document_info, layers, or arrange_items, 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?

Usage is implied rather than stated: each action's parenthetical lists the inputs it needs (e.g. 'add' takes rect or w/h; 'remove' takes index), which effectively tells the agent how to invoke each mode. There is no explicit when-to-use/when-not guidance and no named alternative tool for overlapping tasks such as layout or placement.

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