Skip to main content
Glama

Set a project item's colour label

set_item_color_label
Idempotent

Assign a color label (index 0–15) to a single Premiere Pro project item by ID, name, or path, and return its previous and new label for verification.

Instructions

Set the colour label of one project item (clip, bin or sequence item) by index 0-15. Use list_color_labels to see which index is which colour, and set_items_color_label to label many items in one call. Returns the label before and after.

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

Input Schema

NameRequiredDescriptionDefault
labelYesColour label index 0-15 (see list_color_labels for the names).
item_idNoStable project item id (from list_project_items). Preferred.
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds value annotations don't carry: it states the return payload ("the label before and after"), which matters because there is no output schema. It stops short of error behaviour (missing/duplicate items) or permission requirements.

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 sentences, front-loaded with the operation and scope, followed by the disambiguation pointers. No filler and no repetition of the annotations.

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 low-complexity single-field mutation, everything essential is present: index range, index-resolution tool, batch alternative, and return values (compensating for the absent output schema). Minor gaps remain around identifier conflict handling and failure modes, but nothing that would cause a mis-call.

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 100%, so all four parameters (label, item_id, item_name, item_path) are already documented, including the index range and the item_id "Preferred" precedence note. The description only restates the 0-15 range and the list_color_labels pointer, adding little beyond the schema — the baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Set the colour label of one project item"), enumerates the item kinds it applies to (clip, bin, sequence item), and scopes it to a single item, which cleanly separates it from set_items_color_label (many items).

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

Usage Guidelines5/5

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

Explicitly routes the agent: use list_color_labels to resolve index-to-colour, and use set_items_color_label when labelling many items in one call. Both the when-to-use and the when-to-use-something-else conditions are stated.

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