Skip to main content
Glama

Layer label color

set_layer_label

Sets the label color of one or more After Effects layers by color name or index, helping organize and identify layers in a composition.

Instructions

Set the label color of layers: 0-16 or a name (none, red, yellow, aqua, pink, lavender, peach, sea_foam, blue, green, purple, orange, brown, fuchsia, cyan, sandstone, dark_green).

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": {
      "label": "<label>"
    },
    "name": "set_layer_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
labelYesLabel index 0-16 or color name.
layersNoLayers: array of layer refs, or 'selected' (default) or 'all'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, closed-world mutation, so the safety profile is covered. The description adds the enumeration of valid label values, which is genuinely useful behavior info, but says nothing about what happens when label is set across multiple layers, or whether invalid values error or clamp.

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?

One compact sentence, front-loaded with the action, with the enum list as trailing detail. The long parenthetical of color names is dense but every item is usable data, not filler.

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

Completeness4/5

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

Three parameters, full schema descriptions, no output schema, and a simple non-destructive mutation — the description covers the one thing the schema does not (valid label names). Only the ambiguity with set_item_label and multi-layer edge behavior are left open.

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 100% and the schema already explains comp/layers semantics, so the baseline is met. The description goes beyond the schema by spelling out the name-to-index mapping for the label parameter, which the schema leaves as an unconstrained string — that is real added meaning for 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?

States a specific verb (Set) and resource (label color of layers), and enumerates the accepted label values. It is clear what the tool does, but it never distinguishes itself from the sibling set_item_label, so an agent must infer whether the difference is layer-vs-project-item.

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 instead of set_item_label or other layer-setting tools, and no mention of prerequisites or scope. The only usage signal (layers default to 'selected') lives in the schema, not the description.

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