Skip to main content
Glama

Background Music Generator - Abracadabrax

Prepare Background Music

prepare_background_music

Prepare an instrumental background track with Abracadabrax for a video, podcast, ad, game, meditation, presentation, livestream or study session, from a mood, a genre, a tempo and a length. Returns the settings and the credits required; nothing is generated and no credits are spent. No sign-in is needed to prepare. New tracks only: do not use it for uploaded or existing audio (covers, remixes, extensions, stem separation, voice cloning); for those, point the user to the Abracadabrax music studio.

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": {
      "mood": "<mood>"
    },
    "name": "prepare_background_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
useNoWhat the music is for; default youtube-video.
moodYesMood and feel, e.g. calm and warm, upbeat and confident, dark and tense.
genreNoGenre or instruments, e.g. lo-fi hip hop, cinematic strings, corporate acoustic, ambient synth.
tempoNoTempo, e.g. slow, 90 bpm, fast.
titleNoOptional track title.
model_idNoOptional model id: stable-audio (default, instrumental) or elevenlabs-music (studio quality, more credits).
duration_secNoLength in seconds: 30, 60, 120 (default) or 180.

Output Schema

NameRequiredDescriptionDefault
jobNo
stateYes
balanceNo
messageYes
projectYes
dashboard_urlYes
credits_requiredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare safety/state hints (readOnlyHint=false, idempotent=false, destructiveHint=false), and the description adds genuinely useful context beyond them: no generation occurs, no credits are spent, and no sign-in is required. This clarifies the 'prep' semantics that the false readOnlyHint alone leaves ambiguous. It stops short of describing whether any draft state is persisted, which would be the only remaining behavioral question.

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?

Three sentences, front-loaded with purpose, then the no-cost/no-auth caveats, then the exclusion clause. It is slightly dense but each clause earns its place; nothing is redundant filler.

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 not be explained, and the description correctly focuses on scope, cost, auth, and exclusions. Combined with 100% schema coverage, an agent has enough to call it correctly; only the persistence/draft behavior of 'prepare' is left unstated.

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%, so the schema already documents every parameter with examples and constraints. The description's 'from a mood, a genre, a tempo and a length' merely restates the parameter set without adding format or default detail beyond the schema, so baseline 3 applies.

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 states a specific verb (Prepare) and resource (instrumental background track) and enumerates concrete use cases (video, podcast, ad, game, etc.), making the scope unmistakable. It also implicitly separates itself from sibling 'generate_song' by clarifying that this only prepares settings rather than generating output.

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?

It gives explicit when-not guidance: 'New tracks only: do not use it for uploaded or existing audio (covers, remixes, extensions, stem separation, voice cloning)' and routes those cases to the Abracadabrax music studio. The boundary between this and generation tools is clear, so an agent can decide correctly without guessing.

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