Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Preview Chord Notes

gen_chord_notes
Read-onlyIdempotent

Computes MIDI note numbers for a chord voicing without changing FL Studio, so you can plan voice-leading before adding chords or notes.

Instructions

Compute MIDI note numbers for a single chord voicing without modifying FL Studio.

Use to build custom voice-leading before calling piano_roll_add_chord or piano_roll_add_notes; use gen_emit_chord_progression to write a full progression directly. Pure Python; raises on invalid root or unknown quality.

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_chord_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoRoot pitch with octave using sharps or flats (e.g. 'C4', 'F#3', 'Bb4'; C4 = MIDI 60).C4
qualityNoChord quality from `gen_list_chord_qualities` (e.g. 'maj', 'min', 'min7', 'maj9', 'sus2').maj
inversionNoChord inversion count (0 = root position, 1 = first inversion, 2 = second inversion).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.1
    • addedInput schema / properties / inversion / description
      Added value: +"Chord inversion count (0 = root position, 1 = first inversion, 2 = second inversion)."
    • addedInput schema / properties / quality / description
      Added value: +"Chord quality from `gen_list_chord_qualities` (e.g. 'maj', 'min', 'min7', 'maj9', 'sus2')."
    • addedInput schema / properties / root / description
      Added value: +"Root pitch with octave using sharps or flats (e.g. 'C4', 'F#3', 'Bb4'; C4 = MIDI 60)."
  2. First observedv0.6.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the description's real contribution is that it is pure Python (no FL Studio state touched) and that it raises on an invalid root or unknown quality. That error behavior is genuinely useful pre-call information not present in the annotations; only the exception types/messages are left unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose and scoping constraint, then routing guidance, then runtime behavior. No redundant restatement of the name or title, though the 'Pure Python' note is minor filler.

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 three-parameter, defaulted, pure-computation tool with an output schema covering return values, the description supplies everything needed to select and call it: purpose, alternatives, no-side-effect guarantee, and failure conditions. Only explicit exception handling guidance is absent.

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 format, quality source and inversion meaning are already documented. The description only reinforces the validity boundary ('raises on invalid root or unknown quality') without adding format or semantics beyond the schema, which matches the baseline 3.

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 MIDI note numbers for a single chord voicing') plus a scoping constraint ('without modifying FL Studio'), which immediately separates it from the mutating piano_roll_* siblings.

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?

Explicitly says when to use it (building custom voice-leading before piano_roll_add_chord or piano_roll_add_notes) and names the alternative for the adjacent use case (gen_emit_chord_progression for a full progression). Both the when and the when-otherwise are covered.

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