Skip to main content
Glama
Chandelier

Chandelier

by acidka

document_info

Summarizes an Adobe Illustrator document’s color space, bleed, artboards, layers, styles, fonts, and issues, with optional checks, to support print-readiness inspection.

Instructions

Compact summary of a document (default: active): colour space, bleed (session units, source xmp|file|unknown), artboards (rect [x,y,w,h] in session coordinates), layers (item counts, hidden/non-printing/locked), counts by type, global swatches with their colours, spot colours, paragraph/character styles, fonts used (text frames per font), selection count, and issues (RGB in CMYK, empty text, empty groups, unnamed text outside named groups, overset area text, unstyled text = frames left on the default paragraph style when the document has its own styles). checks:false skips the slow checks.

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

Input Schema

NameRequiredDescriptionDefault
docNodocument name, default active
checksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the full burden. It does well on output disclosure — it lists every returned facet, states that bleed is in session units with a provenance field (xmp|file|unknown), and warns that checks are slow and skippable. However it never states that the call is strictly read-only and has no side effects, and says nothing about cost/pagination behaviour beyond the checks warning.

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?

Front-loaded with the one-line purpose, then a dense but purposeful enumeration of fields; every clause maps to something the agent gets back. It is a single run-on sentence and the long parenthetical about 'unstyled text' is hard to parse, costing a point on structure.

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?

With no output schema and no annotations, the description does the necessary heavy lifting on return values and covers both parameters. What is missing is minimal but real: there is no statement that the tool is observation-only, and the 'doc' parameter's accepted format (name vs. path vs. index) is still ambiguous.

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?

The schema only documents 'doc' (description coverage 50%), and the description usefully reinforces its default of the active document. It compensates for the undocumented 'checks' parameter by explaining the semantic consequence — false skips the slow checks — rather than restating a bare boolean, which is real added meaning.

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?

Opens with a specific verb+resource: 'Compact summary of a document', and enumerates the exact facets covered (colour space, bleed, artboards, layers, swatches, fonts, issues). It is clearly an aggregate report tool rather than a lister, though it never names a sibling to distinguish itself from 'documents', 'layers', or 'preflight'.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The only routing signal is implicit: 'checks:false skips the slow checks' hints that this is used before heavier diagnostics like preflight, but no alternative tool is named and no prerequisites are stated. 'default: active' is the sole contextual hint.

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