Skip to main content
Glama

Build a song prompt

build_song_prompt
Read-onlyIdempotent

Turns a song idea into ready-to-paste style prompts for AI music models (genre, mood, instruments, vocals, tempo), title ideas, a section-by-section lyrics template with line and syllable targets, and lyric tips for the genre. Use it when the user wants to make a song and needs the prompt or a lyrics plan. Returns text only; it does not make music.

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": {
      "idea": "<idea>"
    },
    "name": "build_song_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
ideaYesWhat the song is about, in the user's words, e.g. "a birthday song for my sister Mia who loves cats".
moodNoOptional mood, e.g. "happy", "romantic", "sad".
genreNoOptional genre, e.g. "pop", "country", "k-pop", "lo-fi". Guessed from the idea when empty.
modelNoOptional music model the prompt is for, e.g. "Suno", "Udio", "MiniMax", "Mureka", "Lyria", "OnMusic".
tempoNoOptional: "slow", "fast" or a number like "120 bpm".
titleNoOptional song title to build the chorus around.
lengthNoshort ≈ 1-2 min, standard ≈ 3 min, long ≈ 4 min.standard
vocalsNoOptional: "female", "male", "duet", "choir", "kids", "rap" or "instrumental".
languageNoOptional language the song is sung in, e.g. "Spanish".

Output Schema

NameRequiredDescriptionDefault
bpmYes
moodYes
genreYes
modelYes
structureYes
lyric_tipsYes
model_tipsYes
title_ideasYes
style_promptsYesReady-to-paste style descriptions; the first is the main one.
exclude_stylesNoWhat to avoid, for models with an exclude/negative field.
lyrics_templateYesSection tags with what to write in each; fill in the lines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds meaningful non-obvious context by stating 'Returns text only; it does not make music,' which prevents the agent from assuming audio generation. It says nothing about length limits, latency, or how optional fields fall back when omitted.

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 sentences, front-loaded with the transformation and then the usage trigger, ending on the boundary clause. The middle deliverable list is dense but every item is a distinct output; no filler sentences.

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?

With an output schema present, return values need no explanation, and the parameter surface is fully documented in-schema. The description covers purpose, trigger, and the text-only boundary, leaving only minor gaps around how omitted optional fields (genre, model, language) influence the result.

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 100% and every one of the nine parameters is documented in-schema, so the baseline is 3. The description adds only marginal semantics, notably that the lyrics template carries line and syllable targets and that lyric tips are genre-specific, hinting at how length interacts with output, but it does not explain the fallback behavior of optional fields.

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?

Names a specific transformation (song idea → style prompts, title ideas, lyrics template, lyric tips) with the concrete components listed (genre, mood, instruments, vocals, tempo), so the agent knows exactly what it gets. It does not disambiguate against siblings such as get_song_structure or check_lyrics, whose territory (structure and lyric quality) overlaps the 'lyrics template' output.

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?

Provides a trigger condition: 'Use it when the user wants to make a song and needs the prompt or a lyrics plan.' That is clear positive guidance but offers no exclusions, prerequisites, or pointers to the alternatives (e.g. when to use check_lyrics or get_song_structure instead), so routing relies on inference.

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.