Skip to main content
Glama

ae_mask_update

Update properties of an After Effects mask on a specified layer and composition by applying a patch object, so you can adjust mask settings without rebuilding the project.

Instructions

Perbarui properti MaskPropertyGroup

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>",
      "maskIndex": "<maskIndex>",
      "patch": "<patch>"
    },
    "name": "ae_mask_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYes
compIdNoID numerik CompItem (opsional jika comp aktif)
compNameNoNama CompItem (opsional)
maskIndexYes
layerIndexYes

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 disclosure burden, yet it says nothing beyond 'update'. It does not state whether changes are reversible, which mask properties are mutable, whether the operation requires the comp to be open/active, or how the compId/compName/active-comp resolution precedence works. For a mutation tool with zero annotation coverage this is a substantial gap.

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 contains no wasted words, but that is because it is under-specified rather than concise. It is not front-loaded with anything actionable and omits the essentials an agent needs before calling a 5-parameter mutation tool.

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?

With 5 parameters, 3 required, a nested free-form 'patch' object, no annotations, and no output schema, the definition needs considerably more content. As written, an agent knows only the general category of the operation and nothing about the patch contract, comp targeting, or return behavior.

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 40%, so the description should compensate, but it names no parameters at all. The most important parameter, 'patch', is an unconstrained object with additionalProperties and no description anywhere, leaving the agent with no idea what keys or value formats are accepted; only compId/compName carry schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Perbarui' (update) plus the resource 'MaskPropertyGroup' names a concrete operation, so an agent can tell it modifies mask properties rather than adding or removing masks. However, it never distinguishes itself from siblings like ae_mask_add, ae_mask_remove, or ae_layer_update_switches, and the term 'MaskPropertyGroup' is an After Effects DOM term that is not explained.

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 use this versus ae_mask_add/ae_mask_remove, no prerequisite stating that the layer and mask must already exist, and no indication of what happens if the mask index is invalid. The agent must infer all routing decisions from the tool name alone.

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