Skip to main content
Glama
After Effects MCP for Antigravity

After Effects MCP for Antigravity

by okaybhargav

get_layer_info

Retrieve full details of a specific layer in an After Effects composition, including transform, properties, and effects, by layer name or index.

Instructions

Retrieves full details of a specific layer in a composition (transform, properties, effects).

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

Input Schema

NameRequiredDescriptionDefault
layer_nameNoName of the layer.
layer_indexNo1-based index of the layer.
composition_idNoOptional composition item ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Retrieves' plus the parenthetical listing does disclose the general scope of what is returned (transform, properties, effects), which is useful context, but it says nothing about error behavior when a layer is not found, permission requirements, or whether any state is touched.

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 sentence with zero filler, front-loading the verb and resource and placing the returned payload at the end as a useful qualifier. It could have been slightly more informative without becoming bloated.

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?

For a read tool with three optional parameters, no annotations, and no output schema, the definition covers the what but not the how. Nothing explains identifier precedence or what happens when the layer lookup fails, which an agent needs to invoke it reliably.

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 each parameter is already documented in the schema itself, and the baseline of 3 applies. The description adds no guidance on the tricky part: all three parameters are optional, and it never explains how to choose between layer_name, layer_index, or when composition_id is needed versus the active composition.

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?

Names a specific verb (retrieves) and resource (details of a specific layer in a composition) and enumerates the payload (transform, properties, effects), which distinguishes it from list_layers. It stops short of naming any sibling explicitly, so differentiation relies on inference.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus list_layers (bulk listing) or get_property_keyframes (keyframe detail), and no prerequisites such as needing an active composition. Usage is only implied by the phrase 'specific layer'.

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