Skip to main content
Glama

ae_reorder_layer

Reorders layers in After Effects compositions by moving a specified layer to a new stack position, with 1 as the topmost layer.

Instructions

Move a layer to a different position in the layer stack (1 = top)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
comp_nameYesComposition name
new_indexYesNew layer index (1 = topmost)
layer_nameYesLayer name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It does reveal the core operation and the index convention ('1 = top'), which is helpful. However, it does not explain how other layer indices shift after the move, whether out-of-bounds indices are allowed, or whether the operation can fail for special layer states.

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 description is a single, front-loaded sentence with no filler or redundant elaboration. Every word adds value, and the parenthetical index convention is essential for correct use.

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 simple three-parameter mutation tool with full schema coverage and no output schema, the description plus schema is largely sufficient for an agent to call it correctly. The main missing details are edge-case behaviors like index bounds and result confirmation, but these are not critical for basic 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 schema already documents all three parameters adequately. The description adds only the layer-stack context and the '1 = top' convention, which is also already present in the schema's new_index description. This meets the baseline but adds no substantial new parameter meaning.

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 clearly specifies the action ('Move'), the object ('a layer'), and the target context ('in the layer stack'), making the tool's purpose immediately evident. It also distinguishes it from siblings like ae_delete_layer, ae_duplicate_layer, and ae_set_layer_property, none of which reorder layers.

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 layer-stack phrasing implies the tool is for changing z-order, which gives reasonable usage context. However, it never explicitly states when to prefer this over alternatives or mentions exclusions like locked/visible layers, so the guidance is only implicit.

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