Skip to main content
Glama

ae_eval_extendscript_raw

Executes custom ExtendScript ES3 only when ALLOW_RAW_JSX=true, providing an opt-in escape hatch for raw JSX tasks in After Effects.

Instructions

Escape hatch opt-in untuk eksekusi ExtendScript ES3 kustom (wajib env ALLOW_RAW_JSX=true)

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": {
      "code": "<code>"
    },
    "name": "ae_eval_extendscript_raw"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
undoLabelNo
wrapUndoGroupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/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. It does disclose a genuinely important prerequisite (ALLOW_RAW_JSX=true must be set), but says nothing about the fact that arbitrary code runs inside the host app, what side effects/destruction are possible, whether undo is created, or what is returned.

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 parenthetical prerequisite; nothing is wasted. It is efficient but arguably under-written given the complexity of arbitrary script execution.

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?

For a high-risk raw-execution tool with no annotations, no output schema, and zero parameter documentation, the description covers only the env gate. An agent still cannot tell what undoLabel/wrapUndoGroup do, what a run returns, or what happens on failure without the flag.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters (code, undoLabel, wrapUndoGroup) sit at 0% schema description coverage, and the description explains none of them. Only an indirect hint is present — that `code` is ES3 ExtendScript — leaving undoLabel and wrapUndoGroup entirely undefined in both schema and prose.

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+resource: executing custom ExtendScript (ES3) as an 'escape hatch opt-in'. That framing distinguishes it in kind from the structured ae_* tools, though it names no concrete sibling. A capable agent understands this is the generic raw-script path.

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?

'Escape hatch opt-in' implies last-resort usage: reach for it only when no dedicated tool covers the task. However, no explicit when-not-to-use rule or named alternative is given, and the env-gate is stated as a precondition rather than as guidance about failure mode.

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

Deploy Server

Other Tools