Skip to main content
Glama

text_to_speech

Convert text to natural speech with customizable voice, model, and audio settings. Saves the generated audio file to your specified location.

Instructions

Convert text to natural speech using ElevenLabs' industry-leading TTS. Saves audio file to disk. Trigger: 'elevenlabs tts', 'elevenlabs speak', or 'elevenlabs text to speech'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text to convert to speech
voiceNoVoice name (e.g., "Rachel", "Adam", "Bella") or voice ID. Use list_voices to see options.Rachel
modelNoTTS model: "eleven_multilingual_v2" (default, 29 languages), "eleven_v3" (latest), "eleven_turbo_v2_5" (fast), "eleven_flash_v2_5" (ultra-fast)
stabilityNoVoice stability (0.0-1.0). Lower = more expressive, higher = more consistent. Default: 0.5
similarity_boostNoVoice clarity/similarity (0.0-1.0). Higher = closer to original voice. Default: 0.75
styleNoStyle exaggeration (0.0-1.0). Higher = more expressive delivery. Default: 0
speedNoSpeech speed (0.25-4.0). Default: 1.0
output_formatNoAudio format: "mp3_44100_128" (default), "mp3_44100_192", "pcm_44100", "pcm_24000", "pcm_16000"
save_pathNoFile path to save the audio. If not provided, auto-saves to output directory.
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It mentions 'Saves audio file to disk' but lacks details on side effects (e.g., file overwrite behavior, network dependency, rate limits) and does not state whether the operation is read-only or destructive.

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?

The description is two sentences long and front-loaded with the core purpose. The trigger phrases in the second sentence are somewhat redundant but do not harm clarity.

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?

Given 9 parameters and no output schema, the description is adequate but missing return value info (e.g., whether it returns the saved file path), error handling, or file type details beyond what the schema provides.

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 the baseline is 3. The description adds no extra parameter meaning beyond the schema; it does not explain how parameters affect output or provide examples.

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 'Convert text to natural speech' and 'Saves audio file to disk', which distinguishes it from siblings like clone_voice, generate_music, or transcribe. The verb 'convert' and resource 'text' to 'speech' is specific.

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

Usage Guidelines3/5

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

The description provides trigger phrases for activating the tool but does not explicitly state when to use this tool versus alternatives like speech_to_speech or sound_effects. Usage context is implied but not explicitly guided.

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/wynandw87/claude-code-elevenlabs-mcp'

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