Skip to main content
Glama

Quantize piano-roll notes

fl_quantize_pattern

Quantize note starts and optionally lengths to the grid in the open Piano roll, snapping to a specified grid size without dialog.

Instructions

Quantize the notes ALREADY in the open Piano roll: reads the score, snaps note starts (and optionally lengths) to the grid, rewrites -- via the pyscript bridge, no dialog. Needs the Piano roll open + MCP_Apply armed once this session (same setup as note writing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grid_barsNoSnap grid in bars: 0.0625=1/16, 0.125=1/8, 0.25=1/4.
snap_endsNoAlso snap note lengths to the grid.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate mutability (readOnlyHint false) but description adds 'rewrites via pyscript bridge, no dialog', providing additional behavioral context beyond annotations. No contradiction.

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?

Two sentences, front-loaded with action and key details, no extraneous words. Efficient and clear.

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?

All essential aspects covered: what it does, prerequisites, parameter behavior, and no need to describe output as output schema exists. Complete for its complexity.

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%, so description does not need to add much. Description mentions parameters with examples but does not add new semantics beyond schema.

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?

Description uses specific verb 'quantize' and resource 'notes already in the open piano roll'. It clearly distinguishes from sibling tools like fl_write_piano_roll_notes by specifying it operates on existing 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?

States prerequisites: 'Piano roll open + MCP_Apply armed once this session (same setup as note writing)'. References sibling tool implicitly but does not explicitly state when not to use or list alternatives.

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