Skip to main content
Glama

layer_update

Rename, trim, shift, toggle, reparent, reorder, or delete an After Effects layer in one call to change layer basics in a running comp without touching the AE UI.

Instructions

Change layer basics: rename, trim, shift, toggle, parent (use '' to unparent), reorder or delete.

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>"
    },
    "name": "layer_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNo
nameNo
layerYes
deleteNo
parentNo
enabledNo
in_pointNo
out_pointNo
start_timeNo
move_to_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It reveals that deletion and reordering are possible, and explains that parent '' unparents, but it does not warn about irreversibility of delete, permission requirements, or side effects such as keyframe behavior when trimming or shifting layers.

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?

The definition is a single front-loaded sentence with no filler, and the parenthetical about '' is useful. It is perhaps overly terse for a 10-parameter tool, but there is no wasted wording.

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 10-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage, the description is far too thin. It does not explain parameter interactions, defaults, or required inputs beyond layer, making it incomplete for reliable 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 coverage is 0%, so the description must compensate. It maps several parameters through operation names (rename→name, trim→in_point/out_point, shift→start_time, toggle→enabled, parent→parent, reorder→move_to_index, delete→delete), but comp and the required layer parameter remain unexplained and the mappings are implicit.

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 gives a specific verb-plus-resource ("Change layer basics") and enumerates the operations: rename, trim, shift, toggle, parent, reorder, delete. That makes it distinguishable from siblings like set_property or set_keyframes, though "basics" is slightly vague.

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 "Change layer basics" implies when to use it, and the operation list clarifies scope. However, there is no explicit guidance on when to prefer this over set_property or other siblings, and no exclusions or prerequisites are mentioned.

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