Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Delete Pattern

pattern_delete
Destructive

Clears a 1-based pattern's custom name while leaving its notes in place, since FL Studio's API cannot remove pattern slots.

Instructions

Clear a 1-based pattern's custom name (FL's scripting API cannot remove pattern slots).

Because FL Studio's public API cannot delete pattern objects or unlink clips, this resets the pattern name while leaving notes in place. Use pattern_clear (FL 2026+) to erase all notes and steps inside the pattern, or piano_roll_clear for one channel.

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": "pattern_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes1-based pattern index whose custom name will be cleared.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.1
    • addedInput schema / properties / index / description
      Added value: +"1-based pattern index whose custom name will be cleared."
  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?

It discloses exactly what is destroyed (the custom name) and what is preserved (notes), which meaningfully qualifies the destructiveHint=true annotation and prevents an agent from assuming notes are lost. It also explains the platform limitation driving the behavior. Return values are left to the output schema, which is acceptable.

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?

Three tightly scoped sentences, front-loaded with the actual effect before the caveat and alternatives. Slight redundancy between 'scripting API cannot remove pattern slots' and 'public API cannot delete pattern objects' costs a point.

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 one-parameter tool with full annotations and an output schema, the definition covers effect, preservation of data, API limitation, and sibling routing. Nothing needed 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 coverage is 100% and the single parameter already documents '1-based pattern index whose custom name will be cleared.' The description restates the 1-based convention and the name-clearing target without adding syntax such as how to obtain a valid index. Baseline 3 applies.

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 ('clear a 1-based pattern's custom name') and immediately corrects the misleading tool name by explaining that pattern slots cannot be removed. It distinguishes itself from the two siblings it names, so an agent can tell what it does without opening the 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 explicitly routes to alternatives with conditions: `pattern_clear` (FL 2026+) to erase notes and steps, `piano_roll_clear` for a single channel. That covers the main ambiguity an agent would have when reaching for a tool called 'delete'.

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