Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Write Drum & Bass Groove

gen_emit_dnb_groove
Destructive

Generate 2-bar 32-step Drum & Bass breakbeats as GM MIDI drum notes in a Piano Roll drum channel, choosing amen, think, modern, or halftime styles.

Instructions

Write a 2-bar 32-step Drum & Bass breakbeat as GM MIDI drum notes into a channel's Piano Roll.

Distinct from the 1-bar general drum tools: writes authentic 2-bar DnB patterns (MIDI 36 kick, 38 snare, 42 closed-hat, 46 open-hat, 51 ride) into one Piano Roll drum channel. Use gen_emit_drum_pattern_step_seq for multi-channel Channel Rack step-sequencer genres (trap, house, boom_bap), gen_emit_drum_pattern_notes for 1-bar Piano Roll drum grooves, or song_to_dnb_flip to combine DnB drums with sub-bass and melody extracted from a song.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gen_emit_dnb_groove"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNo2-bar 32-step DnB breakbeat template: 'amen', 'think', 'modern' (default), or 'halftime'.modern
channelNo0-based global Channel Rack index hosting a GM-mapped drum kit (e.g. FPC); omit to target the open Piano Roll.
patternNoOptional 1-based pattern index to select before writing; omit/None to use the current pattern.
repeatsNoNumber of 2-bar breakbeat loops to emit (>= 1; e.g. 2 writes 4 bars).
clear_firstNoIf True (default), clear existing notes on the target Piano Roll before writing; False appends.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.6.1
    • addedInput schema / properties / channel / description
      Added value: +"0-based global Channel Rack index hosting a GM-mapped drum kit (e.g. FPC); omit to target the open Piano Roll."
    • addedInput schema / properties / clear_first / description
      Added value: +"If True (default), clear existing notes on the target Piano Roll before writing; False appends."
    • addedInput schema / properties / pattern / description
      Added value: +"Optional 1-based pattern index to select before writing; omit/None to use the current pattern."
    • addedInput schema / properties / repeats / description
      Added value: +"Number of 2-bar breakbeat loops to emit (>= 1; e.g. 2 writes 4 bars)."
    • addedInput schema / properties / style / description
      Added value: +"2-bar 32-step DnB breakbeat template: 'amen', 'think', 'modern' (default), or 'halftime'."
  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 destructiveHint=true and idempotentHint=false, so the safety profile is carried structurally. The description adds real behavioral context beyond that: the exact GM note mapping (36/38/42/46/51), the 2-bar/32-step structure, and that writing is confined to a single Piano Roll drum channel. It stops short of warning in prose that the default behavior overwrites existing notes, leaving that to the schema.

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?

The core capability is front-loaded in the first sentence, and the second paragraph is dense with routing value rather than filler. The lead-in phrase 'Distinct from the 1-bar general drum tools' is slightly redundant with the alternatives sentence that follows, but nothing is wasted overall.

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?

An output schema exists, so return values need no explanation, and all five parameters are fully described in the schema. For a defaultable, zero-required-parameter generation tool, the description covers purpose, target, musical output, and sibling routing completely.

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%, so style templates, channel targeting, pattern selection, repeats, and clear_first are all already documented. The description adds little parameter-level meaning beyond reiterating the 2-bar structure and the GM kit requirement. Baseline 3 is appropriate when the schema does the heavy lifting.

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 opens with a specific verb, output artifact, and scope: write a 2-bar 32-step DnB breakbeat as GM MIDI drum notes into a Piano Roll channel. It immediately distinguishes itself from the 1-bar general drum tools, so an agent can identify it without consulting the 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 explicitly routes the agent: step-sequencer/multi-channel genres go to gen_emit_drum_pattern_step_seq, 1-bar Piano Roll grooves to gen_emit_drum_pattern_notes, and combined DnB+sub-bass+melody work to song_to_dnb_flip. When-to-use and when-not-to-use are both covered with named alternatives.

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