Skip to main content
Glama

Make a song

create_song

Make an original instrumental song from a description: genre, mood, instruments, tempo, what it's for. Returns it queued; the player in the chat shows it rendering and plays it when it's done (about a minute), with MP3 and WAV downloads and its five stems (drums, bass, guitar, keys, other) as FLAC. Where there's no player, get_song gives those links once it's done. Artist names are not allowed and are removed from prompts before generation: describe the sound instead. Royalty-free, for commercial games and videos. It makes sound effects too, with nothing to switch: a description with no music in it ("heavy rain on a tin roof", "a sword clashing against a metal shield") comes back as a sound effect, one take up to 30 seconds with MP3 and WAV and no stems, and its kind is "sfx".

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_song"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmNoTempo; left out, it's chosen from the prompt.
keyNoA note with sharps and major or minor, like "C major" or "F# minor".
loopNoA seamless loop, for a game level or a background.
seedNoMakes the same song again from the same words and settings; left out, a new one each time.
promptYesThe music in words, e.g. "a calm village theme with flute and harp", or a sound with no music in it for a sound effect, e.g. "footsteps on gravel".
durationNoLength in seconds (default 120).
variationsNoHow many versions of it to make (default 1). Two count as one song.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / duration / minimum
      Previous value: -10New value: +2
  2. Changed1 schema field changed
    • changedInput schema / properties / prompt / description
      Previous value: -"The music in words, e.g. \"a calm village theme with flute and harp\"."New value: +"The music in words, e.g. \"a calm village theme with flute and harp\", or a sound with no music in it for a sound effect, e.g. \"footsteps on gravel\"."
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare non-read-only/non-destructive; the description goes far past that with queueing behavior, ~1 minute render time, exact deliverables (MP3, WAV, five FLAC stems), the SFX variant's 30-second cap and missing stems, and the "sfx" kind marker. It also discloses a content policy — artist names are stripped from prompts — which is a real constraint an agent must not trip over.

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?

Front-loaded with purpose and deliverables, then the SFX branch. It's dense and runs long in a single block with multiple parenthetical asides, but nearly every clause carries operative information rather than restating the schema.

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 7-parameter generative tool with no output schema, the description covers what comes back, how long it takes, how to retrieve assets, the SFX edge case, and the commercial-use terms. An agent can set expectations for the user without opening anything else.

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 still adds meaning beyond the schema by explaining that the prompt's content decides the output kind and that non-musical phrasing is the switch — a semantic rule not present in the prompt field's schema text. Tempo defaults and licensing are also stated.

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+resource ("Make an original instrumental song from a description") and enumerates the prompt dimensions it consumes. It also carves out the SFX case explicitly, so an agent knows this one tool covers two output kinds without ambiguity.

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?

States the alternative path precisely: use get_song for links where there's no chat player. It also gives the selection rule for SFX vs music ("a description with no music in it comes back as a sound effect"), which is the main ambiguity an agent would face.

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.

Resources