Skip to main content
Glama

Background render with aerender

render_with_aerender

Render After Effects compositions in the background with aerender so the app stays usable; returns a job ID to poll for progress.

Instructions

Render a comp in the background with aerender.exe (After Effects' command-line renderer), so After Effects stays usable. aerender reads the SAVED project file: fails when the project is unsaved or has unsaved changes unless saveFirst is given (true = save in place, or an absolute .aep path = save as). Returns a job id; poll get_aerender_status for progress. The extension of outputPath picks the output template like add_to_render_queue.

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": {
      "comp": "<comp>",
      "outputPath": "<outputPath>"
    },
    "name": "render_with_aerender"
  }
}

Input Schema

NameRequiredDescriptionDefault
compYesComposition name, 'Folder/Name' path, or item id.
endFrameNoLast frame to render (inclusive, default: work area end).
extraArgsNoExtra aerender arguments, e.g. ['-mp'] or ['-continueOnMissingFootage'].
saveFirstNotrue = save the project in place first; a string = save the project as this .aep path first.
outputPathYesAbsolute output path, e.g. C:/renders/shot.mp4 (sequences get _[#####] added).
startFrameNoFirst frame to render (default: work area start).
outputModuleTemplateNoOutput module template name (see list_render_templates), e.g. 'High Quality', 'H.264 - Match Render Settings - 15 Mbps'.
renderSettingsTemplateNoRender settings template, e.g. 'Best Settings' or 'Draft Settings'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that aerender reads the saved file on disk, that it fails on unsaved projects, that saveFirst can mutate project state (save in place or save-as), and that the call is asynchronous returning a job id. The annotations only say the operation is not read-only and not destructive; the description supplies the real behavioral contract.

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?

Four dense sentences, front-loaded with purpose, then the failure condition and workaround, then the async return and polling pointer, then the template inference rule. Every sentence carries information an agent needs before calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter mutation tool with no output schema, the description covers purpose, prerequisites, side effects, failure modes, and the return value (job id) plus how to follow up. Nothing essential for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: the outputPath extension determines the output template, and template selection works like add_to_render_queue. That clarifies the interaction between outputPath and the optional template parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Render a comp in the background with aerender.exe') and states the distinguishing outcome ('so After Effects stays usable'), which separates it from the in-app render siblings like add_to_render_queue or start_render without needing their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear selection condition (background rendering keeps After Effects usable) and explicit next-step routing ('poll get_aerender_status for progress'), plus the prerequisite that the project must be saved or saveFirst supplied. It stops short of explicitly saying when to prefer add_to_render_queue or start_render instead, so it is not a full when/when-not/alternatives statement.

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