Skip to main content
Glama

Color channels

fl_set_channel_color

Set channel-rack colors separately from mixer-track colors by index or name substring, with rollback support for each change.

Instructions

Set the color of channel-rack channels (separate from mixer-track color). Target by index or name substring. ONE rollback unit -- fl_rollback_last_change reverts it. Note: FL's RGBToColor quantizes some colors (live: '#00FF00' reads back as '#14FF14') -- verify with fl_get_channel_color.

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": {
      "color": "<color>"
    },
    "name": "fl_set_channel_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYesColor name or hex (same set as fl_set_track_color).
channelsNoChannel-rack indices or name substrings to color.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the transaction boundary ("ONE rollback unit -- fl_rollback_last_change reverts it") and a non-obvious failure mode with a concrete example ("'#00FF00' reads back as '#14FF14'"). That quantization caveat and the suggested verification loop are exactly the kind of information annotations cannot carry.

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?

Four compact sentences, each carrying distinct load: scope, targeting, rollback semantics, and the color-quantization warning. Nothing repeated and the most decision-relevant fact (channel-rack vs mixer-track) is front-loaded.

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

Completeness5/5

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

An output schema exists, so return values need no explanation. For a two-parameter mutation, the description covers targeting, scope, reversibility, and a known lossy-value pitfall -- everything an agent needs to call it correctly and confirm success.

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 both parameters are already documented in the schema, including the color-name-or-hex format and the anyOf index/substring targeting. The description restates the targeting rule and adds behavioral color caveats, but no new syntax or format detail beyond the schema. 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 the color of channel-rack channels") and immediately scopes it against the nearest sibling concept with "(separate from mixer-track color)". An agent can distinguish this from fl_set_track_color and fl_playlist_set_track_color without opening any 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?

Gives concrete targeting guidance ("by index or name substring") and routes the agent correctly by contrasting with mixer-track coloring, plus names fl_get_channel_color as the verification step. It stops short of explicit when-not-to-use conditions or naming the track-level tool as the alternative, so it is clear context rather than full routing.

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