Skip to main content
Glama
After Effects MCP for Antigravity

After Effects MCP for Antigravity

by okaybhargav

list_layers

Lists all layers in the active or specified composition, using an optional composition ID or name to target the right comp.

Instructions

Lists all layers in the active or specified composition.

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

Input Schema

NameRequiredDescriptionDefault
composition_idNoOptional composition item ID. Defaults to active comp.
composition_nameNoOptional composition name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Lists' implies a read operation, but it does not disclose ordering, whether hidden or locked layers are included, error behavior for invalid compositions, or the return format.

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 well-formed sentence with no wasted wording. The scope is front-loaded and immediately useful.

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

Completeness3/5

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

This is a simple read-only list tool with two optional parameters and no output schema. The description covers the basic scope, but for a tool with no annotations it should say more about what a layer listing contains and how invalid composition references behave.

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 100%, so both optional parameters are already documented in the schema. The description adds only the 'active or specified' framing and does not clarify precedence or conflict handling between composition_id and composition_name.

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 and resource: it lists layers within a composition. It clearly distinguishes layers from compositions and specifies the active-or-specified scope, though it does not explicitly contrast with sibling tools such as get_layer_info.

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 'active or specified composition' implies when to supply composition identifiers, but the description does not say when to use this list tool versus detail-oriented siblings like get_layer_info. Usage is inferable rather than explicit.

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