Skip to main content
Glama

Set a plugin parameter to a real-unit value

fl_plugin_set_param_value
Idempotent

Set a plugin parameter to a real musical value like Hz, dB or ms, with automatic calibration; falls back with a clear message when the plugin is opaque or the parameter isn't monotonic.

Instructions

Set a parameter to a MUSICAL target in its real unit (Hz/dB/ms/%/...), auto-calibrating first (cached). Falls back with a clear message if the plugin is opaque or the param isn't monotonic -- then use fl_plugin_set_param with a normalised 0..1 value instead. Reversible via fl_rollback_last_change; reports the achieved display string.

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

Input Schema

NameRequiredDescriptionDefault
slotYesMixer-track effect slot 0-9, OR -1 for the channel-rack generator (then `track` is the CHANNEL index).
paramYesParam index or name.
stepsNo
trackYes
targetYesDesired value in the param's real unit (e.g. 2000 for 2 kHz cutoff, -6 for -6 dB).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare the non-destructive, idempotent write profile, and the description adds materially beyond them: calibration runs first and is cached, failures surface a clear message rather than a silent bad value, changes are reversible via fl_rollback_last_change, and the achieved display string is reported. That covers side effects, failure mode, and recoverability that the annotations alone do not.

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?

The core action and the unit examples are front-loaded, and the fallback/rollback routing follows in a compact clause. Parenthetical packing keeps it dense without wasting sentences, though the slash-separated unit list and double-dash asides make it slightly harder to scan than it needs to be.

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 description needn't explain return values, and mentioning the achieved display string is a bonus. The calibration step and fallback behaviour are covered, but the `steps` parameter and the cost of an auto-calibration pass are left implicit, which is a small gap for a 5-parameter tool.

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 60%, so the schema documents slot, param, and target but leaves `steps` (the 3-41 calibration sweep count) unexplained. The description clarifies the real-unit semantics of `target` (e.g. 2000 for 2 kHz) and the calibration precondition, but never mentions `steps`, so it only partially compensates for the coverage gap.

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 with explicit scope: 'Set a parameter to a MUSICAL target in its real unit (Hz/dB/ms/%/...)'. This directly contrasts with the sibling fl_plugin_set_param, which the description names as taking a normalised 0..1 value, so an agent can distinguish the two 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 both the primary path and an explicit alternative with the condition that selects it: if the plugin is opaque or the param isn't monotonic, use fl_plugin_set_param with a normalised value instead. It also names fl_rollback_last_change as the undo route, which is exactly the when-to-use-this-vs-that guidance an agent needs.

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