Skip to main content
Glama

ae_mask_add

Adds a vector mask to an After Effects layer using vertex coordinates and layer index, with optional feather, opacity, expansion, and mask mode controls.

Instructions

Tambahkan mask vektor ke layer

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": {
      "layerIndex": "<layerIndex>",
      "vertices": "<vertices>"
    },
    "name": "ae_mask_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
closedNo
compIdNoID numerik CompItem (opsional jika comp aktif)
featherNo
opacityNo
compNameNoNama CompItem (opsional)
invertedNo
maskModeNo
verticesYes
expansionNo
inTangentsNo
layerIndexYes
outTangentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing beyond the bare action. It does not say whether a comp must be active, what happens if layerIndex is invalid, whether the mask is appended or replaces existing masks, or what the returned value is.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of padding, but at this level of brevity it is under-specified rather than concise. There is no structure to organize the many parameters or the comp-targeting rules.

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?

A 13-parameter mutation tool with no annotations and no output schema requires substantial explanation, and the description offers one sentence. Nothing an agent needs in order to invoke it correctly, such as comp resolution via compId/compName or vertex/tangent expectations, is present.

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?

With 13 parameters and only 15% schema description coverage, the description is the main place meaning could be added, but it explains none of them. vertices, inTangents, outTangents, feather, expansion, maskMode, inverted, and closed are all left for the agent to guess from names alone.

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?

"Tambahkan mask vektor ke layer" states a clear verb (add) plus resource (vector mask) and target (layer), which is distinguishable from ae_mask_remove and ae_mask_update by verb alone. It stops short of explicitly naming those siblings or scoping the operation, so it is clear but not differentiating.

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 guidance on when to add a mask versus updating an existing one, no mention of prerequisites such as an active comp or a valid layerIndex, and no reference to any alternative tool. The agent must infer everything about selection from the tool name.

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