Skip to main content
Glama

Get arrangement selection

fl_arrangement_selection
Read-onlyIdempotent

Reads the arrangement timeline selection (start, end, active range) and current playhead time so you can inspect the current playlist context without modifying FL Studio.

Instructions

Read the arrangement timeline selection (start/end/active) + current playhead time. Read-only (FL can't author playlist clips via scripting).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=true, so 'Read-only' largely restates structured data. The added value is the rationale that FL cannot author playlist clips via scripting, which explains why no mutation sibling exists and sets expectations about staleness when the user changes selection in the DAW. It adds modest context beyond the annotations but nothing on scope, timing, or failure modes.

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 short sentences, front-loaded with what is read, followed by the read-only caveat. No filler, though 'Read-only' duplicates the annotation and could have been folded into the rationale sentence.

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?

With zero parameters and an output schema present, the description need not explain return values, and it does name the key fields (start/end/active) plus playhead. For a simple reader this is nearly complete; the only gap is tying the returned selection to the active state of the arrangement versus the playlist view.

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?

The tool takes zero parameters, so there is no per-parameter meaning for the description to supply. Baseline of 4 applies; the description's mention of start/end/active is about output shape, not inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Read the arrangement timeline selection (start/end/active)' and additionally names the playhead time, so the agent knows exactly what comes back. It is distinguishable from write-side siblings like fl_arrange_add_marker, though it does not explicitly separate itself from neighbor readers such as fl_get_song_position, which may also surface playhead position.

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

Usage Guidelines3/5

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

Usage is only implied: the parenthetical 'FL can't author playlist clips via scripting' tells the agent there is no write counterpart and that reading is the only option. No alternatives are named and no when-to-use condition is stated, so the agent must infer that this is the tool for inspecting the current timeline selection.

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