Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Clone Pattern

pattern_clone

Copy a 1-based FL Studio pattern's notes and step grid into another pattern and select the copy to create variations without altering the original.

Instructions

Copy a 1-based FL Studio pattern's notes and step grid into another pattern and select the copy.

Use to create variations (e.g. Verse B from Verse A) without altering the original; use pattern_duplicate_data to double the musical length inside the same pattern, or pattern_create for a blank pattern. Providing dest_index overwrites that slot on FL 2026.1.1+ (revert with project_undo); returns {source_index, new_index, name}.

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_clone"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes1-based source pattern index to copy (notes and step sequencer grid).
new_nameNoOptional display name for the cloned pattern; empty keeps FL's cloned label.
dest_indexNoOptional 1-based destination pattern index (FL 2026.1.1+, overwrites that slot). Omit to clone into the next free pattern.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.1
    • addedInput schema / properties / dest_index / description
      Added value: +"Optional 1-based destination pattern index (FL 2026.1.1+, overwrites that slot). Omit to clone into the next free pattern."
    • addedInput schema / properties / index / description
      Added value: +"1-based source pattern index to copy (notes and step sequencer grid)."
    • addedInput schema / properties / new_name / description
      Added value: +"Optional display name for the cloned pattern; empty keeps FL's cloned label."
  2. First observedv0.6.0

TDQS

A4.3/5.0
Behavior3/5

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

The description carries real behavioral weight the annotations do not: the source is left untouched, the copy becomes selected, dest_index overwrites a slot only on FL 2026.1.1+ and can be reverted with project_undo. However, this overwrite capability sits in tension with destructiveHint=false, and the description never resolves whether that hint applies only to the default (next free pattern) path — leaving ambiguity about how dangerous dest_index actually is.

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 tight sentences: what it does and its side effect first, then the use case and alternatives, then the edge-case semantics. Every clause earns its place and nothing is repeated unnecessarily.

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 3-parameter mutation tool with annotations and an output schema, the definition covers purpose, alternatives, overwrite hazard, version constraint, rollback path, and even the return shape. An agent has everything needed to call it safely and correctly.

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 schema descriptions already cover 1-based indexing, empty-name defaulting, and the dest_index overwrite/version behavior, so the description largely restates structured data. It adds only the remediation hint (project_undo) beyond the schema, which keeps it at baseline.

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 ('Copy a 1-based FL Studio pattern's notes and step grid into another pattern') plus the side effect of selecting the copy, so the agent knows exactly what changes. It is clearly separable from pattern_duplicate_data (same-pattern length doubling) and pattern_create (blank pattern).

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 the motivating use case ('create variations, e.g. Verse B from Verse A without altering the original') and explicitly routes to two named alternatives with the conditions that select them. Nothing about when-to-use vs. siblings is left to inference.

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