Skip to main content
Glama

Set a colour parameter

set_effect_color_parameter
Idempotent

Set a Premiere Pro effect's color parameter from RGBA components (0–255) and return the read-back value. Use it for color values only; non-color parameters fail with UNSUPPORTED.

Instructions

Set a colour parameter of an effect (e.g. Tint's "Map Black To", Drop Shadow's "Shadow Color") from r, g, b, a components 0-255. A parameter that is not a colour fails with UNSUPPORTED. Returns the colour read back as [r, g, b, a]. Use set_effect_parameter for non-colour values.

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": {
      "r": "<r>",
      "g": "<g>",
      "b": "<b>"
    },
    "name": "set_effect_color_parameter"
  }
}

Input Schema

NameRequiredDescriptionDefault
aNoAlpha, 0-255. Default 255.
bYesBlue, 0-255.
gYesGreen, 0-255.
rYesRed, 0-255.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
param_nameNoParameter display name, case-insensitive, e.g. "Blurriness". The first match is used. Ignored when param_index is given.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
effect_nameNoEffect display name or match name, case-insensitive, e.g. "Gaussian Blur" or "Motion". The first match is used. Ignored when effect_index is given.
param_indexNo0-based parameter index (from get_effect_parameters). Required for parameters with an empty display name.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
effect_indexNo0-based index of the effect in the clip's effect list (from list_clip_effects). Use it when the clip has two effects with the same name.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, idempotent, non-destructive write, lowering the bar. The description adds genuinely useful behavior beyond them: the accepted 0-255 component range, the UNSUPPORTED failure mode for wrong parameter types, and the fact that the colour is read back as [r, g, b, a].

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?

Three compact sentences: what it does, the invalid-input outcome and return shape, then the sibling redirect. No filler, and the core action is front-loaded.

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 14-parameter mutation tool with a fully documented schema, the description covers purpose, input domain, failure mode, and return format despite having no output schema. Remaining minor gaps (e.g. whether the change is undoable, behavior across multiple matching effects) are not critical to invoking it correctly.

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 every one of the 14 parameters is already documented in the schema, including the r/g/b/a ranges and the clip_id-vs-index preference. The description only restates the component range and gives example parameter names, adding little beyond structured data; baseline 3 applies.

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 a colour parameter of an effect") and grounds it with concrete examples (Tint's "Map Black To", Drop Shadow's "Shadow Color"). It also explicitly separates itself from set_effect_parameter, so an agent can distinguish the two without opening either schema.

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?

Provides a clear routing rule ("Use set_effect_parameter for non-colour values") plus a negative case (non-colour parameter fails with UNSUPPORTED). It does not address the broader effect-parameter family (e.g. Lumetri or MOGRT variants) or guide parameter selection, so it stops short of full when/when-not coverage.

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