Skip to main content
Glama
Chandelier

Chandelier

by acidka

transform_items

Transform selected Illustrator items by moving, scaling, rotating, or reflecting them, including group-origin anchoring and step-and-repeat copies.

Instructions

Move / scale / rotate / reflect items (in that order: scale, reflect, rotate, move). dx, dy (session units) · scale (% uniform) or sx, sy (%) · rotate (degrees, positive = clockwise on screen) · reflect "horizontal" | "vertical". origin: anchor of each item's bounds (default center), or a point [x, y]. as_group:true uses the bounds of all items together (e.g. rotate a selection as one). copies: n → step-and-repeat: makes n copies, each one transformed from the previous (e.g. dx:30, copies:5 → a row; rotate:30, copies:11, origin:[cx,cy] → a ring). Returns the copies; without copies returns the items. scale_strokes: scale stroke widths too.

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

Input Schema

NameRequiredDescriptionDefault
dxNo
dyNo
sxNo
syNo
refsYes
scaleNo
copiesNo
originNo
rotateNo
reflectNo
as_groupNo
scale_strokesNo

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 well: it discloses the fixed application order (scale, reflect, rotate, move), the clockwise sign convention, the default origin, and the return value ('Returns the copies; without copies returns the items'). It omits reversibility/undo behavior, permission requirements, and what happens when conflicting parameters (e.g. scale vs sx/sy) are supplied together.

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 text is dense and telegraphic but front-loads the core operation list and uses separators to keep a 12-parameter tool compact. Every line carries information; the terse formatting is slightly cryptic but not wasteful.

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 12-parameter mutation tool with no annotations and no output schema, this is thorough — it explains transformation order, defaults, grouping, copies, and the return value. The remaining gaps are edge-case behavior: parameter conflicts, invalid refs, and undoability.

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 description coverage is 0%, so the description must compensate, and it documents units and semantics for nearly every parameter — dx/dy in session units, scale vs sx/sy in percent, rotate in degrees with direction, origin as anchor or [x, y], as_group, copies, and scale_strokes. The required refs parameter is only implied by 'items' and the scale/sx/sy conflict is not resolved, leaving a small gap.

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 opening line names the specific operations (move, scale, rotate, reflect) and the resource (items), so an agent knows exactly what capability this is. It does not explicitly contrast with near-neighbors like modify_items or arrange_items, so it stops short of full sibling differentiation.

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?

The description gives useful application context — operation order, when to use as_group, and how copies produces step-and-repeat patterns — but never states when to choose this tool over modify_items or arrange_items, nor any prerequisites or exclusions.

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