Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Set Sequencer Step

channel_set_grid_bit
DestructiveIdempotent

Enable or clear one step-sequencer hit for a channel in the active pattern at a specified 0-based 16th-note position, ideal for precise single-step rhythm edits.

Instructions

Enable or clear a single 0-based step-sequencer hit on a channel in the active pattern.

Use for surgical single-step tweaks; prefer channel_set_step_sequence to write an entire rhythm in one call or channel_fill_steps for regular intervals. Raises a tool error if index or position is out of range.

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>",
      "position": "<position>",
      "value": "<value>"
    },
    "name": "channel_set_grid_bit"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes0-based global Channel Rack index.
valueYesTrue to activate the step hit, False to clear it.
positionYes0-based 16th-note step position in 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 / position / description
      Added value: +"0-based 16th-note step position in the currently selected pattern."
    • addedInput schema / properties / value / description
      Added value: +"True to activate the step hit, False to clear it."
  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 cover the safety profile (destructiveHint=true, idempotentHint=true, readOnlyHint=false), so the description focuses on what they don't say: it raises a tool error when index or position is out of range. It does not restate reversibility or the effect on the currently selected pattern beyond the edit itself, but it adds genuine behavioral context rather than repeating annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core action and followed by routing guidance and the error condition. Slight redundancy with the schema's '0-based' wording, but no padding.

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?

With an output schema present, return values need no explanation, and the description covers action, scope, alternatives, and failure mode for a three-parameter mutation. The only gap is that it doesn't mention interaction with pattern selection beyond 'currently selected pattern', which is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by tying index and position to a range constraint ('raises a tool error if index or position is out of range'), which signals validation behavior the schema does not state. The value parameter's meaning stays with the schema and is not duplicated.

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?

The description states a precise verb pair ('Enable or clear'), a specific resource ('a single 0-based step-sequencer hit on a channel'), and the scope ('in the active pattern'). It is immediately distinguishable from bulk siblings like channel_set_step_sequence and channel_fill_steps.

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?

It explicitly frames the use case ('surgical single-step tweaks') and names two alternatives with the condition that selects each: channel_set_step_sequence for writing an entire rhythm, channel_fill_steps for regular intervals. Nothing is left to inference about when this tool is the right choice.

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