Skip to main content
Glama
elevenlabs

ElevenLabs MCP Server

Official
by elevenlabs

create_composition_plan

Read-only

Create a structured music composition plan from a prompt to guide AI music generation. Optionally set duration or base on a source plan.

Instructions

Create a composition plan for music generation. Usage of this endpoint does not cost any credits but is subject to rate limiting depending on your tier. Composition plans can be used when generating music with the compose_music tool.

Args:
    prompt: Prompt to create a composition plan for
    music_length_ms: The length of the composition plan to generate in milliseconds. Must be between 10000ms and 300000ms. Optional - if not provided, the model will choose a length based on the prompt.
    source_composition_plan: An optional composition plan to use as a source for the new composition plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
music_length_msNo
source_composition_planNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
positive_global_stylesYes
negative_global_stylesYes
sectionsYes
Behavior1/5

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

Description states it creates a plan, implying mutation, while annotation readOnlyHint=true suggests a read operation. Therefore, it contradicts annotations and fails to disclose behavioral traits accurately.

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, followed by parameter list. Some extraneous information (rate limiting) but overall efficient. Could be slightly more concise.

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?

Covers all parameters, cost implications, and relationship to compose_music. Output schema exists so return values are not needed. Does not explain the complex nested structure of source_composition_plan, but schema covers that.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds meaningful descriptions for all three parameters beyond the bare schema: prompt semantics, music_length_ms range and optionality, source_composition_plan purpose. Schema coverage is 0%, so description compensates fully.

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?

Clearly states it creates a composition plan for music generation, with specific verb and resource. Distinguishes from sibling compose_music by mentioning that plans are used with it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides context on cost (no credits) and rate limiting, and explicitly links to compose_music tool. Lacks explicit when-not-to-use guidance but implies usage for plan generation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elevenlabs/elevenlabs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server