Skip to main content
Glama

set_layer_blend_mode

Set the blending mode for one or more After Effects layers, including NORMAL, MULTIPLY, SCREEN, and OVERLAY, to control how layers composite with those beneath them.

Instructions

Set blending mode. Common modes: NORMAL, MULTIPLY, SCREEN, OVERLAY, ADD, LIGHTEN, DARKEN, COLOR_DODGE, COLOR_BURN, SOFT_LIGHT, HARD_LIGHT, DIFFERENCE, EXCLUSION, HUE, SATURATION, COLOR, LUMINOSITY, ALPHA_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_blend_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
modeYes
layersNoOne or many layers (each: name, 1-based index, or { id: N }). If omitted, uses currently selected layers.
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/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, yet it discloses nothing beyond the mode vocabulary. It does not state that this is a mutating operation, whether existing blend modes are overwritten, how multiple layers are handled, whether invalid modes fail or are ignored, or any error/permission 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?

Two short sentences, with the purpose front-loaded before the mode list. The long comma-separated enumeration is dense but every token is functional; no filler or redundancy.

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?

For a four-parameter setter with no output schema and no annotations, the description covers the mode vocabulary but omits behavioral context the agent would need to call it safely, such as multi-layer semantics and failure/validation behavior. It is adequate but does not fill the gap left by the absence of annotations.

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

Parameters4/5

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

Schema coverage is 75%, so the schema does most of the work for comp, layers, and instance. The description meaningfully adds the allowed mode string values (NORMAL, MULTIPLY, ... ALPHA_ADD), which the schema leaves as a bare string with no enum, directly reducing trial-and-error on the required parameter.

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 states a specific verb+resource ('Set blending mode'), which is clear and unambiguous. However, it never states that the tool operates on layers (the target only comes from the tool name and schema) and gives no differentiation from sibling setters like set_track_matte or set_quality.

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, when-not-to-use, or alternative guidance whatsoever. It does not clarify whether it applies to one layer or many (that is left to the schema), what happens with a selection, or any prerequisites; the agent must infer usage entirely.

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