Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Set Pattern Color

pattern_set_color
Idempotent

Set an FL Studio pattern’s display color by 1-based index to visually group patterns in the Pattern Picker and Playlist.

Instructions

Set the display color of an FL Studio pattern by its 1-based index.

Use for visual grouping in the Pattern Picker and Playlist; use channel_set_color, mixer_set_color, or playlist_set_track_color for other surfaces. Raises a tool error on invalid pattern index or unparseable color string.

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

Input Schema

NameRequiredDescriptionDefault
colorYesTarget color as '#RRGGBB' hex (e.g. '#3A86FF') or 'rgb(r,g,b)'.
indexYes1-based pattern number whose color will be updated.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.1
    • addedInput schema / properties / color / description
      Added value: +"Target color as '#RRGGBB' hex (e.g. '#3A86FF') or 'rgb(r,g,b)'."
    • addedInput schema / properties / index / description
      Added value: +"1-based pattern number whose color will be updated."
  2. First observedv0.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=false, destructive=false, idempotent=true), and the description adds genuinely new behavior: a tool error is raised on invalid index or unparseable color. It stops short of saying whether the pattern must already exist or how failures are surfaced, so it is strong but not exhaustive.

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 action and scope, then routing, then failure behavior. No filler and nothing buried.

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?

An output schema exists so return values need no explanation, and the tool is a simple two-parameter mutation whose safety profile is covered by annotations. Only the existence/precondition semantics for an invalid index remain implicit, a minor gap.

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% and both parameters document their formats ('#RRGGBB' / 'rgb(r,g,b)' and 1-based pattern number), so the schema does the heavy lifting. The description's '1-based index' and 'unparseable color string' restate rather than extend the schema, making the baseline 3 appropriate.

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 display color of an FL Studio pattern') plus the keying mechanism ('1-based index'), which is enough to distinguish it from the other set_color siblings at a glance.

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?

Gives an explicit use case ('visual grouping in the Pattern Picker and Playlist') and names three alternative tools with the condition that selects them ('for other surfaces'), so the agent never has to infer which color tool applies.

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