Skip to main content
Glama
Chandelier

Chandelier

by acidka

styles

List, create, update, apply, or remove Adobe Illustrator paragraph, character, and graphic formatting definitions to keep text and object appearance consistent.

Instructions

Paragraph, character and graphic styles (kind, default "paragraph"). action: "list" (names; spec = the props this tool stored for styles it made — Illustrator can't report style attributes safely) · "create" (name + props; refs applies it right away) · "update" (name + props to change; new_name) · "apply" (name, refs: text frames or groups; character styles can target match text; clear_overrides default true) · "remove". Paragraph props: font, size, fill/color, leading, tracking, caps, … + align, space_before/after, indents, hyphenation. Character props: the font/colour ones. Graphic styles: list and apply only (they can't be created from scripts).

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

Input Schema

NameRequiredDescriptionDefault
capsNo
fillNotext colour
fontNofuzzy: "Arial Bold" or a PostScript name
kindNo
nameNo
refsNo
sizeNopt
alignNo
colorNosame as fill
matchNo
actionNo
strokeNo
leadingNopt or "auto"
new_nameNo
trackingNo1/1000 em
underlineNo
hyphenationNo
left_indentNo
space_afterNo
first_indentNo
right_indentNo
space_beforeNo
stroke_widthNo
strikethroughNo
baseline_shiftNo
clear_overridesNo
horizontal_scaleNo%

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.6/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 burden, and it does disclose real constraints: Illustrator cannot safely report style attributes, so list returns names and spec only reflects props the tool itself stored, and graphic styles cannot be created from scripts. It also flags the immediate side effect of refs on create and the clear_overrides default on apply. However, it says nothing about what remove does to already-styled content, whether updates are reversible, or any failure conditions.

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 definition is front-loaded with the resource and kind default, then a compact action-by-action breakdown using separators, followed by property groupings and the graphic-style limitation. It is dense and telegraphic but every clause carries information; readability suffers slightly from the compressed notation, though nothing is padded.

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 27-parameter, five-action tool with no annotations and no output schema, the description covers the action model, key parameters, and two important platform limitations well. It still leaves roughly a third of the parameters unexplained and gives no sense of what list or apply return, which is a meaningful shortfall at this complexity level.

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 coverage is only 26% across 27 parameters, so the description must compensate, and it does explain action semantics, name/new_name, refs targets, match for character styles, clear_overrides, and groups the text properties (font, size, fill/color, leading, tracking, caps, alignment, spacing, indents, hyphenation). Several parameters — stroke, stroke_width, underline, strikethrough, baseline_shift, horizontal_scale, right_indent/first_indent/left_indent — are never mentioned, leaving a substantial documented 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 description names the resource (paragraph, character and graphic styles) and enumerates the concrete operations (list, create, update, apply, remove), so the agent knows exactly what the tool manages. It does not explicitly contrast itself with adjacent siblings such as swatches or fonts, but the verb+resource statement is specific enough to separate it from most of the catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Each action carries inline guidance: list returns names with an optional spec, create needs name + props and applies immediately when refs is given, apply takes text frames or groups and defaults clear_overrides to true, and graphic styles are restricted to list and apply. What's missing is any statement of when to prefer this tool over a sibling (e.g., apply vs. modify_items for styling existing content), so it stops short of full routing guidance.

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