Skip to main content
Glama

Set several plugin parameters

fl_plugin_set_params
Idempotent

Set multiple parameters on one FL Studio plugin as a single undoable batch, with verified writes and per-parameter results to prevent partial, hard-to-revert changes.

Instructions

Set several parameters of ONE plugin as a single rollback unit.

Every entry of writes ({param, value}; param is an index or a name) is written through ONE safety.safe_write_group call: one changelog entry, so fl_rollback_last_change restores ALL of them back to their original values in one step. Writes are paced 0.4 s apart (FL drops back-to-back writes), each is re-read and retried up to 3 times if it did not land, and results reports per-param {param, ok, verified, requested, attempts, before, after}.

RECIPE: same FL 26 limits as fl_plugin_set_param -- trust verified, not the request: stepped params snap to their grid, some params ignore writes entirely, values are the normalised 0..1 domain (see that tool's docstring for the full map). Prefer this over repeated fl_plugin_set_param calls whenever 2+ knobs change: it is one undo step and one paced burst instead of several. Worst case (every param refused) is ~1.6 s of retries per entry, so a full 16-entry batch can take ~25 s -- keep batches focused on the knobs you mean to change.

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": {
      "track": "<track>",
      "slot": "<slot>",
      "writes": "<writes>"
    },
    "name": "fl_plugin_set_params"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYes
trackYes
writesYes1..16 {param, value} entries, all for this ONE plugin.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the write pipeline: one changelog entry so fl_rollback_last_change restores everything, 0.4 s pacing because FL drops back-to-back writes, read-back verification with up to 3 retries, and the per-param result fields. It even quantifies worst-case latency per entry and for a 16-entry batch, which is exactly the operational context an agent needs before batching.

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?

Front-loads the core guarantee, then the mechanism, then the recipe and timing caveat; most sentences earn their place. It loses a little by pointing readers to another tool's docstring for the value map instead of restating it, and the latency detail is verbose relative to its decision value.

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, yet the description still summarises the per-param result shape and tells the agent to trust 'verified' rather than the request, which is the key correctness signal given snapping and refused writes. Combined with rollback and timing behavior, nothing needed to invoke it safely is missing.

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?

With only 33% schema description coverage, the description carries real weight: it explains that writes entries are {param, value}, that param is an index or a name, that values live in the normalised 0..1 domain, and that stepped params snap to a grid. The gaps are track and slot, which are never described in either the schema or the description, and the batch-size limit is only implied through the '16-entry batch' remark.

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?

Opens with a specific verb, resource and scope: set several parameters of ONE plugin as a single rollback unit. It also names the sibling it competes with (fl_plugin_set_param) and the transactional guarantee, so an agent can distinguish it 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?

Explicit routing rule: prefer this over repeated fl_plugin_set_param calls whenever 2+ knobs change, because it is one undo step and one paced burst. It also gives a practical exclusion ('keep batches focused') tied to the ~25 s worst case, so both when and when-not are covered.

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