Skip to main content
Glama

ae_mask_remove

Removes a mask from a specified After Effects layer using its layer and mask index, optionally targeting a composition, so agents can clean up layer masks during project edits.

Instructions

Hapus mask dari 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>",
      "maskIndex": "<maskIndex>"
    },
    "name": "ae_mask_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.2/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 delivers almost nothing. It does not say whether removal is permanent, what happens to subsequent mask indices after removal, whether an error is raised for an invalid maskIndex, or whether the layer must be selected/active.

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?

At four words it is not verbose but is severely under-specified rather than concise. There is no structure to front-load because no secondary information exists.

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?

This is a destructive mutation taking four parameters (two required) with no annotations and no output schema, yet the description gives only a four-word restatement. Nothing an agent needs in order to call it safely and correctly is present.

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 coverage is only 50%: compId and compName have inline descriptions, but layerIndex and maskIndex (both required) are bare numbers. The description adds no meaning about indexing base, valid ranges, or how compId/compName interact with the active comp fallback, so it fails to compensate for the coverage gap.

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?

"Hapus mask dari layer" states a concrete verb (remove) and resource (mask on a layer), so the basic action is inferable. But it is essentially a restatement of the tool name ae_mask_remove with no scope detail and no differentiation from siblings such as ae_mask_add or ae_mask_update.

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 guidance, no prerequisites, and no mention of an alternative tool. The agent must infer that this is the counterpart to ae_mask_add purely from the 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