Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Select Playlist Section

arrangement_set_selection
Idempotent

Selects a 1-based bar range on FL Studio's Playlist timeline to loop a chorus or verse, or to scope mixer diagnosis and peak watching to that section.

Instructions

Select a 1-based bar range [start_bar, end_bar) on FL Studio's Playlist timeline.

Use to loop a specific chorus/verse for playback, mixer_diagnose, or mixer_peak_watch; call arrangement_clear_selection afterward to remove the timeline selection. Converts bars using the project's current time signature; raises if end_bar <= start_bar.

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": {
      "start_bar": "<start_bar>",
      "end_bar": "<end_bar>"
    },
    "name": "arrangement_set_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_barYes1-based exclusive end bar on the Playlist timeline (must be greater than `start_bar`, e.g. 17.0 selects bars 9–16).
start_barYes1-based inclusive start bar on the Playlist timeline (e.g. 1.0 = beginning of bar 1, 9.0 = bar 9).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.1
    • addedInput schema / properties / end_bar / description
      Added value: +"1-based exclusive end bar on the Playlist timeline (must be greater than `start_bar`, e.g. 17.0 selects bars 9–16)."
    • addedInput schema / properties / start_bar / description
      Added value: +"1-based inclusive start bar on the Playlist timeline (e.g. 1.0 = beginning of bar 1, 9.0 = bar 9)."
  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 readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description earns credit for adding behavior not in the structured data: bar values are converted via the project's current time signature, and it raises when end_bar <= start_bar. It does not mention any side effects on playback state or how the selection interacts with an active loop.

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 sentences, none wasteful: the operation and range semantics come first, then usage and cleanup, then the conversion/error behavior. The parenthetical notation is compact and the cross-references are embedded rather than given their own paragraphs.

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?

An output schema exists, so return values need no explanation, and annotations cover mutation safety. The description covers units, error conditions, and the cleanup companion, leaving only minor gaps such as interaction with transport/loop state on a tool with readOnlyHint=false.

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 adds the half-open interval notation and restates the ordering constraint that triggers an error. It also introduces the time-signature conversion context, which explains why bar units may not map linearly to time — meaning beyond the schema's per-field text.

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 specific verb ('Select') and resource ('a 1-based bar range [start_bar, end_bar) on FL Studio's Playlist timeline'), including the exact interval semantics. It also implicitly separates itself from arrangement_clear_selection by naming that tool as the undo path, so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives concrete when-to-use scenarios ('loop a specific chorus/verse for playback') and names the paired cleanup tool (arrangement_clear_selection). It stops short of explicit exclusions or preconditions — e.g. whether the selection persists across transport changes — but the guidance is well above implied.

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