Skip to main content
Glama

Create a song

create_music

Make an original song or instrumental track from a description. Uses site credits with OAuth or USD with an API key; the tool quotes the price.

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

Input Schema

NameRequiredDescriptionDefault
titleNoOptional song title, used when you give lyrics or ask for an instrumental (otherwise the song names itself).
voiceNoOptional lead vocal pitch: higher or lower. Leave empty to let the song decide.
lyricsNoOptional lyrics to sing. Leave empty and PopNow writes them.
promptYesThe song you want: genre, mood, instruments, what it's about. For example: upbeat summer pop about a road trip.
max_usdNoAPI key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.
currencyNoBilling unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).
max_creditsNoOAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
instrumentalNoSet true for music with no singing.
production_idNoOptional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / production_id
      Added value: +{
      +  "description": "Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / voice / description
      Previous value: -"Optional lead singer: female or male. Leave empty to let the song decide."New value: +"Optional lead vocal pitch: higher or lower. Leave empty to let the song decide."
    • changedInput schema / properties / voice / enum
      Previous value: -[
      -  "female",
      -  "male"
      -]New value: +[
      +  "higher",
      +  "lower",
      +  "female",
      +  "male"
      +]
  3. Changed3 schema fields changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).",
      +  "type": "string"
      +}
    • changedInput schema / properties / max_credits / description
      Previous value: -"The most credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."New value: +"OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."
    • addedInput schema / properties / max_usd
      Added value: +{
      +  "description": "API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.",
      +  "type": "string"
      +}
  4. 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 it non-read-only, non-destructive, and non-idempotent. The description adds genuinely new behavior: billing is credits under OAuth or USD under an API key, and the tool quotes a price. It omits how the result is delivered and whether generation is async, which are the main remaining gaps.

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?

Two short sentences with no waste; the purpose comes first and the billing constraint follows as the second most important fact.

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?

The purpose and billing model are covered, and the rich schema handles the approval fields. With no output schema, however, the description should hint at what is returned (an audio asset) and whether generation is long-running, which it does not.

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 all nine parameters including the max_usd/max_credits approval mechanics are already documented. The description adds nothing parameter-specific beyond the general 'from a description' notion, so the baseline 3 applies.

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 concrete verb and resource: 'Make an original song or instrumental track from a description.' The word 'song' plus 'instrumental track' distinguishes it implicitly from siblings like create_speech or create_sound_effects, though no sibling is named explicitly.

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 implied by the resource type (music generation) and the billing note signals a quote-then-confirm flow, but there is no explicit when-to-use/when-not guidance or contrast with the other audio-creation tools.

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.