Skip to main content
Glama

ae_mask

Create, edit, and animate layer masks, mask paths, and mask keyframes in After Effects for rotoscoping and shape morphing workflows.

Instructions

Manage layer masks, paths, and mask keyframes (rotoscoping/morphing). Actions: list, add, set, path_get, path_set, keyframes, remove.

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_mask"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNo
keysNo
maskNo
modeNo
nameNo
colorNo
layerYes
shapeNo
actionYes
atTimeNo
lockedNo
featherNo
opacityNo
invertedNo
propertyNo
expansionNo
rotoBezierNo
clearExistingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral burden. It mentions action names including remove and keyframes, hinting at mutation and animation, but does not disclose side effects, reversibility, permissions, action-specific requirements, or return behavior.

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 description is front-loaded with scope and then an action list, using only two sentences with no filler. It is compact and readable, though the action list largely duplicates schema enum values.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 18-parameter multi-action tool with no annotations and no output schema, the description is far too sparse. It identifies the general domain but leaves nearly all parameter semantics, action behavior, and usage conditions undocumented.

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

Parameters1/5

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

The schema has 18 parameters with 0% description coverage, and the description only repeats the action enum values already present in the schema. It adds no meaning for layer, comp, mask, keys, atTime, feather, opacity, expansion, clearExisting, or the other parameters.

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 set: layer masks, paths, and mask keyframes, with rotoscoping/morphing context. It is clear what domain the tool operates in, though it does not explicitly differentiate itself from sibling tools such as ae_keyframe or ae_layer.

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 lists available actions but gives no guidance on when to choose this tool over siblings or when each action is appropriate. It provides no prerequisites, exclusions, or alternatives for mask-related work.

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