Skip to main content
Glama

elevenlabs_text_to_speech

Transform text into natural speech using ElevenLabs voices. Outputs base64-encoded audio for AI agent workflows.

Instructions

Convert text to speech with a selected ElevenLabs voice. Returns base64-encoded audio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYes
voice_idYes
textYesText to synthesize (max 5000 characters)
model_idNoElevenLabs model ID (default: eleven_monolingual_v1)
output_formatNomp3_44100_128, pcm_16000, etc. (default: mp3_44100_128)
stabilityNo0.0-1.0 (default: 0.5)
similarity_boostNo0.0-1.0 (default: 0.75)
styleNo0.0-1.0 style exaggeration
use_speaker_boostNo
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the output format (base64 audio) but does not disclose rate limits, authentication requirements, or potential side effects (e.g., cost per character). The description is insufficient for a tool with external API calls.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with only two sentences, front-loading the action and output format. No extraneous information.

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

Completeness2/5

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

Given 9 parameters, no output schema, and no annotations, the description is too sparse. It doesn't explain how to obtain a voice_id, doesn't mention the need for an API key, and doesn't clarify the structure of the base64 output. The tool is complex but the description is minimal.

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

Parameters2/5

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

The description adds no parameter semantics beyond what is in the input schema. The schema already covers 6 of 9 parameters with descriptions (67% coverage). The description does not explain parameter relationships or provide guidance on picking voice_id or model_id.

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 the action ('Convert text to speech'), the resource ('selected ElevenLabs voice'), and the output format ('Returns base64-encoded audio'). It distinguishes itself from sibling tools like elevenlabs_list_voices or elevenlabs_get_voice by specifying the conversion functionality.

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?

No guidance is provided on when to use this tool versus alternatives like elevenlabs_get_voice or elevenlabs_get_history. There is no mention of prerequisites (e.g., need for a valid voice_id from list_voices) or context for choosing models or parameters.

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/malamutemayhem/unclick'

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