Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Set Plugin Parameter in Real Units

plugin_set_param_value
Idempotent

Set continuous plugin parameters in real-world display units (dB, Hz, ms, %) via binary search, returning the verified value and clamping status.

Instructions

Set a plugin parameter directly in its displayed real-world units (dB, Hz, ms, %) via binary search.

Preferred over plugin_set_param for continuous musical parameters: the bridge bisects the normalized value against FL's live display string and returns value_string, verified (within 1%), and clamped (if outside range). Stepped or non-numeric parameters return verified=False—use plugin_set_param for those.

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>",
      "param": "<param>",
      "target": "<target>"
    },
    "name": "plugin_set_param_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNo0-based Mixer FX slot index (0..9) when `location='mixer'`; keep -1 (default) when `location='channel'`.
indexYes0-based global Channel Rack index when `location='channel'`, or Mixer track index (0 = Master, 1..N = insert) when `location='mixer'`.
paramYes0-based automatable parameter index (discover via `plugin_find_param` or `plugin_params`).
targetYesDesired parameter value in FL Studio's displayed units (e.g. '-6 dB', '2.5 kHz', '120 ms', '35%', or a bare number).
locationNoWhere the plugin lives: 'channel' (Channel Rack instrument/generator, default) or 'mixer' (Mixer FX slot, requires `slot` 0..9).channel

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.6.1
    • addedInput schema / properties / index / description
      Added value: +"0-based global Channel Rack index when `location='channel'`, or Mixer track index (0 = Master, 1..N = insert) when `location='mixer'`."
    • addedInput schema / properties / location / description
      Added value: +"Where the plugin lives: 'channel' (Channel Rack instrument/generator, default) or 'mixer' (Mixer FX slot, requires `slot` 0..9)."
    • addedInput schema / properties / param / description
      Added value: +"0-based automatable parameter index (discover via `plugin_find_param` or `plugin_params`)."
    • addedInput schema / properties / slot / description
      Added value: +"0-based Mixer FX slot index (0..9) when `location='mixer'`; keep -1 (default) when `location='channel'`."
    • addedInput schema / properties / target / description
      Added value: +"Desired parameter value in FL Studio's displayed units (e.g. '-6 dB', '2.5 kHz', '120 ms', '35%', or a bare number)."
  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?

Annotations only declare it is a non-read-only, idempotent, non-destructive mutation; the description goes well beyond that by disclosing the bisection mechanism, the 1% verification tolerance, clamping behavior outside range, and the characteristic failure mode for stepped parameters. It omits any note that binary search means multiple bridge round-trips (a real cost versus plugin_set_param), which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: purpose first, then the preference/return contract, then the opt-out. No filler, and the routing decision is front-loaded.

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 the return fields need no expansion, and the description still covers mechanism, accuracy, clamping and the fallback case—enough to call it correctly. Minor gap: no mention of per-call cost or that failures may be slow due to repeated bisection.

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%, so the schema already explains index, slot, param, location and target with unit examples; the description adds little parameter-level meaning beyond restating that target is in displayed units. It also references a 'range' that is not an input parameter, which is slightly ambiguous though readable as the parameter's own min/max.

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 plugin parameter') plus the distinguishing mechanism ('directly in its displayed real-world units... via binary search') with concrete unit examples (dB, Hz, ms, %). It explicitly contrasts with the sibling plugin_set_param, so an agent can pick between them 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?

Gives an explicit preference rule ('Preferred over plugin_set_param for continuous musical parameters') and an explicit exclusion with the fallback named ('Stepped or non-numeric parameters return verified=False—use plugin_set_param for those'). This is when-to-use, when-not-to-use, and the alternative in two sentences.

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