Skip to main content
Glama

Reorder effect

reorder_effect

Moves an After Effects effect to a new position in a layer's effect stack and returns the updated order, letting you control render order.

Instructions

Move an effect to another position in the layer's effect stack (1 = top, rendered first). Returns the new order.

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": {
      "layer": "<layer>",
      "effect": "<effect>",
      "moveTo": "<moveTo>"
    },
    "name": "reorder_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
effectYesEffect on the layer: 1-based index in the Effects stack, effect name (as renamed), or matchName (e.g. 'ADBE Glo2').
moveToYesNew 1-based position.

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?

Annotations already declare readOnlyHint=false with destructiveHint=false, so the description doesn't need to re-establish safety. It adds useful behavior beyond them: the stack ordering semantics (1 = top, rendered first) and the fact that the call mutates order and \"Returns the new order\". It omits edge behavior, such as out-of-range moveTo values or what happens to indices that shift.

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?

Two tight sentences with zero filler; the mutation and index convention are front-loaded and the return behavior is a short trailing clause. Nothing could be removed without losing information.

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 four-parameter mutation with full schema coverage and no output schema, the description covers purpose, ordering semantics, and the return value, which is enough to call it correctly. It leaves out the layer/composition resolution and effect-identification formats, which rely entirely on the schema text.

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, but the description earns a bump by explaining the ordering direction:\"1 = top, rendered first\" clarifies both the `effect` index and the `moveTo` position in a way that \"New 1-based position\" in the schema does not. It still says nothing about the optional `comp` parameter, though the schema documents it.

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?

Names a precise verb and resource (\"Move an effect to another position in the layer's effect stack\") and adds the ordering convention (\"1 = top, rendered first\"). None of the sibling tools (apply/remove/rename/toggle/duplicate_effect) perform a reposition, so an agent can route correctly from the description alone.

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?

The description states what the tool does but gives no when-to-use guidance, no prerequisites, and no alternatives (e.g. remove_effect + apply_effect as a manual equivalent). The agent must infer usage entirely from the verb.

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