Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Clear Step Sequence

channel_clear_step_sequence
DestructiveIdempotent

Clear all step-sequencer hits on a specified channel in the active or chosen pattern, useful before replacing a rhythm with a shorter sequence.

Instructions

Clear every step-sequencer hit on one channel in the active or specified pattern.

Use before replacing a rhythm with a shorter sequence; use piano_roll_clear to remove Piano Roll notes on a channel, or pattern_clear to wipe all channels in a pattern. Undoable via project_undo; raises if index or pattern is invalid.

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

Input Schema

NameRequiredDescriptionDefault
indexYes0-based global Channel Rack index.
patternNoOptional 1-based pattern index to clear; omit/None to clear in the currently selected pattern.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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 clear; omit/None to clear in the currently selected pattern."
  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 destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely new behavioral facts beyond them: the action is undoable via project_undo and raises on an invalid index or pattern. It stops short of describing what 'clear' leaves behind (e.g. whether step params/reset state survive), which is the one remaining gap.

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 alternatives, then side effects. Every clause carries a distinct piece of information with no repetition of the name or title.

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?

With rich annotations, a fully described two-parameter schema, and an output schema available, the description covers action, scope, alternatives, reversibility, and error behavior. Nothing an agent needs in order to invoke it correctly is absent.

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%, so both parameters are already documented, including the 0-based channel index and the omit-to-use-current-pattern default. The description's 'active or specified pattern' phrasing restates that same default rather than adding format, range, or edge-case detail. Baseline 3 is appropriate when the schema carries the semantics.

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 gives a specific verb and resource — clearing every step-sequencer hit on one channel — with an explicit scope of active vs. specified pattern. It also distinguishes itself from piano_roll_clear (notes) and pattern_clear (all channels), so an agent can select it without opening a 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?

It names a concrete trigger ('use before replacing a rhythm with a shorter sequence') and routes two adjacent tasks to the correct siblings by name. It also states the failure condition (raises on invalid index or pattern) and the recovery path (project_undo).

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