Skip to main content
Glama

ElevenLabs MCP Server

compose_music

Generate music from text prompts or composition plans and save the audio file to a specified directory. This tool converts descriptive input into musical compositions using ElevenLabs' audio generation technology.

Instructions

Convert a prompt to music and save the output audio file to a given directory. Directory is optional, if not provided, the output file will be saved to $HOME/Desktop.

Args: prompt: Prompt to convert to music. Must provide either prompt or composition_plan. output_directory: Directory to save the output audio file composition_plan: Composition plan to use for the music. Must provide either prompt or composition_plan. music_length_ms: Length of the generated music in milliseconds. Cannot be used if composition_plan is provided. ⚠️ COST WARNING: This tool makes an API call to ElevenLabs which may incur costs. Only use when explicitly requested by the user.

Input Schema

NameRequiredDescriptionDefault
composition_planNo
music_length_msNo
output_directoryNo
promptNo

Input Schema (JSON Schema)

{ "properties": { "composition_plan": { "anyOf": [ { "$ref": "#/$defs/MusicPrompt" }, { "type": "null" } ], "default": null }, "music_length_ms": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Music Length Ms" }, "output_directory": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Output Directory" }, "prompt": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Prompt" } }, "type": "object" }

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/projectservan8n/elevenlabs-mcp'

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