Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Overwrite Step Sequence

channel_set_step_sequence
DestructiveIdempotent

Writes a 0/1 step pattern into a channel's step sequencer starting at step 0, letting you program drum hits or gates while leaving later steps untouched.

Instructions

Overwrite a channel's step-sequencer grid from step 0 using a list of 0/1 values.

Overwrites steps 0..len(steps)-1 while leaving any later steps intact—call channel_clear_step_sequence first if shortening an existing pattern. Use gen_emit_drum_pattern_step_seq for preset multi-channel drum grooves, or piano_roll_add_notes for pitched melodies and chords.

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>",
      "steps": "<steps>"
    },
    "name": "channel_set_step_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes0-based global Channel Rack index.
stepsYesOrdered list of 0 (off) and 1 (on) step flags starting from step 0 (e.g. 16 values for one 4/4 bar).
patternNoOptional 1-based pattern index to switch to before writing; omit/None to write into the currently selected pattern.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.1
    • addedInput schema / properties / index / description
      Added value: +"0-based global Channel Rack index."
    • addedInput schema / properties / pattern / description
      Added value: +"Optional 1-based pattern index to switch to before writing; omit/None to write into the currently selected pattern."
    • addedInput schema / properties / steps / description
      Added value: +"Ordered list of 0 (off) and 1 (on) step flags starting from step 0 (e.g. 16 values for one 4/4 bar)."
  2. First observedv0.6.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, and readOnly=false, but the description adds the crucial nuance those hints cannot express: only steps 0..len(steps)-1 are overwritten and later steps survive, which is exactly why shortening requires a prior clear. It does not cover failure behavior for an out-of-range channel index, which keeps it below a 5.

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, zero filler. The core behavior and its boundary condition come first, then the pruning caveat, then alternative routing — a clean front-loaded order.

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?

For a destructive single-grid write with full schema documentation and an output schema that covers return values, the description supplies everything an agent needs: scope of the write, the partial-overwrite rule, the shortening pitfall, and the two sibling alternatives.

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% and the schema already documents index as a 0-based Channel Rack index, steps as 0/1 flags from step 0, and pattern as optional 1-based. The description reinforces the 0/1 and step-0 semantics and ties the steps array length to the write range, but adds little that is not already in the structured field descriptions.

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 ("Overwrite a channel's step-sequencer grid") plus the origin of the write ("from step 0") and the input type ("list of 0/1 values"). It is clearly separable from channel_clear_step_sequence, channel_set_grid_bit, and piano_roll_add_notes 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 Guidelines5/5

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

Explicitly names two alternatives with the condition that selects each: gen_emit_drum_pattern_step_seq for preset multi-channel drum grooves, piano_roll_add_notes for pitched melodies/chords. It also gives the when-not case — call channel_clear_step_sequence first when shortening a pattern — so routing decisions need no inference.

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