Skip to main content
Glama

Blending mode

set_blending_mode

Sets the blending mode and Preserve Underlying Transparency switch for one or more After Effects layers, letting you control how layers composite with what is beneath them.

Instructions

Set the blending (transfer) mode of layers and/or their Preserve Underlying Transparency switch.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_blending_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
modeNoBlending mode name, e.g. 'NORMAL', 'ADD', 'SCREEN', 'MULTIPLY', 'OVERLAY', 'SOFT_LIGHT', 'COLOR_DODGE'.
layersNoLayers: array of layer refs, or 'selected' (default) or 'all'.
preserveTransparencyNoPreserve Underlying Transparency (T switch).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already establish that this is a non-read-only, non-destructive, closed-world mutation, so the description does not need to repeat safety information. It adds useful scope by naming both blending mode and the Preserve Underlying Transparency switch, but it does not explain behavior when optional inputs are omitted, how invalid layer references are handled, or what the operation returns.

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

Conciseness5/5

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

The definition is a single front-loaded sentence with no filler. It communicates the core operation efficiently.

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 four parameters, no required parameters, and rich schema descriptions, the definition is minimally adequate. It leaves a meaningful gap around optionality: whether mode can be omitted to change only preserveTransparency, and what happens when neither is supplied.

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 description coverage is 100%, so the schema already documents comp, mode, layers, and preserveTransparency thoroughly. The description maps generally to those parameters but adds no extra meaning, formats, defaults, or constraints beyond the schema.

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 gives a specific verb and resource: set the blending/transfer mode of layers, with an additional scope covering Preserve Underlying Transparency. It is clear what the tool does, but it does not distinguish itself from nearby tools such as set_layer_switches, which may also affect layer switches.

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?

The description does not state when to use this tool versus alternatives like set_layer_switches or set_property, nor does it give prerequisites or exclusions. Usage is only inferable from the purpose statement.

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