Skip to main content
Glama
Chandelier

Chandelier

by acidka

delete_items

Delete Illustrator items by reference, skipping locked items unless force is true and always skipping items on locked layers; returns deleted and skipped-locked counts.

Instructions

Delete items by refs (a group and its children listed together are deleted once). Locked items are skipped unless force:true (items on locked layers are always skipped). Returns {deleted, skipped_locked?}.

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

Input Schema

NameRequiredDescriptionDefault
refsYes
forceNo

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 most of the job: it discloses deduplication of nested refs, that locked items are skipped by default, that force overrides item locks but never layer locks, and the return shape. It omits whether deletion is undoable and what happens to partially invalid refs.

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?

Three dense clauses in parens plus a return annotation, all front-loaded with no filler. Every clause conveys a distinct rule the agent cannot get from the schema.

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 two-parameter destructive tool with no annotations and no output schema, the description covers side effects, the force escape hatch, the permanent layer-lock exception, and the return value. The main remaining gap is reversibility/undo semantics.

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 fully explains force ('Locked items are skipped unless force:true') and partially explains refs via the group/children example, but never states that refs accepts a single value or an array of strings/numbers, which is the main ambiguity in the schema.

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 a specific verb and resource ('Delete items by refs') and adds a non-obvious scoping rule (a group plus its children counted once). It is clearly distinguishable from sibling mutators like modify_items or duplicate_items, though it never names an alternative explicitly.

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: the agent can infer it should pass force:true to reach locked items, and that locked-layer items are unreachable regardless. There is no explicit when-to-use versus modify_items or when-not guidance, so the agent must reconstruct the decision rules.

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