Skip to main content
Glama
Chandelier

Chandelier

by acidka

align_items

Align and distribute selected objects horizontally or vertically relative to a selection, artboard, or key object, with optional fixed spacing and visible-bounds handling.

Instructions

Align and/or distribute items. horizontal: "left" | "center" | "right"; vertical: "top" | "middle" | "bottom". to: "selection" (default: the bounds of all given items) | "artboard" (artboard index, default the reference one) | "key" (key ref stays put). distribute: "horizontal" | "vertical" — equal gaps between items (within their extent, or across the artboard with to:"artboard"), or a fixed spacing (session units). bounds: "geometric" (default) | "visible" (incl. stroke).

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

Input Schema

NameRequiredDescriptionDefault
toNo
keyNo
refsYes
boundsNo
spacingNo
artboardNo
verticalNo
distributeNo
horizontalNo

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 carries the full disclosure burden. It does add useful behavioral detail beyond the schema: documented defaults for to and bounds, the fact that the key ref stays put, and that spacing is in session units. However it never states that this mutates the document, whether the change is undoable, or what happens when both horizontal and vertical are supplied simultaneously.

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 purpose leads, followed by one compressed clause per parameter group using semicolons. Dense but front-loaded and free of filler; the terse enum-dump style is slightly harder to parse but earns its space for a 9-parameter tool.

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 9-parameter mutating tool with no annotations and no output schema, the description covers most parameter semantics and defaults. What is missing is material: the meaning of refs (the only required parameter), the mutation/undo posture, and conflict behavior when multiple alignment modes are combined.

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% across 9 parameters, and the description compensates well: it explains horizontal, vertical, to (including the artboard-index variant of the artboard param), key, distribute, spacing ("session units"), and bounds ("incl. stroke"). Only refs is left unexplained, which is a modest gap given the otherwise thorough coverage.

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?

"Align and/or distribute items" names a specific verb and resource, and the rest of the text enumerates the alignment axes (left/center/right, top/middle/bottom) so the agent knows exactly what class of operation this is. It does not differentiate against the sibling arrange_items, which sounds adjacent, so it stops short of a 5.

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 conveyed indirectly through mode semantics: use to:"artboard" to spread across the artboard, to:"key" to hold a key reference in place, and distribute for equal gaps or fixed spacing. There is no explicit when-to-use/when-not statement and no routing to arrange_items or transform_items, so the agent must infer alternatives.

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