Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Get Selected Channel from UI

ui_selected_channel
Read-onlyIdempotent

Returns the zero-based global index and name of the currently focused FL Studio channel, so you can identify the selected Channel Rack entry before inspecting or changing it.

Instructions

Return the 0-based global index and name of the channel currently focused in the UI.

Equivalent to channel_selected from the UI namespace; use channel_all to inspect every channel in the Channel Rack or channel_select to change selection. Read-only.

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": "ui_selected_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the closing 'Read-only.' mostly repeats structured data. The genuinely additive behavioral detail is that the index is a global, 0-based index rather than a per-view position, though the description does not say what happens when no channel is focused or whether the UI must be visible.

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?

Front-loaded with the return value, then sibling routing in a compact second sentence. The trailing 'Read-only.' is redundant against readOnlyHint and is the one line that does not earn its place.

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?

Output schema exists so return shape need not be spelled out, and annotations cover the safety profile. Only the empty/no-selection edge case and any UI-visibility prerequisite are unaddressed, which is minor for a zero-parameter read.

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?

Zero parameters, so the schema carries no semantic burden and the description correctly spends no words on arguments. The guidance to interpret the returned index as global is a useful, if small, addition.

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 specific verb (return) and resource (the currently focused channel), plus exactly what is returned: the 0-based global index and name. This is immediately distinguishable from channel_all and channel_select, which it explicitly contrasts.

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?

Names both the inspection alternative (channel_all) and the mutation alternative (channel_select), and clarifies this is equivalent to channel_selected from the UI namespace. It does not say when an agent should prefer this entry point over the channel_selected alias, leaving that choice implicit.

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