Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Open Channel Piano Roll

ui_open_piano_roll_for_channel
Idempotent

Open the Piano Roll window for a selected Channel Rack channel and optional pattern, preparing FL Studio's UI for manual inspection or subsequent piano roll operations.

Instructions

Select a channel (and optionally a pattern) and open its Piano Roll window in FL Studio.

Note that piano_roll_* tools already accept channel and pattern directly and open the target automatically; use this standalone tool when preparing the UI for manual user inspection or before calling tools that operate on the open piano roll. Raises a tool error if channel or pattern 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": {
      "channel": "<channel>"
    },
    "name": "ui_open_piano_roll_for_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelYes0-based global Channel Rack index whose piano roll will be opened.
patternNoOptional 1-based pattern index to select before opening the piano roll; omit to keep the current pattern.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.1
    • addedInput schema / properties / channel / description
      Added value: +"0-based global Channel Rack index whose piano roll will be opened."
    • addedInput schema / properties / pattern / description
      Added value: +"Optional 1-based pattern index to select before opening the piano roll; omit to keep the current 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 readOnlyHint=false, idempotent=true, destructiveHint=false, and the description adds real context beyond them: it is a UI-affecting operation, it persists a channel/pattern selection, and it raises a tool error on out-of-range indices. Missing only minor details such as what happens to focus/other open windows or the return payload, which the output schema presumably covers.

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 tight paragraphs: the action first, then the disambiguation and error condition. No filler and the key routing information is front-loaded.

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?

For a two-parameter UI tool with full schema coverage, annotations, and an output schema, the description covers purpose, when to use it versus siblings, selection side effect, and error behavior. Nothing an agent needs in order to call it correctly is missing.

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 both parameters are already documented as 0-based channel index and optional 1-based pattern. The description adds the range-error behavior and reinforces that pattern is optional, but nothing about indexing conventions or edge cases beyond the schema; baseline 3 applies.

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 concrete verb and resource: 'Select a channel (and optionally a pattern) and open its Piano Roll window in FL Studio.' It also distinguishes itself from the piano_roll_* family by noting those already accept channel/pattern directly, so an agent can separate the standalone UI tool from the editing tools without opening schemas.

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 when-to-use guidance ('preparing the UI for manual user inspection or before calling tools that operate on the open piano roll') and explicitly redirects the common case to the piano_roll_* tools. Both the selecting condition and the alternative are named.

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