Skip to main content
Glama

Export .mogrt

export_mogrt

Export an After Effects composition as a .mogrt Motion Graphics Template into a chosen folder, saving the project first when needed to avoid a Save As prompt.

Instructions

Export the comp as a Motion Graphics Template (.mogrt) into a folder; the file is named '.mogrt'. The project MUST already be saved to a file (otherwise AE opens a Save As dialog, so this tool refuses); with unsaved changes pass saveProject=true to save it first. Add controllers with add_to_essential_graphics beforehand.

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": {
      "folder": "<folder>"
    },
    "name": "export_mogrt"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
folderYesAbsolute output folder (created if missing).
overwriteNoReplace an existing file (default false).
saveProjectNoSave the project to its existing file first if it has unsaved changes (default false).
templateNameNoTemplate name = file name (default: current template name, or the comp name).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false), it discloses the naming convention of the output file, that the target folder is created if missing, that the tool refuses when the project is unsaved, and the prerequisite ordering relative to add_to_essential_graphics. That is exactly the extra behavioral context a mutation tool needs.

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?

Roughly two sentences, front-loaded with the action and output, followed by the hard precondition and the optional escape hatch. Every clause carries operational information and nothing is redundant.

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

Completeness4/5

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

For a 5-parameter write tool with full schema coverage and no output schema, the description covers preconditions, naming, and folder creation well. It does not say what the tool returns (e.g. the final file path or confirmation), which is the one remaining gap.

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; the description adds real meaning by explaining the saveProject escape hatch for unsaved projects and the templateName-to-filename mapping. The comp and overwrite parameters are only covered by the schema, so it is slightly above baseline rather than fully additive.

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?

The description gives a specific verb and resource ('Export the comp as a Motion Graphics Template (.mogrt)') plus the exact output artifact and naming rule ('<templateName>.mogrt'). An agent can immediately distinguish this from the sibling export_frame and other add_* tools.

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?

It states clear preconditions and ordering: the project MUST already be saved, pass saveProject=true if there are unsaved changes, and add controllers via add_to_essential_graphics beforehand. It does not name a when-not case or an alternative export path, which keeps it just short of a 5.

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