Skip to main content
Glama
Chandelier

Chandelier

by acidka

arrange_items

Group, ungroup, clip, compound, or reorder Adobe Illustrator objects to control stacking and structure. Move items into layers or above and below others, then return the resulting items.

Instructions

Structure and stacking. action: "group" (refs → one group at the frontmost item's place, order kept; name) · "ungroup" (groups → their items; clipping released unless release_clip:false) · "clip" (refs → clipping group; mask = the frontmost item or mask ref; must be a path/compound) · "compound" (paths → compound path) · "release_compound" · "front" | "forward" | "backward" | "back" (z-order, relative order kept) · "move_into" (target: "layer:Name" (created if missing) or a group; position "front" (default) | "back") · "move_above" | "move_below" (target item). Returns the resulting items.

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>",
      "refs": "<refs>"
    },
    "name": "arrange_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
maskNo
nameNo
refsYes
actionYes
targetNo
positionNo
release_clipNo

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 at all, the description carries the full burden and does disclose meaningful side effects: ungroup releases clipping unless release_clip:false, move_into creates the layer if missing, grouping places the result at the frontmost item's position, and z-order moves preserve relative order. It stops short of stating failure modes (e.g. what happens if refs span layers) or confirmation behavior.

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?

Dense but well-organized: a one-line topic sentence followed by '·'-separated action entries, each self-contained and front-loaded with the action keyword. Every clause carries information the agent needs; the closing sentence states the return type in five words.

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 7-parameter, 12-action mutation tool with no annotations and no output schema, the definition covers every action in the enum, maps the important parameters, and states that resulting items are returned. It would be complete with a note on cross-layer constraints and error conditions.

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; it does map most parameters to concrete actions (name for group, mask for clip, target plus position for move_into, release_clip for ungroup). Gaps remain: types, the mask default of 'frontmost item', and the target string format 'layer:Name' vs. a group reference are only partially spelled out.

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 opens with 'Structure and stacking' and then enumerates all 12 supported actions with a short gloss for each, so an agent can tell exactly what operation it is performing. It is clear about its own scope but never names or distinguishes itself from siblings that overlap, such as path_ops (for compound/release_compound) or transform_items.

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?

Per-action glosses effectively say when each action applies (e.g. 'clip' requires a path/compound mask), which is useful implied usage guidance. However, there is no explicit when-to-use-this-tool-vs-alternative guidance, no prerequisites, and no statement about which sibling to reach for when a tree/stacking edit could be done another way.

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