Skip to main content
Glama
lazyq666

Illustrator MCP Unified

by lazyq666

Create Line

create_line

Draw a line between two coordinate points in an Illustrator document, with optional stroke, layer, and naming, without bringing Illustrator to the foreground.

Instructions

Create a line. Runs without activating Illustrator in default background mode; never invokes Computer Use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1YesStart point X coordinate
x2YesEnd point X coordinate
y1YesStart point Y coordinate
y2YesEnd point Y coordinate
nameNoObject name
strokeNoStroke settings
layer_nameNoTarget layer name
coordinate_systemNoCoordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native coords, origin at bottom-left, Y-up. Call get_document_info to check which system is active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.0-local.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, and non-idempotent, so the safety profile is partly covered. The description adds genuinely new behavioral context about running in default background mode without activating Illustrator or invoking Computer Use, but omits whether it modifies the active document or what it appends to.

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?

Two tightly packed sentences with the core action front-loaded and zero filler. Nothing is redundant and the execution-mode note is kept brief.

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?

The rich schema fully covers all 8 parameters and there is no output schema to explain, so return values need no mention. Still, for a document-mutating creation tool the description leaves out prerequisites and interaction with the target document/layer, leaving modest gaps.

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 100%, with x1/y1/x2/y2, the nested stroke object, and the coordinate_system enum all documented inline. The description adds no meaning beyond that, so the baseline 3 applies.

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 ("Create a line"), which cleanly distinguishes it from the shape siblings create_rectangle and create_ellipse. However it never contrasts itself against create_path, which also draws geometry, so the boundary is not spelled out.

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 guidance on when to use create_line versus alternatives such as create_path or the other create_* shape tools, and no stated prerequisites (e.g. whether a document must be open). The second sentence describes execution mode, not usage context.

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