Skip to main content
Glama
After Effects MCP for Antigravity

After Effects MCP for Antigravity

by okaybhargav

set_layer_blending_mode

Sets a layer's blending mode, such as Normal, Multiply, Screen, Overlay, or Add, by layer name or index so you can control how it composites with layers below.

Instructions

Sets the blending mode of a layer (e.g. Normal, Multiply, Screen, Overlay, Add).

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": {
      "mode": "<mode>"
    },
    "name": "set_layer_blending_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesBlending mode name.
layer_nameNoName of the layer.
layer_indexNo1-based index of the layer.
composition_idNoOptional composition item ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and only implies mutation via "Sets." It does not disclose whether the change is undoable, how invalid mode names are handled, or which layer is targeted by default — meaningful gaps for a write operation on a composition.

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?

A single front-loaded sentence with no filler; the mode examples are the only elaboration and they earn their place. It is perhaps thinner than ideal for a mutation tool, but nothing is wasteful.

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

Completeness3/5

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

Given no annotations, no output schema, and full schema coverage, the description covers the core action but leaves layer-targeting precedence and failure behavior unexplained. Adequate to start a call, but not complete for a targeted mutation.

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

Parameters3/5

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

Schema coverage is 100%, so the four parameters are already documented, establishing a baseline of 3. The description does add value by listing example mode values (Normal, Multiply, Screen, Overlay, Add), which the schema lacks since mode has no enum — but it offers no help on choosing between layer_name and layer_index.

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?

States a specific verb and resource ("Sets the blending mode of a layer") and gives concrete example modes, so it is clearly distinguishable from siblings like set_layer_opacity or set_layer_enabled. It does not name an alternative or note relationship to those, but the purpose itself is unambiguous.

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 the other layer-setting tools, and no prerequisites stated. It does not explain how layer_name, layer_index, and composition_id interact for targeting the layer, nor what happens if no layer identifier is supplied.

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