Skip to main content
Glama
Pixopik Illustrator MCP

Pixopik Illustrator MCP

by thepixopik

run_extendscript

Execute custom ES3 ExtendScript inside Adobe Illustrator to automate tasks beyond built-in tools. Run your own script body with an optional timeout for custom vector workflows.

Instructions

Escape Hatch: Execute custom ES3 ExtendScript inside Adobe Illustrator (var, function() {}, return ...;).

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": {
      "script": "<script>"
    },
    "name": "run_extendscript"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptYesBody of an ES3 ExtendScript function to run inside Illustrator
timeoutMsNoTimeout in milliseconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and it only says what gets executed. It does not disclose destructive potential, whether an open document is required, whether changes are committed to the file, sandboxing/permission implications, or what the return value is used for. The ES3/function-body detail largely restates what the schema property already says.

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?

A single front-loaded sentence with the key framing in the first two words and no filler. Every clause (ES3, script inside Illustrator, syntax examples) earns its place.

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?

This is an execute-arbitrary-code tool with no annotations and no output schema, so the description is the only place to convey risk, prerequisites, and return semantics — and it says none of that. For a tool of this complexity, a one-line description leaves significant 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%, so baseline is 3. The parenthetical (`var`, `function() {}`, `return ...;`) reinforces the ES3 function-body contract for the script parameter and hints that a return value is meaningful, but timeoutMs is never mentioned.

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 concrete verb and resource: execute custom ES3 ExtendScript inside Adobe Illustrator. The 'Escape Hatch' framing distinguishes it from the purpose-built sibling tools (add_text, apply_pathfinder, etc.), though it does so by implication rather than by naming an alternative.

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 'Escape Hatch' label implies this is the fallback when dedicated tools can't achieve the result, which is a real usage cue. But there is no explicit 'use this when X, prefer the specific tools when Y' statement and no warning about raw code execution.

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