Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Preview Scale Notes

gen_scale_notes
Read-onlyIdempotent

Compute ascending MIDI note numbers for a named scale without changing FL Studio. Inspect in-key pitches before composing custom note lists.

Instructions

Compute ascending MIDI note numbers for a named musical scale without modifying FL Studio.

Use to inspect in-key pitches before composing custom note lists with piano_roll_add_notes; use gen_emit_melody to generate and write a melody directly. Pure Python; raises on invalid root or unknown scale.

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": "gen_scale_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoStarting root pitch with octave (e.g. 'A3', 'C4', 'F#4').C4
scaleNoScale name from `gen_list_scales` (e.g. 'minor', 'major', 'dorian', 'minor_pent').minor
octavesNoNumber of ascending octaves to generate (>= 1; includes the closing octave root).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.1
    • addedInput schema / properties / octaves / description
      Added value: +"Number of ascending octaves to generate (>= 1; includes the closing octave root)."
    • addedInput schema / properties / root / description
      Added value: +"Starting root pitch with octave (e.g. 'A3', 'C4', 'F#4')."
    • addedInput schema / properties / scale / description
      Added value: +"Scale name from `gen_list_scales` (e.g. 'minor', 'major', 'dorian', 'minor_pent')."
  2. First observedv0.6.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered; the description still adds useful behavior: it is pure Python (no FL Studio state touched) and it raises on invalid root or unknown scale. It does not describe return shape, but an output schema exists, so that omission is acceptable.

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?

Three short clauses: what it computes, when to use it versus siblings, and failure behavior. Front-loaded with the core action and free of filler.

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?

For a 3-parameter pure-computation tool with an output schema and full annotations, the description covers purpose, alternatives, side-effect profile, and error conditions. Nothing an agent needs to invoke it correctly is missing.

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 root, scale, and octaves semantics (defaults, examples, the '>= 1' constraint, closing octave root) are already documented. The description adds only indirect meaning via the validation note about root and scale, not per-parameter detail — the 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?

States a specific verb and resource ('Compute ascending MIDI note numbers for a named musical scale') plus an explicit non-effect ('without modifying FL Studio'). The distinction from write-oriented siblings like piano_roll_add_notes and gen_emit_melody is clear without opening any schema.

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?

Gives concrete when-to-use ('inspect in-key pitches before composing custom note lists') and names two alternatives with the condition that selects each: piano_roll_add_notes for manual note lists, gen_emit_melody for direct generation. Little is left to inference.

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