Skip to main content
Glama
After Effects MCP for Antigravity

After Effects MCP for Antigravity

by okaybhargav

add_media_layer

Adds an imported footage item from the Project panel to a composition timeline at a specified start time, enabling media placement for animation and rendering.

Instructions

Adds an imported footage item from the Project panel to the composition timeline.

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

Input Schema

NameRequiredDescriptionDefault
start_timeNoTime in seconds at which the layer begins (default: 0).
composition_idNoOptional composition item ID.
project_item_idNoID of the media item in the project.
project_item_nameNoName of the media item in the project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it only tells us this is a mutation. It says nothing about which composition is targeted when composition_id is omitted (active comp?), whether layers are appended or inserted, what happens on duplicate adds, or whether an undo point or permission is involved.

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 or repetition. It is tightly written, though the terseness leaves no room for the prerequisite or targeting notes an agent would need.

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 mutation tool with no annotations and no output schema, the definition is thin: it does not explain the zero-required-parameter situation (presumably item identified by id or name, comp by id or active), nor what is returned (layer index/id) so the agent can act on the new layer. The description is not sufficient on its own for correct invocation.

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 description coverage is 100%, so the baseline is 3 and the schema already documents start_time default 0, composition_id as optional, and the project item id/name pair. The description adds only the context that these refer to the Project panel footage item, with no clarification of id-vs-name precedence despite both being present and neither required.

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 ('Adds') and resource ('imported footage item from the Project panel') with the target ('composition timeline'), which implicitly separates it from add_solid_layer and add_text_layer. It stops short of naming any sibling explicitly, so the differentiation is inferential rather than stated.

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 phrasing 'imported footage item from the Project panel' hints that the item must already exist in the project, implying a prior import step, but there is no explicit when-to-use, when-not-to-use, or alternative routing (solids, text, comps nested as layers). An agent must infer both prerequisites and sibling choice.

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