Skip to main content
Glama

Set parent

set_parent

Parents After Effects layers to a target layer or removes parenting with null, preserving visual placement by default so layers stay in position.

Instructions

Parent layers to another layer (or remove the parent with parent=null). keepTransform=true (default) keeps the layers visually in place (AE adjusts their transform values); false keeps the raw values so the layer may jump.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layersNoLayers: array of layer refs, or 'selected' (default) or 'all'.
parentNoParent layer, or null/omitted to unparent.
keepTransformNoKeep visual position (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare that this is not read-only, not destructive, and not open-world. The description goes further by explaining that parenting mutates transform values and that keepTransform=false leaves raw values so 'the layer may jump' — meaningful side-effect disclosure for a transform-mutating tool. It doesn't discuss permissions, multi-layer scope, or failure modes.

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 sentences, front-loaded with the primary action and immediately followed by the unparent escape hatch and the default flag's tradeoff. No filler or restated title.

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 4-parameter, no-output-schema tool, the description covers the one non-obvious flag and the null behavior, while comp/layers semantics are fully documented in the schema. Minor gaps are lack of guidance on multi-layer selection scope beyond the schema's own 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. The description adds real semantic value by stating that null or omitted parent unparents, and by explaining what keepTransform actually does internally (AE adjusts transform values vs. keeping raw values), which the schema only summarizes as 'Keep visual position'.

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 names a specific verb and resource ('Parent layers to another layer') and covers the inverse operation ('remove the parent with parent=null'). No sibling tool in the list does parenting, so the operation is unambiguous, though the text never explicitly contrasts itself with alternatives.

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

Usage Guidelines4/5

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

It makes clear when to use the unparent path (parent=null) and states the default for keepTransform plus the consequence of toggling it. There is no explicit when-not-use guidance, but the branch conditions for both modes are spelled out.

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