Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Set Step Parameter

channel_set_step_param
DestructiveIdempotent

Sets a Graph Editor parameter such as velocity, pitch, pan, shift, or repeat on a specific sequencer step in the selected pattern for precise per-step automation.

Instructions

Set a Graph Editor parameter (velocity, pitch, pan, shift, or hi-hat repeat) on one sequencer step.

Operates on the currently selected pattern; use channel_set_grid_bit or channel_set_step_sequence to turn steps on first, and channel_get_step_params to read back. Raises a tool error on unsupported param, out-of-range index, or invalid value.

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>",
      "step": "<step>",
      "param": "<param>",
      "value": "<value>"
    },
    "name": "channel_set_step_param"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepYes0-based 16th-note step index in the currently selected pattern.
indexYes0-based global Channel Rack index.
paramYesGraph Editor parameter name: 'pitch', 'velocity', 'release', 'pan', 'mod_x', 'mod_y' (0..127), 'fine_pitch' (0..240), 'shift' (ticks up to PPQ/4), or 'repeat' (FL repeat code 0..14).
valueYesInteger value for `param` (0..127 for velocity/pitch/pan/mod; 0..240 for fine_pitch; 0..PPQ/4 for shift; 0..14 for repeat rolls).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.6.1
    • addedInput schema / properties / index / description
      Added value: +"0-based global Channel Rack index."
    • addedInput schema / properties / param / description
      Added value: +"Graph Editor parameter name: 'pitch', 'velocity', 'release', 'pan', 'mod_x', 'mod_y' (0..127), 'fine_pitch' (0..240), 'shift' (ticks up to PPQ/4), or 'repeat' (FL repeat code 0..14)."
    • addedInput schema / properties / param / enum
      Added value: +[
      +  "pitch",
      +  "velocity",
      +  "release",
      +  "pan",
      +  "mod_x",
      +  "mod_y",
      +  "fine_pitch",
      +  "shift",
      +  "repeat"
      +]
    • addedInput schema / properties / step / description
      Added value: +"0-based 16th-note step index in the currently selected pattern."
    • addedInput schema / properties / value / description
      Added value: +"Integer value for `param` (0..127 for velocity/pitch/pan/mod; 0..240 for fine_pitch; 0..PPQ/4 for shift; 0..14 for repeat rolls)."
  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 declare destructive=true, idempotent=true, readOnly=false. The description adds value beyond them by disclosing the error contract ('raises a tool error on unsupported param, out-of-range index, or invalid value') and the currently-selected-pattern scope. It does not state that the existing value is overwritten, which is the main residual gap for a destructive setter.

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 short sentences, front-loaded with what is being set, followed by scope, prerequisites, and error conditions — nothing redundant.

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?

Output schema exists so return values need no explanation, and the description covers scope, prerequisites, alternatives, and failure modes for a 4-required-parameter mutation. Only the overwrite/consequence of the destructive write is left unstated.

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 the schema already lists the full param enum with per-param ranges, so the baseline is 3. The description's parenthetical list ('velocity, pitch, pan, shift, or hi-hat repeat') is a partial subset that omits release, mod_x, mod_y, and fine_pitch, adding no range information beyond the schema.

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 Graph Editor parameter ... on one sequencer step') and scopes it to the currently selected pattern, which separates it from sibling setters like channel_set_grid_bit and channel_set_step_sequence.

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 explicit ordering guidance ('use channel_set_grid_bit or channel_set_step_sequence to turn steps on first') and names channel_get_step_params as the read-back counterpart, so an agent knows both the prerequisite and the inspection alternative.

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