Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Humanize Piano Roll Notes

piano_roll_humanize
Destructive

Add controlled random timing and velocity micro-variations to Piano Roll notes to soften robotic phrasing and give quantized or generated parts a natural feel.

Instructions

Add controlled random timing and velocity micro-variations to Piano Roll notes for natural feel.

Use after quantized note entry or generators to soften robotic phrasing; use channel_set_swing for rhythmic swing across step-sequenced patterns, or piano_roll_quantize to tighten timing back toward the grid. Undoable via project_undo.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "piano_roll_humanize"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoOptional 0-based global Channel Rack index; when provided, opens that channel's Piano Roll before running the edit. Omit to target whichever Piano Roll is already open.
patternNoOptional 1-based pattern index to select before opening the Piano Roll; omit to edit the currently selected pattern.
velocity_jitterNoMaximum random normalized velocity variation in 0.0..1.0 (default 0.1).
timing_jitter_barsNoMaximum random start-time offset in project bars (default 0.02; ~0.005–0.015 is subtle in 4/4).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.6.1
    • addedInput schema / properties / channel / description
      Added value: +"Optional 0-based global Channel Rack index; when provided, opens that channel's Piano Roll before running the edit. Omit to target whichever Piano Roll is already open."
    • addedInput schema / properties / pattern / description
      Added value: +"Optional 1-based pattern index to select before opening the Piano Roll; omit to edit the currently selected pattern."
    • addedInput schema / properties / timing_jitter_bars / description
      Added value: +"Maximum random start-time offset in project bars (default 0.02; ~0.005–0.015 is subtle in 4/4)."
    • addedInput schema / properties / velocity_jitter / description
      Added value: +"Maximum random normalized velocity variation in 0.0..1.0 (default 0.1)."
  2. First observedv0.6.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the mutation profile is known. The description adds genuinely new context beyond that: the edit is undoable via project_undo, and that it targets whichever Piano Roll is open unless channel/pattern are supplied. It does not say whether all notes in the pattern are affected or only a selection, which matters for a destructive edit.

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?

Purpose is front-loaded in the first sentence, followed by usage routing and the undo note. Every clause carries information, though the second sentence is long and could be split for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations covering safety, an output schema present, and full parameter documentation, the description supplies the missing routing and reversibility context. The remaining gap is scope of application (entire pattern vs selected notes), which is not stated for a destructive tool with optional channel/pattern targeting.

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 all four parameters (channel, pattern, velocity_jitter, timing_jitter_bars) are already fully documented in the schema, including defaults and the subtle-range hint. The description only gestures at 'controlled' variation without adding syntax or scaling meaning beyond what the schema provides, so 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: adding controlled random timing and velocity micro-variations to Piano Roll notes, with the stated goal of a natural feel. It is clearly distinguishable from siblings like piano_roll_quantize and channel_set_swing, which are named explicitly.

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 an explicit trigger ('use after quantized note entry or generators to soften robotic phrasing') and names two alternatives with the conditions that select them: channel_set_swing for rhythmic swing on step-sequenced patterns, and piano_roll_quantize to tighten timing back to the grid. When-to-use, when-to-use-something-else, and the reverse operation are all covered.

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