Skip to main content
Glama
elevenlabs

ElevenLabs MCP Server

Official
by elevenlabs

video_to_music

Read-only

Generate background music for one or more video files. Optionally customize the music style with a description and tags.

Instructions

Generate background music for one or more video files. Saves output file to directory (default: $HOME/Desktop).

The videos are concatenated server-side in the order provided; the generated score targets the combined duration. Constraints: 1-10 videos per call, combined size <= 200 MB, combined duration <= 600 seconds.

Args:
    input_file_paths: Paths to the video files. Order is preserved.
    description: Optional natural-language direction for the music (e.g. "Build suspense, then resolve with a warm cinematic finish.").
    tags: Optional list of up to 10 short style cues (e.g. ["cinematic", "suspenseful", "uplifting"]).
    model_id: Which music model to use. One of "music_v1" or "music_v2". Defaults to "music_v2".
    output_directory: Directory to save the generated audio file. Defaults to $HOME/Desktop.

⚠️ COST WARNING: This tool makes an API call to ElevenLabs which may incur costs. Only use when explicitly requested by the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_file_pathsYes
descriptionNo
tagsNo
model_idNomusic_v2
output_directoryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

Description claims the tool generates and saves output files, contradicting the readOnlyHint=true annotation which implies no side effects. This is a serious inconsistency. Additionally, no mention of permission needs or reversibility.

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?

Well-structured: purpose, output location, constraints, args list, then cost warning. Concise but informative; slight redundancy in repeating default output directory.

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 constraints, parameters, output, and cost. However, the annotation contradiction reduces completeness in behavioral transparency. Output schema exists so return values are handled.

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?

With 0% schema coverage, the description thoroughly explains all 5 parameters: input_file_paths (order preserved), description, tags (max 10), model_id (enum with defaults), output_directory. Adds meaning beyond schema.

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 clearly states 'Generate background music for one or more video files' with explicit constraints and output location, distinguishing it from sibling tools like compose_music or text_to_sound_effects.

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 explicit constraints (1-10 videos, size/duration limits) and a cost warning indicating when to use ('Only use when explicitly requested by the user'), though no explicit alternative tools are mentioned.

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