Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Count Plugin Parameters

plugin_param_count
Read-onlyIdempotent

Count automatable parameters on a loaded channel or mixer plugin to gauge list size before paginating results or searching by keyword.

Instructions

Return the total count of automatable parameters exposed by a loaded channel or mixer plugin.

Use to gauge parameter count before paginating with plugin_params; prefer plugin_find_param directly when you already know a keyword like 'wet', 'cutoff', or 'threshold'. Raises a tool error if the target slot is empty or out of range.

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>"
    },
    "name": "plugin_param_count"
  }
}

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'`.
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. Changed3 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 / slot / description
      Added value: +"0-based Mixer FX slot index (0..9) when `location='mixer'`; keep -1 (default) when `location='channel'`."
  2. First observedv0.6.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real value beyond them by disclosing failure behavior: it raises a tool error if the target slot is empty or out of range. It does not describe the count's return shape, but an output schema exists, so this is a minor gap.

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 tightly written sentences with the primary purpose front-loaded, followed by usage routing and the error condition. Every sentence earns its place, and no wording is redundant with the tool name or title.

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 simple read-only counting tool with 3 fully described parameters and an output schema, the description covers purpose, alternative routing, and error behavior. Nothing an agent needs in order to call it correctly is missing.

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 slot, index, and location are already fully documented in the input schema, setting the baseline at 3. The description reinforces the semantics of the target slot's validity (empty/out of range errors) but adds no new detail about the location/slot interaction that the schema does not already state.

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?

The description states a specific verb and resource: 'Return the total count of automatable parameters exposed by a loaded channel or mixer plugin.' It scopes the count to automatable parameters and explicitly distinguishes the tool from plugin_params (pagination) and plugin_find_param (keyword lookup), so an agent can pick it without opening a 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?

It gives a clear when-to-use rule (gauge the count before paginating with plugin_params) and a when-not-to-use rule with a named alternative ('prefer plugin_find_param directly when you already know a keyword like wet, cutoff, or threshold'). Nothing is left to inference about the alternatives.

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