Skip to main content
Glama

set_color_label

Assign an After Effects color label (0–16) to project items or comp layers by ID, so you can organize and visually distinguish footage, comps, and timeline layers.

Instructions

Set AE color label (0–16). Either pass project itemIds (footage/comps) OR comp+layers (timeline layers).

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_color_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
labelYes
layersNoOne or many layers (each: name, 1-based index, or { id: N }). If omitted, uses currently selected layers.
itemIdsNo
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

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the label index range (0–16) and the two mutually exclusive addressing paths, but says nothing about what happens with invalid or conflicting arguments, whether 0 clears the label, or whether the change is undoable.

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?

Two compact sentences, front-loaded with the operation and its value domain, followed by the mode split. No filler or restated field names.

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?

For a 5-parameter mutation tool with no annotations and no output schema, the description covers the critical decision (which addressing mode) and the value range. The remaining gaps — return value and multi-instance behavior — are partially covered by the schema's own 'instance' description, keeping this close to adequate.

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 60% and 'itemIds' has no schema description at all, so the description's note that itemIds target 'footage/comps' and comp+layers target 'timeline layers' adds genuinely new meaning. However, it adds nothing about the 'instance' parameter or the layer fallback beyond what the schema already states.

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 ('Set AE color label') plus the valid value range, and distinguishes two addressing modes (project items vs. timeline layers), which separates it from sibling setters like set_layer_blend_mode. It stops short of naming any sibling alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Either pass project itemIds OR comp+layers' construction gives clear mode-selection guidance: choose itemIds for footage/comps, comp+layers for timeline layers. There are no when-not conditions or error/precondition notes (e.g. what happens if both are supplied).

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