Skip to main content
Glama

Compose music

elevenlabs_compose_music
Read-only

Use this when the user wants a short music track or an instrumental soundtrack from a description. Returns one compact MP3 as base64, with the model and the length. The track is 3000 to 8000 milliseconds. A longer track does not fit in one answer. Do not use for spoken words. Use elevenlabs_text_to_speech for a voiceover. Runs on SingleBrain's account: from 8 credits a call.

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

Input Schema

NameRequiredDescriptionDefault
promptYesWhat the track should sound like, in plain words
modelIdNoOne of: music_v1, music_v2, music_v2_5, defaults to music_v2_5
durationMsNoLength in milliseconds, from 3000 to 8000. Defaults to 8000
instrumentalNoTrue for no vocals. Defaults to true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The annotations only declare safety hints (readOnly, openWorld, not idempotent, non-destructive); the description adds what the annotations cannot: the return payload (one compact MP3 as base64 plus model and length), the duration bounds, and the billing impact ('from 8 credits a call') on SingleBrain's account. Generation is a non-destructive side-effect-free-to-user operation, so readOnlyHint=true is consistent, not contradictory.

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?

The usage trigger and the exclusion are front-loaded, followed by return shape, size limit, and cost. Every sentence carries distinct information, and the short declarative fragments keep the constraints scannable.

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?

There is no output schema, so the description carries the return-value burden and does so fully (base64 MP3, model, length). Combined with the duration ceiling, sibling routing, and cost note, nothing an agent needs to call this correctly is missing.

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 prompt, modelId, durationMs, and instrumental are all already documented in the schema, including the 3000-8000 ms range and the model list. The description restates the length range and implies instrumental via 'no vocals' but adds no new syntax, defaults, or trade-off guidance beyond the schema — baseline 3.

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 and resource — generating a short music track or instrumental soundtrack from a text description — and immediately marks the boundary against spoken-word audio. An agent can distinguish it from elevenlabs_text_to_speech without opening either schema.

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 an explicit when-to-use trigger ('when the user wants a short music track'), an explicit when-not ('Do not use for spoken words'), and names the correct alternative ('Use elevenlabs_text_to_speech for a voiceover'). It also states the hard length ceiling (3000-8000 ms) and explains why longer tracks are not supported, which tells the agent when to decline rather than call.

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.