Skip to main content
Glama
Chandelier

Chandelier

by acidka

preflight

Scans the active document in one pass to flag print issues—missing fonts, broken links, RGB in CMYK, overset text, low-res images, hairlines, no bleed—for fixing before export.

Instructions

Print checks of the active document in one pass. Hidden items and hidden/non-printing layers are skipped (counted in skipped_non_printing) unless include_non_printing. errors: missing_font, broken_link, rgb_in_cmyk (paths, text, RGB images), overset_text, white_overprint · warnings: registration_color (art painted with [Registration]), low_res (< min_dpi, default 300), empty_text, default_text (unnamed 12 pt Myriad leftovers), off_artboard, small_text (< min_text_pt, default 5), hairline (< hairline_pt, default 0.25), no_bleed (art at an artboard edge, document without bleed), low_contrast (text below WCAG AA on what lies under it; RGB documents, any with contrast:true), off_token (colours/fonts/sizes outside tokens {colors, fonts, sizes}) · info: spot_color (real spot inks only — global process swatches are not spots), overprint, transparency, live_text (one count line), empty_group. Also returns inks (process plates, spot inks) and the bleed. ignore: categories to skip; max_items per category (default 20).

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

Input Schema

NameRequiredDescriptionDefault
ignoreNo
tokensNo
min_dpiNo
contrastNo
max_itemsNo
hairline_ptNo
min_text_ptNo
include_non_printingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does so well. It describes scope-skipping behavior with a counter (skipped_non_printing), all default thresholds (min_dpi 300, min_text_pt 5, hairline_pt 0.25, max_items 20), the conditional low_contrast check, and the extra data returned (inks and bleed). It does not mention permissions, mutation risk, or cost for large documents, which is why it earns a 4 rather than a 5.

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 description is front-loaded with the core action and skip behavior, then groups severity as errors, warnings, and info, which helps the agent scan it. The long run-on lists of categories are dense, and the category names are repeated from the schema enum, but each category has a short definition that distinguishes it (for example, 'real spot inks only — global process swatches are not spots').

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 complex tool with no output schema and no annotations, the description is nearly complete: it tells the agent what is checked, the defaults, and what else the response contains (inks, bleed, skipped counts). It omits only the exact report shape and whether per-category items carry locations. It implies that the tool is non-destructive, but it never states this.

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 supply meaning, and it does this for all eight parameters: ignore, max_items, min_dpi, min_text_pt, hairline_pt, include_non_printing, contrast, and tokens. The nested tokens object is summarized as {colors, fonts, sizes}, but the expected value format (such as hex codes or font names) is not given, which keeps it below 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource: 'Print checks of the active document in one pass.' This is a distinct diagnostic operation, clearly different from the get_items or document_info tools, and the agent immediately knows that it returns a preflight report rather than page content.

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 shows usage only by implication: hidden items are skipped unless include_non_printing, ignore can skip categories, and contrast:true is needed in some documents. It never says when to run preflight instead of document_info or find_items, nor does it say when not to run it. An agent can infer the context — a pre-export audit — but must infer it on its own.

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