Skip to main content
Glama

Export arrangement to .mid

fl_export_midi

Generate multi-track MIDI files from arrangement specifications. Write type-1 .mid files with named tracks, notes, tempo, and time signature, bypassing one-pattern limits.

Instructions

Write a type-1 multi-track .mid from an arrangement spec. YOU (Claude) generate the whole arrangement -- multiple named tracks, each with notes {pitch, start_bars, length_bars, velocity} across all sections -- and this writes ONE .mid. Bypasses the note-bridge's one-pattern + MCP_Apply limits.

Does NOT touch FL: IMPORT the file yourself (FL: File > Import > MIDI file, or drag it into the playlist). FL won't auto-load instruments -- assign a channel to each imported track. Returns the saved file path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tracksYes
bpmNoTempo (BPM).
output_pathNoOutput .mid path; defaults to ~/.flstudio-mcp/exports/.
beats_per_barNoTime-signature numerator (4 = 4/4).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description discloses that the tool only writes a file and does not affect FL Studio state, which is important behavioral context beyond the annotations. Since annotations already indicate it is not read-only or destructive, the description adds value by clarifying the manual import requirement.

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 three sentences long, with the core purpose in the first sentence. It front-loads key information and adds essential warnings without unnecessary text. Every sentence earns its place.

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 the tool's purpose, workflow, and limitations. Although the output schema is present (per context signals), the description does not detail return values. However, for an export tool, the behavior is sufficiently explained, and the schema likely provides return type.

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?

The input schema covers 75% of parameters with descriptions (e.g., pitch, start_bars, length_bars). The description reiterates that Claude generates the arrangement, but does not add new semantic details beyond the schema. Baseline score is appropriate given high schema coverage.

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 that the tool writes a type-1 multi-track .mid file from an arrangement spec. The title 'Export arrangement to .mid' is precise, and the description distinguishes it from sibling tools like fl_write_piano_roll_notes by mentioning it bypasses note-bridge limits for multi-track export.

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 explicitly states when to use the tool (for generating whole arrangements and exporting as MIDI) and what it does not do ('Does NOT touch FL: IMPORT the file yourself'). It provides context about the workflow and limitations, but does not explicitly name alternative tools for comparison.

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