Skip to main content
Glama

compose_music

Make game music from a few words, free (Voidless Monarch Music, about 5 to 30 s to make): a WAV (16-bit, stereo) and a MIDI file of the score (Type 1, a track per part). Styles: chiptune, synthwave/electronic, ambient, lo-fi, dark/horror, fantasy/medieval/tavern, epic battle/boss, happy/cute, sci-fi, menu/title; moods calm, tense, happy, sad, heroic, spooky, mysterious, energetic; 8-bit (four console channels; 16-bit adds a fifth and an echo) or high quality (piano, strings, brass, choir, pads, bells, flute, harp, lute, drums...). Seamless loops (the end runs back into the start), tracks with an ending (10-180 s), or stingers of 2-8 s (victory, defeat/game over, level complete, boss appears, discovery, danger). The prompt is read for all of it, long prompts included ('chiptune boss battle', 'calm lo-fi for a cozy farm game, 90 bpm', 'pirate synthwave', '8-bit orchestral battle', 'spooky lullaby', 'victory fanfare', 'in A minor', '2 minutes'); the options below win over it. Instrumental only: singing asked for is said and left out, and a named game or song gets an original track in its general mood. intensity 'all' makes the seed's explore, tense and battle versions: one melody and one set of chords, quieter or fuller, for music that follows the game. The same words, options and seed give the same music. Returns the files: written into out_dir when the Voidless MCP runs on your machine, else download links; save: true also keeps the WAV in your Voidless library as a private music asset. For an AI-made track (any genre, 10 credits) use generate_music. Images up to 2048x2048, 256 frames, 32 MB of input per call. Free: no credits.

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

Input Schema

NameRequiredDescriptionDefault
bpmNoTempo (default: the style's)
keyNoKey, e.g. 'A minor', 'F#', 'Eb major' (default: the seed picks)
mixNoA second style lending its colour (e.g. style synthwave, mix fantasy: pirate synthwave)
formNoA seamless loop (default), a track with an intro and an ending, or a short stinger
moodNoThe mood (default: the prompt's, else the style's own)
saveNoAlso save the result to your Voidless library (free, private) and return its asset id and cdn.voidless.dev URL, for passing to the next tool without base64
seedNoSame words, options and seed: same music (0 or left out: random)
drumsNofalse: no drums
soundNo'chip' is 8-bit, 'chip16' 16-bit, 'hq' high quality. Default: the prompt's, else the style's own (chip for chiptune)
stemsNoAlso make the stems: every part as its own WAV at the mix's level, with the MIDI, in one ZIP
styleNoThe style, instead of (or over) the prompt's
promptNoThe music, in a few words or many, e.g. 'chiptune boss battle', 'calm lo-fi loop for a cozy farm game, 90 bpm', 'spooky dungeon ambience', 'victory fanfare'
out_dirNoA folder on your machine (absolute path, e.g. the game's music folder) to write the files into. Works when the Voidless MCP runs on your machine (the voidless-mcp npm server)
secondsNoLength: loops 10-120 s, tracks 10-180 s, stingers 2-8 s (default 60, a stinger its own). Whole bars, so it comes out close
stingerNoThe stinger's moment (sets form to stinger)
intensityNoexplore (quiet), tense (a pulse underneath), battle (full drums and bass), or all three versions of the seed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial context beyond the annotations (free/no credits, files written to out_dir locally or returned as download links, save=true creates a private library asset with an id and cdn URL, instrumental-only enforcement, named games yield original tracks, seed determinism). One flaw: the sentence 'Images up to 2048x2048, 256 frames, 32 MB of input per call' is irrelevant boilerplate for a music tool and can mislead about accepted input. No contradiction with readOnlyHint=false or openWorldHint=true.

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

Conciseness3/5

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

Front-loaded with the payoff and the sibling alternative, and dense with useful detail, but it is one sprawling paragraph that re-lists styles and moods the enum schema already enumerates. The off-topic image/frame/byte limit sentence is pure noise and should be removed.

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 16-parameter tool with no required fields and no output schema, it covers the important gaps: what is returned (files in out_dir or download links, optional library asset), how conflicts between prompt and options resolve, and free pricing. Minor omissions remain, such as failure behavior when out_dir is unwritable or how server-side vs local execution changes link vs path results.

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 100%, so the baseline is 3; the description earns more by explaining precedence the schema cannot state — the prompt is parsed for style, mood, bpm, key, form, and sound, but 'the options below win over it'. It also clarifies seed repeatability and that intensity 'all' yields three versions from one melody/chord set.

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+resource ('compose game music from a few words') and immediately scopes it with outputs (WAV 16-bit stereo, MIDI Type 1), styles, and forms. It explicitly distinguishes itself from the sibling generate_music ('For an AI-made track (any genre, 10 credits)'), so an agent can route between them without opening either 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 explicit conditions for use and an alternative: use this for free, style-driven game music; use generate_music for any-genre AI tracks at 10 credits. It also names the concrete situations (seamless loops, ending tracks, stingers, intensity 'all' for music that follows the game) that select between modes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources