Skip to main content
Glama

generate_music

Generate full songs with natural AI vocals, precise BPM/key control, and 14+ section tags for arrangement. Pay per song via Bitcoin Lightning without signup.

Instructions

Generate full songs (up to 6 min) with natural AI vocals, BPM/key control (99%+ accuracy), and 14+ section tags for precise arrangement. Uses Music-2.6 — orchestral and traditional instruments, style-aware mixing. Specify BPM, key, genre, mood in prompt. Returns MP3 URL. 300 sats per song. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_music'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentIdYesValid payment ID (must be paid)
promptYesMusic style with BPM, key, genre, mood, instruments (up to 2,000 chars). Example: 'E minor, 90 BPM, acoustic guitar ballad, male vocal'
modelIdNoOptional. Omit for default model.
lyricsNoSong lyrics with section tags (up to 3,500 chars). Tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Solo], [Hook], [Drop], [Build Up], [Inst], [Interlude], [Transition], [Break], [Post Chorus]
is_instrumentalNoSet true for instrumental-only (no vocals). When true, prompt is required, lyrics are ignored.
lyrics_optimizerNoSet true to auto-generate lyrics from prompt when lyrics are empty.
sample_rateNoAudio sample rate. Default: 44100
bitrateNoAudio bitrate. Default: 256000
audio_formatNoOutput format. Default: mp3
Behavior4/5

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

Discloses model version (Music-2.6), output format (MP3 URL), cost (300 sats), and payment flow. However, does not specify if the operation is synchronous or asynchronous, potentially conflicting with the presence of check_job_status.

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?

Five sentences, front-loaded with key purpose, no redundant information. Efficiently conveys all critical details.

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

Completeness3/5

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

Covers output and payment but omits details on job status polling or error handling, which may be needed given the complexity. The immediate 'Returns MP3 URL' statement may mislead if tool is actually asynchronous.

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 coverage is 100%, so description adds marginal value. It reinforces prompt structure (BPM, key, genre) and lyrics section tags, but does not significantly extend beyond schema descriptions.

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?

The description clearly states 'Generate full songs' with specific details like duration, AI vocals, and BPM/key control, distinguishing it from sibling tools like generate_image or generate_text.

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

Usage Guidelines4/5

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

It explains payment requirements and prerequisite call to create_payment, and mentions parameters for customization. Lacks explicit when-not-to-use guidance but context with siblings is clear.

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/cnghockey/sats4ai-mcp-server'

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