Skip to main content
Glama

compose_lofi_track

Generates a lofi track .tracktionedit file with configurable instrument presets and saves it to the given path.

Instructions

Generate a complete lofi track .tracktionedit file: 4 tracks (drums, bass, keys, pad), Fmaj7-Am7-Dm7-Cmaj7 progression, real 808 drum samples, master FX bus. Bass / keys / pad presets are configurable so you can A/B sounds without editing the composer. Saves to the given path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barsNoTotal bars (4 phrases × 4 bars)
seedNoReproducible randomization seed for variation.
tempoNoBPM (76 = beach-lazy lofi)
out_pathYesWhere to write the .tracktionedit
pad_presetNo4OSC Vox Pad WMF.trkpreset
bass_presetNoFilename inside Factory Presets/4OSC/4OSC Smack Bass WMF.trkpreset
keys_presetNo4OSC E-Piano R WMF.trkpreset
bass_octave_offsetNoSemitone offset for bass roots, in octaves. Most factory bass presets have tune1=-12 (octave-down detune), so playing at +1 octave (= MIDI roots in F3/A3/D3/C3) lands the actual sounding pitch in the proper bass register (F2-A2). Default 1 fixes the common sub-bass-mud issue. Use 0 for a deeper sub-bass.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden of disclosure. It does reveal meaningful behavior: it writes a complete multi-track lofi arrangement, supports preset swapping for A/B testing, and saves to the given path. However, it does not disclose whether an existing file is overwritten, whether the current session is modified, or whether factory preset files must already exist.

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 tight sentences with zero filler. The core artifact and musical details are front-loaded, and the configurable-preset note earns its place by foreshadowing the relevant parameters without repeating schema defaults.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (8 parameters), no annotations, and no output schema, the description is not complete enough. It omits overwrite behavior, session side effects, dependency on factory presets, and guidance on how to select this over sibling generators. An agent could invoke it, but blind spots remain around side effects and preconditions.

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 75%, so the schema already documents most parameters and the baseline is 3. The description adds useful context that bass/keys/pad presets are configurable, but it does not explain bar count, seed, tempo, or preset filename semantics beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action ('Generate'), a concrete artifact ('.tracktionedit file'), and the musical structure (4 tracks, progression, 808 samples, master FX bus). It is easy to tell what the tool does, though it does not explicitly differentiate itself from sibling compose_lofi_generative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance is provided. The description implies it is for composing a full lofi track, but it does not help an agent choose between this and the many other compose_* siblings, nor does it state any prerequisites or exclusions.

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/jarmstrong158/waveform-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server