Skip to main content
Glama
Pixopik Illustrator MCP

Pixopik Illustrator MCP

by thepixopik

apply_gradient

Applies a multi-stop linear or radial gradient to named Illustrator items or the current selection, with color stops, opacity, angle, and optional swatch naming.

Instructions

Gradient Tool: Create and apply a multi-stop Linear or Radial gradient to named items (or the current selection).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "stops": "<stops>"
    },
    "name": "apply_gradient"
  }
}

Input Schema

NameRequiredDescriptionDefault
angleNoOptional rotation angle in degrees
stopsYesAt least 2 gradient color stops
itemNamesNoTarget item names (uses current selection if omitted)
gradientNameNoOptional swatch name for the gradient
gradientTypeNoLinear or radial gradientlinear

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a mutation (create and apply) but never states whether existing fills/appearances are overwritten, whether the gradient is persisted as a named swatch, or what happens when itemNames do not match any object. For a write tool with zero annotation coverage this is a meaningful gap.

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?

A single front-loaded sentence with a clear label, the action, and the target scope; nothing is padded. It could gain a clause on mutation side effects without losing its economy, which is why it is not a 5.

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

Completeness2/5

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

With five parameters, a nested stop array, no annotations and no output schema, the definition should explain overwrite semantics and failure modes. It covers only what is created and where, leaving an agent unable to predict side effects. The richness of the schema does not compensate for the missing behavioral context.

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%, so all five parameters, including the stop sub-object and the linear/radial enum, are already documented in structured form. The description confirms the selection-fallback behavior for itemNames but adds no new semantics such as angle units meaning or stop ordering rules. Baseline 3 is appropriate.

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 pair (create and apply) plus the resource (multi-stop linear or radial gradient) and the target (named items or current selection). An agent can distinguish this from siblings like transform_and_style or create_shape without opening the schema. It stops short of 5 because it never names a competing tool or the boundary case where styling versus gradient application overlaps.

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?

Usage is implied: apply a gradient to named items, falling back to the current selection, with a linear/radial choice. There is no explicit when-to-use versus when-not, no mention of prerequisites (items must exist, layer targeting) and no routing to alternatives such as transform_and_style.

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