Skip to main content
Glama
gherardo200-glitch

illustrator-mcp

Create Rectangle

illustrator_create_rectangle

Add a rectangle (optionally with rounded corners) to the active Illustrator document by specifying its position, dimensions, and styling options.

Instructions

Draw a rectangle (optionally rounded) on the active document.

Coordinates/sizes are in points, from the top-left of the active artboard, Y down. Args: x, y (top-left), width, height, optional corner_radius, fill, stroke, strokeWidth, name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesLeft edge, from artboard left.
yYesTop edge, from artboard top (Y increases downward).
fillNoFill color. Omit to keep default.
nameNoOptional name for the object (useful for later selection).
widthYesWidth in points.
heightYesHeight in points.
strokeNoStroke (outline) color. Omit for no change.
strokeWidthNoStroke width in points.
corner_radiusNoCorner radius in points (rounded rectangle).
Behavior4/5

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

Annotations already indicate a write operation (readOnlyHint false) and non-destructive behavior. The description adds value by explaining the coordinate system (top-left of active artboard, Y increases downward) and units (points), which goes beyond what annotations provide.

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?

The description is two sentences, front-loaded with the purpose, and lists parameters succinctly. Every sentence serves a purpose with no fluff.

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 tool with 9 parameters and no output schema, the description covers the essential purpose, parameter types, and spatial conventions. It mentions the active document and artboard, which is sufficient. Minor gaps like return value are acceptable given absence of output schema.

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 100%, so baseline is 3. The description adds a concise summary of parameters and explains coordinate conventions, which helps users understand the spatial context. However, it does not add significant new details beyond the schema.

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?

Description clearly states 'Draw a rectangle (optionally rounded) on the active document.' This is a specific verb-resource pair, distinguishing it from sibling tools like illustrator_create_ellipse or illustrator_create_line.

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 implies usage for creating rectangles but does not explicitly state when to use this tool versus alternatives like illustrator_create_ellipse or illustrator_create_line. No when-not-to-use guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gherardo200-glitch/illustrator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server