Skip to main content
Glama

Set item label / comment

set_item_label

Set label colors (0-16) and/or comments on After Effects project items by name, path, ID, or current selection to organize and annotate assets.

Instructions

Set the label color (0 = none, 1-16 = label colors from Preferences > Labels) and/or the comment of project items.

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": {
      "items": "<items>"
    },
    "name": "set_item_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesOne item ref, an array of refs (name, 'Folder/Name' path, or item id), or 'selected' (project panel selection).
labelNoLabel index 0-16.
commentNoProject panel comment text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only but non-destructive mutation within a closed world, so the safety profile is covered. The description adds the label color mapping semantics (0 = none, 1-16 from Preferences > Labels), but says nothing about whether an existing comment or label is overwritten, or what happens if an invalid index is supplied.

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 well-formed sentence with the verb and both target fields front-loaded and no filler. The parenthetical is dense but every clause carries information an agent needs about the label value space.

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 three-parameter mutation tool with no output schema, the core semantics are covered, but an agent still cannot tell whether omitted fields are left untouched or cleared, or how errors surface for out-of-range labels. Annotations carry part of the behavioral burden, keeping this adequate rather than deficient.

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%, so the baseline is 3, and the description genuinely earns above it by explaining that 0 means 'no label' and that 1-16 map to colors defined in Preferences > Labels — meaning the schema's 'Label index 0-16' does not convey. The 'and/or' also clarifies that both fields are optional despite items being required.

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) with two named resources (label color, comment) scoped to project items. The mention of 'project items' implicitly separates it from layer-level siblings like set_layer_label and set_layer_comment, though it never names them outright.

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

Usage Guidelines3/5

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

The 'and/or' phrasing tells the agent both fields are optional and can be set independently, which is useful usage context. However, there is no explicit guidance on when to prefer this over set_layer_label/set_layer_comment, nor any stated prerequisites.

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