Skip to main content
Glama

Write a raga/scale MELODY

fl_write_raga_melody
Destructive

Compose a raga melody by generating swaras as MIDI notes and writing them into the selected FL Studio channel. Specify raga, root, and note sequence for a single-line melody.

Instructions

Write a MELODY (single-line, sequential notes) into the selected channel via the piano-roll bridge. YOU (Claude) generate the swaras for the named raga/root -> MIDI notes (use the proper aarohana/avarohana; respect the raga's allowed swaras); this tool only selects the channel + writes. SHOW the user the notes/swaras BEFORE calling. Needs the Piano roll open + MCP_Apply armed once this session (see the note-bridge setup).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYes
ragaNoRaga/scale name (label only), e.g. 'Hamsadhwani'.
rootNoRoot/tonic (label only), e.g. 'C', 'D#'.
channelNoChannel-rack channel to write into (selected first).
modeNo'replace' clears the pattern first; 'append' adds.replace

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations declare destructiveHint: true and readOnlyHint: false. The description adds that it only selects channel and writes, requiring pre-conditions. It does not contradict annotations and provides useful context beyond them.

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, front-loaded with the core action. Every sentence adds value: what it does, what the user must do, and prerequisites. No wasted words.

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?

For a tool with 5 parameters and an output schema, the description covers the workflow: user generates notes, tool writes them. It mentions setup needs. It could elaborate on channel validity but is generally complete.

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 80%, so baseline is 3. The description adds meaning by stating that the notes parameter is user-generated (you generate swaras) and that raga and root are labels only. This clarifies parameter roles beyond the 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?

The description clearly states it writes a single-line melody into a channel via piano-roll bridge. It distinguishes from siblings like fl_write_raga_chords by specifying 'single-line, sequential notes' and from fl_write_piano_roll_notes by focusing on raga context. The verb 'write' and resource 'melody' are precise.

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 gives explicit when-to-use guidance: 'SHOW the user the notes/swaras BEFORE calling' and 'Needs the Piano roll open + MCP_Apply armed once this session'. It also clarifies what the tool does not do (generate swaras). It lacks an explicit alternative, but the context is clear.

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