Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Set Channel Pitch

channel_set_pitch
Idempotent

Set a Channel Rack channel's live pitch offset in semitones, clamped to its configured range. Use it for temporary pitch bend; use piano roll transpose instead for permanent note pitch shifts.

Instructions

Set a Channel Rack channel's live pitch knob offset in semitones.

Adjusts the channel's pitch-bend offset via FL's cents mode; use piano_roll_transpose to permanently shift note pitches in the Piano Roll instead. Clamped to the channel's configured pitch range; raises on invalid 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>",
      "semitones": "<semitones>"
    },
    "name": "channel_set_pitch"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes0-based global Channel Rack index.
semitonesYesPitch offset in semitones (positive = up, negative = down; clamped to the channel's configured pitch range, typically ±2 or ±12).

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 / semitones / description
      Added value: +"Pitch offset in semitones (positive = up, negative = down; clamped to the channel's configured pitch range, typically ±2 or ±12)."
  2. First observedv0.6.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotent=true, destructive=false, and non-read-only, so the safety profile is covered. The description adds genuine context beyond that: the offset is applied via FL's cents mode, the value is clamped to the channel's configured range, and the call raises on an invalid index. It stops short of saying whether the offset persists in the saved project or how it interacts with existing bend automation.

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 tight sentences with the core action front-loaded, followed by the disambiguation and a constraint. Slight redundancy in repeating the clamping rule that the schema's semitones parameter already states.

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 an output schema present and annotations covering safety and idempotency, the description supplies what remains: the live-vs-permanent distinction, clamping semantics, and the error condition. Persistence of the offset is the one behavioral detail an agent might still want.

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 coverage is 100% and both parameters are documented in the schema, including direction and the clamping behavior. The description's semitone/clamping language largely restates the schema; only 'live pitch knob offset' and the invalid-index error add meaning beyond it. Baseline 3 is appropriate when the schema does the heavy lifting.

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 live pitch knob offset in semitones') and immediately contrasts it with the sibling piano_roll_transpose. An agent can distinguish a temporary live pitch offset from a permanent note transpose without opening either 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?

Names the alternative explicitly ('use piano_roll_transpose to permanently shift note pitches in the Piano Roll instead') and gives the condition that selects it — live bend offset vs permanent note pitch change. This is a clear when-to-use and when-not-to-use pairing.

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