Skip to main content
Glama
After Effects MCP for Antigravity

After Effects MCP for Antigravity

by okaybhargav

execute_extendscript

Execute ExtendScript (JSX) code in Adobe After Effects to automate tasks and retrieve the returned result.

Instructions

Executes ExtendScript (JSX) code directly in Adobe After Effects and returns the result.

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": "execute_extendscript"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptYesExtendScript code to evaluate in After Effects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it omits the traits that matter most for arbitrary code execution: that the script can mutate the project, whether execution blocks or has a timeout, how errors surface, and whether changes are undoable. Only 'returns the result' hints at behavior, which is thin for a code-evaluation tool.

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?

One sentence, front-loaded with the action and environment, with no filler. Nothing could be cut without losing meaning.

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 tool that evaluates arbitrary code with no annotations and no output schema, the description says nothing about what a successful return looks like (serialization of the JSX result), error handling, or side effects on the open project. That is a significant omission for the highest-risk tool in the set.

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 coverage is 100% and the single 'script' parameter is already documented there. The description adds only that the code is ExtendScript/JSX rather than plain JavaScript, which is a small clarification beyond the schema, so the baseline of 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?

The description names a specific verb ('Executes') and resource ('ExtendScript (JSX) code') and pins the execution environment to Adobe After Effects. It is clearly distinguishable from the structured siblings (add_layer, set_layer_opacity, etc.) as the arbitrary-code escape hatch, though it never explicitly says so.

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 reach for this tool versus the many structured AE tools, and no warning about when not to use it. An agent must infer that this is the fallback for operations no dedicated tool covers.

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