Skip to main content
Glama

Write piano-roll notes

fl_write_piano_roll_notes
Destructive

Write MIDI notes into the FL Studio Piano Roll with pitch, time, length, velocity, grid snapping, and replace or append modes.

Instructions

Write notes into the currently-open FL Piano roll.

Each note: {pitch (MIDI), time_bars, length_bars, velocity 0-1}. Set quantize (grid in bars) to snap note starts to a grid before writing. Setup: open the Piano roll and run 'MCP_Apply' once from its Scripting menu (so Ctrl+Alt+Y targets it). mode='replace' clears first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYes
modeNo'replace' clears the pattern first; 'append' adds to it.replace
quantizeNoOptional grid (bars) to snap note starts to before writing: 0.0625=1/16, 0.125=1/8, 0=off.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds significant context beyond annotations by detailing quantize grid snapping and the need for a specific setup step. It confirms destructive behavior (mode='replace' clears first). Could mention error conditions if the piano roll isn't open, but overall strong.

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 description is concise (4 sentences) and front-loaded with the main action, followed by parameter details and setup. Every sentence adds value with no redundancy.

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?

The description covers setup, note format, quantize, and mode. It doesn't explain output or error handling, but an output schema exists. For a tool with 3 parameters and 1 required, this is fairly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaning beyond the schema by explaining the note structure in plain language and providing concrete quantize values ('0.0625=1/16, 0.125=1/8, 0=off'). With 67% schema coverage, the description compensates well.

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 clearly states the tool's purpose with a specific verb-resource combination: 'Write notes into the currently-open FL Piano roll.' It distinguishes itself from sibling tools like fl_write_raga_chords and fl_write_raga_melody by targeting piano roll notes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit setup instructions ('open the Piano roll and run 'MCP_Apply' once') and explains the mode parameter's behavior. While it doesn't explicitly state when not to use this tool, the context is clear and useful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rosasynthesiz/flstudio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server