Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-elevenlabs

by AIWerk

text_to_dialogue

Convert multi-voice text into audio dialogue with ElevenLabs, generating speech with up to 10 unique voice IDs and returning MP3 bytes.

Instructions

Text To Dialogue (Multi-Voice) Spends ElevenLabs credits. Returns audio/mpeg bytes; pass output_path to save them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNo
inputsYesA list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can te
model_idNoIdentifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property.
settingsNo
output_pathNoWhere to write the returned bytes. Relative paths resolve against ELEVENLABS_OUTPUT_DIR. Omit it to get the data inline as base64 (small files only).
language_codeNo
output_formatNoOutput format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be
enable_loggingNoWhen enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.
apply_text_normalizationNoThis parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
pronunciation_dictionary_locatorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations (which only mark it non-readonly/openWorld/non-idempotent/non-destructive), the description adds genuinely useful behavior: it consumes ElevenLabs credits and returns audio/mpeg bytes, with the output-saving mechanism surfaced. These are not derivable from the annotations and directly guide correct invocation.

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?

Two tightly packed sentences with no filler, and the credit-cost warning is front-loaded. It is efficient though perhaps too terse given the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter tool with no output schema, the description valuably names the return type, but it omits sibling differentiation, stream-vs-full guidance, and any hint at the input constraints (max 10 voices, character limits) that live only in the schema.

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 60% and the description only touches output_path semantics, which the schema already documents. It adds no meaning for the voice-ID inputs, model, settings, or output_format parameters, so the baseline of 3 is appropriate with the schema doing most of the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific transformation (text to multi-voice dialogue) that names the resource and scope. It does not, however, distinguish this base variant from the several sibling variants (text_to_dialogue_stream, text_to_dialogue_full_with_timestamps, text_to_dialogue_stream_with_timestamps), which an agent must choose between.

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

Usage Guidelines2/5

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

The only usage context is an implicit 'multi-voice' cue plus a cost warning that it spends credits. There is no statement of when to use this versus the streaming or timestamped siblings, and no exclusions or prerequisites.

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

Deploy Server

Other Tools