Skip to main content
Glama
Bieuulls

Illustrator AI & MCP Control

by Bieuulls

illustrator_connection_status

Read-onlyIdempotent

Diagnose Illustrator connection issues by identifying the first broken link among WebSocket, panel, Illustrator, or document. Receive recovery steps or run a probe for deeper checks.

Instructions

Report whether Illustrator is reachable, and what to fix if not.

CONTRACT: readOnly=True, destructive=False, idempotent=True, openWorld=False

WHEN TO USE:

  • A call failed with a connection error and you need to know which link broke

  • Before a session, to confirm the panel is connected

  • To check whether the panel is busy rather than gone

KEY CONCEPTS: Four layers, outermost first: this server's WebSocket listener, the CEP panel's socket, Illustrator itself, and the active document. The first one that is not ok is reported as blockedAt, and the recovery steps address that link only. Layers behind a broken one read 'unknown' rather than being guessed at.

OPTIONS: probe=false (default) — instant, reads process-local state only probe=true — also round-trips a tiny read-only script to Illustrator

EXAMPLES: Instant report, no host call: {"params": {}} Also confirm Illustrator itself answers: {"params": {"probe": true}}

RESULT: data.ready is true only when every layer is up. data.blockedAt names the first broken layer, or is null. data.recovery lists the steps for it. execution reports whether this report was produced, never whether the connection is healthy — a successful report of a dead panel is a success.

NOTES:

  • Never starts the server and never reconnects

  • Trusted probe timeouts retire local waits and require a readiness fence; blocking names the retained job and exact job_status call

  • Answers normally when Illustrator is closed, which is the point

  • Without probe, the document name is last-known, not live

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark the call read-only, non-destructive, and idempotent. The description adds real behavioral context: it never starts the server or reconnects, answers normally when Illustrator is closed, reports only the first broken layer, and distinguishes a successful report from a healthy connection. This gives the agent a precise behavioral model.

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 well organized into labeled sections and front-loads the summary. It is verbose and repeats the contract already present in annotations, but each section contributes functional context for diagnosing connection state.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Since there is no output schema, the RESULT section correctly documents data.ready, data.blockedAt, data.recovery, and the execution-vs-health distinction. Combined with examples and notes, nothing essential for calling or interpreting the tool is missing.

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?

The OPTIONS section explains probe's two modes, and the NOTES cover data freshness, which partially compensates for the 0% schema description coverage signal. However, the description never names 'timeout' or 'expected_document_token', so an agent setting those parameters must rely on the input schema alone.

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 ('Report') and a concrete resource ('whether Illustrator is reachable') with a recovery angle. It is clearly distinct from sibling tools that execute scripts, export documents, or mutate Illustrator state.

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?

The 'WHEN TO USE' section gives three concrete triggers: after a connection error, before a session, and to distinguish a busy panel from a gone one. It does not explicitly name sibling alternatives or state when not to use this tool, so it stops just short of the top bar for routing guidance.

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