Skip to main content
Glama

Set plugin parameter

fl_plugin_set_param
Idempotent

Set a plugin parameter by index or name, then verify the normalized 0..1 value actually landed. Returns before/after values, resolved parameter, and retry status for undoable changes.

Instructions

Set one plugin parameter (normalised 0..1), then VERIFY it landed.

param may be an index or a name; names are resolved from the live param list. The change is logged ONCE and undo-able via fl_rollback_last_change. Returns before/after (unchanged shape) plus the resolved {index, name} and, because the value is checked on a fresh re-read, verified: bool and attempts: int (1 = it stuck first try); attempts can reach 4 (1 write + 3 retries) and a hint explains a verified: false.

RECIPE (FL API limits, measured on FL 26): verified is the source of truth, not the request. Levels/gains take an arbitrary 0..1 value; stepped params (filter types, orders, selectors) snap to their own grid, so an off-grid request comes back verified: false with the snapped value in after; some params (EQ2 band widths) ignore writes entirely. An open plugin window (pickup mode) did not block script writes in our test. Values are the normalised 0..1 domain shown by fl_plugin_get_params -- read after.s for the 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>",
      "value": "<value>"
    },
    "name": "fl_plugin_set_param"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYes
paramYesParam index (int) or name (str, e.g. 'Decay time').
trackYes
valueYesNormalised 0..1.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / slot / minimum
      Previous value: -0New value: +-1
  2. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the write is logged once, undo-able, retried up to 4 times, and verified by a fresh re-read with a hint on failure. It also discloses the measured FL 26 limit that stepped params snap to their own grid and EQ2 band widths ignore writes, and that an open plugin window does not block writes.

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-loaded with the core action and verification claim, then structured into param semantics and a labelled RECIPE block. Slightly long, and the return-shape sentence partly duplicates the output schema, but every section carries actionable information.

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?

For a mutation tool with 4 required params, openWorld and retry behavior, the definition covers what an agent needs: input domain, resolution rules, retry count, failure semantics, and recovery via rollback. Return-value details are documented even though an output schema exists, which is a bonus rather than a gap.

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?

Schema coverage is 50%, and the description compensates well for the weak params: 'param may be an index or a name; names are resolved from the live param list' and the 0..1 normalised domain tied to fl_plugin_get_params output. track and slot remain unexplained, and the 0..1 requirement for param's value is largely a restatement of the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Set one plugin parameter (normalised 0..1)') plus a distinguishing behavioral trait (verification). The word 'one' implicitly separates it from the plural sibling fl_plugin_set_params, but no sibling is named explicitly, so an agent must infer the split with fl_plugin_set_params / fl_plugin_set_param_value.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operating context: read values from fl_plugin_get_params, param accepts index or name, change is undo-able via fl_rollback_last_change. The RECIPE section explains what to do when verification fails (off-grid snapped values, params that ignore writes). Missing only an explicit statement of when to prefer this over the plural set tool.

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