Skip to main content
Glama
io.github.AudialAI/audial-mcp

io.github.AudialAI/audial-mcp

Official

Generate music

generate_music

Generate music from text prompts, create covers or remixes, emphasize a track, or analyze audio for music production workflows.

Instructions

Generate music with the Audial music model.

Text to music, covers, remixes, lego (re-render with one track emphasised), or analysis (understand). Use for new or transformed music, not to edit an existing mix: that is master or stem_split. Takes a few minutes and counts as one run, and audio goes to a new results folder. When Audial wrote the lyrics, the summary has them: show them to the user, who can edit them and run again with lyrics.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "generate_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmNoTempo hint in beats per minute.
seedNoSeed for reproducible output.
lyricsNoLyrics with optional section tags like [Verse] and [Chorus]. Omit them and, for text2music, Audial writes lyrics from the prompt and sings them (they come back in the result). For no vocals, set instrumental=true.
promptYesStyle description: genre, mood, instruments, vocal character. Tempo and key words in the prompt steer the model more than the numeric bpm/key fields, which are hints, not constraints.
key_scaleNoKey hint, e.g. 'G major'.
task_typeNotext2music (default), cover, remix, lego, or understand.text2music
batch_sizeNoNumber of variations, 1-8.
track_nameNoTrack to emphasise for lego: vocals, drums, bass, guitar, piano, strings, synth, other.
source_fileNoLocal audio file; required for remix, lego, understand.
audio_formatNomp3, wav, flac, opus or aac.mp3
instrumentalNoGenerate without vocals.
audio_durationNoLength in seconds, up to 360 (longer is capped). text2music ends close to it. Omitted: the length follows the lyrics, and a cover follows its reference.
reference_fileNoLocal audio file; required for cover.
repainting_endNoRemix end time in seconds (-1 = end).
time_signatureNoe.g. '4/4'.
vocal_languageNoLanguage code for vocals, e.g. 'en'.en
negative_promptNoWhat to avoid, comma-separated.
repainting_startNoRemix start time in seconds.
audio_cover_strengthNo0-1 fidelity to the original for cover/remix.

Output Schema

NameRequiredDescriptionDefault
toolYes
filesYes
summaryYes
metadataYes
output_dirYes
execution_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.1
    • changedInput schema / properties / audio_duration / description
      Previous value: -"Length in seconds (10-600)."New value: +"Length in seconds, up to 360 (longer is capped). text2music ends close to it. Omitted: the length follows the lyrics, and a cover follows its reference."
    • changedInput schema / properties / lyrics / description
      Previous value: -"Lyrics with optional section tags like [Verse] and [Chorus]. Omit for instrumental."New value: +"Lyrics with optional section tags like [Verse] and [Chorus]. Omit them and, for text2music, Audial writes lyrics from the prompt and sings them (they come back in the result). For no vocals, set instrumental=true."
  2. Changed3 schema fields changedv0.5.0
    • changedInput schema / properties / source_file / description
      Previous value: -"Local audio file; required for remix, extract, lego, complete, understand."New value: +"Local audio file; required for remix, lego, understand."
    • changedInput schema / properties / task_type / description
      Previous value: -"text2music (default), cover, remix, extract, lego, complete, or understand."New value: +"text2music (default), cover, remix, lego, or understand."
    • changedInput schema / properties / track_name / description
      Previous value: -"Track to extract/replace for extract/lego: vocals, drums, bass, guitar, piano, strings, synth, other."New value: +"Track to emphasise for lego: vocals, drums, bass, guitar, piano, strings, synth, other."
  3. First observedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare that this is a non-read-only, open-world, non-idempotent write. The description adds the traits the agent actually needs: it takes a few minutes, it consumes one run, and output lands in a new results folder. It also documents the post-run loop — Audial-written lyrics come back in the summary, should be shown to the user, and can be revised and rerun via `lyrics`.

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?

The verb and resource are front-loaded and every sentence carries information, including the cost and output-folder facts. It is slightly dense and the parenthetical '(understand)' for analysis mode is a little cryptic, but there is no 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 19-parameter generative tool with an output schema and annotations already present, the description covers modes, alternatives, runtime, run cost, output location, and the lyrics revision workflow. Nothing an agent needs in order to call it correctly is missing.

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 and the schema carries most of the load. The description still adds real meaning beyond it by linking the `lyrics` parameter to the summary round-trip and by grouping `task_type` values into the conceptual modes (text to music, cover, remix, lego, understand).

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?

Opens with a specific verb and resource ('Generate music with the Audial music model') and then enumerates the concrete modes: text to music, covers, remixes, lego, and analysis. It names the siblings it is not (master, stem_split), so an agent can distinguish it 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?

Explicitly states when to use it ('new or transformed music') and when not to ('not to edit an existing mix: that is master or stem_split'), naming the alternatives directly. It also scopes each mode inside the tool, so mode selection is not left to inference.

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