Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Duplicate Pattern Data

pattern_duplicate_data
Destructive

Doubles all notes and step data inside a 1-based pattern in place, extending its length so you can edit the newly created second half.

Instructions

Repeat all notes and step data inside a 1-based pattern, doubling its length in place.

Use to turn a 2-bar pattern into a 4-bar pattern before editing the second half; use pattern_clone to copy a pattern into a separate pattern slot, or piano_roll_duplicate to duplicate notes on a single channel only. Undoable with project_undo; requires FL Studio 2026+ (ok=False on older builds).

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

Input Schema

NameRequiredDescriptionDefault
indexYes1-based pattern index whose notes and steps will be doubled in place.

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 notes and steps will be doubled in place."
  2. First observedv0.6.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, and the description adds value on top: it discloses that the mutation is in-place (existing pattern is lengthened, not copied), that it is recoverable via `project_undo`, and that it is version-gated to FL Studio 2026+ with ok=False on older builds. That version/auth-style prerequisite and the recovery path are exactly the kind of context annotations cannot carry.

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?

The core effect is front-loaded in the first sentence, followed by a compact usage/alternatives block and a short footnote-style constraints clause. Every clause (use case, two sibling redirects, undo path, version requirement) carries information an agent would otherwise have to guess.

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?

With a single well-documented parameter, an output schema, and full annotations, the description fills the remaining gaps that matter: reversibility, version prerequisite, in-place semantics, and sibling disambiguation. Nothing an agent needs to invoke this destructive tool safely appears to be missing.

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 100% and the single `index` parameter is already documented as 1-based with its effect described. The description reinforces 1-based indexing and the in-place doubling, which mildly reduces ambiguity about whether the original pattern is preserved, but adds little beyond the schema text.

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 names a specific verb and resource ("Repeat all notes and step data"), pins the scope ("inside a 1-based pattern"), and states the exact effect ("doubling its length in place"). It also distinguishes itself from the two nearest siblings by naming what they do instead, so an agent can choose without opening any 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 concrete use case ("turn a 2-bar pattern into a 4-bar pattern before editing the second half") and explicitly routes away to `pattern_clone` for copying into a separate slot and `piano_roll_duplicate` for single-channel note duplication. When-to-use, when-not-to-use, and alternatives are all present.

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