Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Get Focused FL Studio Window

ui_focused_window
Read-onlyIdempotent

Returns the active FL Studio window type, caption, and focus state so you can verify which window or plugin holds focus before diagnosing modal dialogs or piano-roll focus. Read-only.

Instructions

Return the active window type, caption, and focus state inside FL Studio.

Use to verify which FL window or plugin currently holds focus (for example before diagnosing modal dialogs or piano-roll focus); use ui_show_window to focus a specific panel or ui_selected_channel to check Channel Rack 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_focused_window"
  }
}

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.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, and the trailing 'Read-only.' merely restates that. The description does add scope value by clarifying it reports windows internal to FL Studio rather than OS-level windows, but it offers no caveats about what happens when FL is disconnected or unfocused, which is the kind of behavior an agent would actually need.

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?

Two sentences, front-loaded with the return payload, then routing guidance. The only redundancy is the dangling 'Read-only.' which duplicates the annotation set, but it costs almost nothing.

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 an output schema present, a zero-parameter signature, and rich annotations, the description covers everything an agent needs: what it returns, when to call it, and which siblings to prefer. No material gap remains.

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 there is no parameter semantics to document and the baseline of 4 applies. The description does not waste words inventing arguments, which is correct.

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 and resource ('Return the active window type, caption, and focus state inside FL Studio') and even enumerates the three returned fields. An agent can distinguish it from ui_show_window or ui_selected_channel without opening any 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?

Gives an explicit use case ('verify which FL window or plugin currently holds focus') with concrete examples (modal dialogs, piano-roll focus), then names two alternatives and the condition that selects each. Nothing is left to inference.

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