Skip to main content
Glama

ae_script_run_file

Executes a local .jsx or .jsxbin script in a live After Effects session via $.evalFile, letting agents apply custom AE automation directly to the open project.

Instructions

Jalankan berkas skrip .jsx/.jsxbin lokal di sesi AE live ($.evalFile)

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": {
      "scriptPath": "<scriptPath>"
    },
    "name": "ae_script_run_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral burden. It discloses execution via “$.evalFile” in a live session, which hints at arbitrary local script execution, but it does not describe side effects, permissions, security implications, error behavior, or whether the script runs synchronously.

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?

The definition is a single front-loaded sentence with no redundant wording. The core action, file scope, live-session context, and implementation mechanism are all packed efficiently into one line.

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 script-execution tool with no annotations and no output schema, the description is too thin. It identifies the action and file type but leaves out important operational context such as execution safety, expected results, error handling, and how the live session interacts with the script.

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 0% for the single “scriptPath” parameter, but the description adds useful meaning by specifying local .jsx/.jsxbin script files. It still omits path format details such as absolute vs relative paths, existence requirements, or encoding, so it only partially compensates for the schema gap.

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 states a specific verb (“Jalankan”) and resource (“berkas skrip .jsx/.jsxbin lokal”) in a live After Effects session, and even names the underlying mechanism (“$.evalFile”). It implicitly separates itself from headless or raw-script siblings, but does not explicitly name or contrast them.

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 phrase “di sesi AE live” gives implied context for when this tool is appropriate, and the file-extension restriction gives some scope. However, it never explicitly states when to use this instead of headless script execution, raw ExtendScript evaluation, or batch execution, and it provides no exclusions.

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