Skip to main content
Glama

ae_cli_run_headless_jsx

Run ExtendScript code headlessly through AfterFX.com with JSON payload exchange to automate After Effects tasks when no GUI bridge is available.

Instructions

Jalankan skrip ExtendScript secara headless via AfterFX.com -noui -m -noerr -ro dengan pertukaran JSON

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ae_cli_run_headless_jsx"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsxCodeNo
timeoutMsNo
scriptPathNo
inputPayloadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does surface real behavior: headless, -noerr suppression, and JSON exchange of input. It omits whether the call blocks, how timeouts or errors surface (the -noerr flag hints errors may be swallowed), and whether a new AfterFX instance launches, which are critical for a process-spawning tool.

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 no filler; the mechanism and flags are stated compactly. It is efficient but so terse that the brevity contributes to the missing detail elsewhere.

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 four-parameter process-launching tool with no annotations, no output schema, and zero schema coverage, one sentence is not enough. It lacks return-value expectations, error semantics, timeout behavior, and how to choose between inline code and a file path.

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?

Schema coverage is 0%, so all four parameters (jsxCode, scriptPath, timeoutMs, inputPayload) are undocumented. The description hints at script content and JSON payload but never distinguishes jsxCode vs scriptPath or explains the timeout contract, leaving the agent to guess.

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 and mechanism: run ExtendScript headless through the AfterFX.com command with -noui, -m, -noerr, -ro flags and JSON exchange. An agent knows it executes JSX outside the UI, unlike in-app routes. However, it does not distinguish itself from siblings like ae_eval_extendscript_raw or ae_script_run_file, so the agent cannot tell which script-execution path to pick.

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?

No explicit when-to-use or when-not guidance. The word 'headless' implies execution outside the running UI, but the description never states prerequisites (e.g., After Effects should be closed) or how it compares to the other ExtendScript-running siblings.

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