Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Set Channel Pan

channel_set_pan
Idempotent

Set a Channel Rack channel's stereo pan position from -1.0 (left) to +1.0 (right) before mixer effects; use mixer_set_pan to pan its destination Mixer track instead.

Instructions

Set a Channel Rack channel's stereo pan knob from -1.0 (left) to +1.0 (right).

Use to pan an instrument before mixer effects; use mixer_set_pan to pan the channel's destination Mixer track instead. Values outside -1.0..1.0 are clamped; undoable via project_undo, raises on out-of-range index.

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": {
      "index": "<index>",
      "pan": "<pan>"
    },
    "name": "channel_set_pan"
  }
}

Input Schema

NameRequiredDescriptionDefault
panYesStereo pan position from -1.0 (hard left) through 0.0 (center) to +1.0 (hard right); clamped.
indexYes0-based global Channel Rack index.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.1
    • addedInput schema / properties / index / description
      Added value: +"0-based global Channel Rack index."
    • addedInput schema / properties / pan / description
      Added value: +"Stereo pan position from -1.0 (hard left) through 0.0 (center) to +1.0 (hard right); clamped."
  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?

Beyond annotations, it discloses clamping of out-of-range values, undoability via project_undo, and that an out-of-range index raises an error. Annotations already cover idempotency and non-destructiveness, so this is a solid additive layer, though the clamping note largely duplicates the pan property schema and the error condition for pan vs. index is left slightly ambiguous.

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?

Three compact sentences, front-loaded with the operation and its range, then usage routing, then behavioral caveats. The clamp sentence mildly duplicates the pan property description, a minor redundancy but not wasteful.

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?

An output schema exists so return values need not be explained. With only two required, fully documented parameters and annotations covering the safety profile, the description supplies everything an agent needs: scope, sibling routing, clamping, undo, and error behavior.

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%, and both parameters are documented with ranges and 0-based indexing in the schema itself. The description restates the clamp behavior and adds that index raises on out-of-range, but adds little semantic meaning the schema does not already carry, so the baseline of 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 specific verb and resource ('Set a Channel Rack channel's stereo pan knob') plus the exact value domain (-1.0 left to +1.0 right). It is immediately distinguishable from mixer_set_pan, which the description names as operating on the destination Mixer track.

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 positive condition ('pan an instrument before mixer effects') and an explicit alternative with the condition that selects it ('use mixer_set_pan to pan the channel's destination Mixer track instead'). No inference is required to route between the two.

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