Skip to main content
Glama

generate_music

Create music or songs from a text prompt, including lyrical songs and instrumentals, with adjustable model, tempo, duration, and vocals.

Instructions

Generate music or songs. 4 models: ACE Step (songs with lyrics), Lyria 2 (instrumental), ElevenLabs Music, Tracks.

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 in beats per minute (ACE Step only)
modelNoModel to use. Options: ace-step: ACE Step, lyria: Lyria 2, elevenlabs-music: ElevenLabs Music, tracks: Trackslyria
lyricsNoSong lyrics with [verse], [chorus], [bridge] tags (ACE Step only)
promptYesMusic description: style, mood, instruments, tempo
durationNoDuration in seconds (ACE Step only)
instrumentalNoInstrumental only, no vocals (ACE Step only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false. The description adds nothing beyond that: no cost or credit implications, no expected latency for generation, no statement of what happens when ACE-Step-only fields (bpm, lyrics, duration, instrumental) are sent with another model, and no hint at the returned artifact.

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?

Two short sentences, front-loaded with the action and then the model menu. No filler or redundancy; the only cost is that the terseness leaves behavioral gaps unaddressed rather than that wording is wasted.

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?

Six parameters with rich schema text means the inputs are well covered, but this is an open-world generative tool with no output schema, so the description should say what comes back (audio file/URL), roughly how long it takes, and whether credits are consumed. Those absences leave an agent unable to set expectations before invoking a non-read-only generation call.

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 baseline is 3. The description adds real meaning for the model enum, whose schema descriptions are tautological ("ace-step: ACE Step"); here each model is characterized by capability (lyrics songs vs instrumental vs Tracks), which is the main decision an agent must make. It says nothing extra about prompt, duration, or instrumental beyond the schema.

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?

States a specific verb and resource ("Generate music or songs") and immediately names the four supported models with a one-line capability for each. This is enough to separate it from siblings like generate_image, generate_video, and text_to_speech, though it never explicitly says so.

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

Usage Guidelines3/5

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

Usage is only implied: "ACE Step (songs with lyrics)" versus "Lyria 2 (instrumental)" hints at which model to pick, and the schema's default of lyria signals a sensible fallback. There is no explicit when-to-use statement, no when-not-to-use, and no mention of switching here from text_to_speech or list_models.

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