Skip to main content
Glama

ae_shape

Create, inspect, and edit After Effects shape layers: add groups and elements, get or set paths, apply the 10 shape operators, and explode groups into separate layers.

Instructions

Shape layer tools including Explode Shape Layers (explode_groups with automatic geometric anchor centering) and ALL 10 shape modifiers (merge, offset, pucker_bloat, repeater, round_corners, trim, twist, wiggle_paths, wiggle_transform, zig_zag). Actions: inspect, add_group, add_element, path_get, path_set, operator_add, operator_set, explode_groups.

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": {
      "action": "<action>",
      "layer": "<layer>"
    },
    "name": "ae_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNo
nameNo
pathNo
groupNoDotted group path inside Contents (omitted = root Contents).
layerYes
shapeNoArray of [x,y] vertices, {preset, center, size}, or {vertices, inTangents, outTangents, closed}.
actionYes
atTimeNo
moveToNo
paramsNo
elementNo
operatorNo
transformNo
namePrefixNo
centerAnchorNoAuto-center each exploded layer's anchor point to its geometry bounds (default true).
keepOriginalNoWhat to do with original layer after explode_groups (default 'hide').
operatorIndexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it largely does not meet it. It discloses one useful trait — explode_groups auto-centers each layer's anchor to its geometry bounds — but says nothing about whether the operator_* and path_set actions are destructive, whether they are undoable, what permissions or selection state they require, or what inspect returns.

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?

Two dense sentences with zero filler, and the headline capability (explode) is placed first followed by the modifier catalog. It is efficient, though the trailing 'Actions:' run-on is a bare list rather than prioritized information.

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 an 8-action, 17-parameter compound tool with no annotations and no output schema, the description is far too thin. Nothing explains the interplay between action and the other parameters (which params apply to which action), what the caller gets back, or the risks of the mutating actions, leaving the agent to guess from enum names alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 24% across 17 parameters, so the description needs to compensate and it does not. The one behavioral detail it offers (anchor auto-centering) merely restates the centerAnchor schema description, and group, shape, params, transform, atTime, moveTo, namePrefix, and operatorIndex get no added meaning anywhere.

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 resource (shape layers) and enumerates the full action surface: inspect, add_group, add_element, path_get, path_set, operator_add, operator_set, explode_groups, plus all 10 shape modifiers. That lets an agent tell it apart from ae_mask or ae_layer reasonably well. It stops short of 5 because the individual actions are only listed, never described, so an agent cannot tell from the text alone what e.g. inspect returns versus operator_add does.

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 when-to-use / when-not guidance and no routing to siblings such as ae_mask or ae_layer, even though shape-vs-mask is a real selection question in After Effects. The 'Actions:' list functions as an implied capability menu and the explode_groups note hints at a default behavior, but nothing tells the agent which action to pick for a given goal.

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