Skip to main content
Glama

Speak text

elevenlabs_text_to_speech
Read-only

Use this when the user asks to hear text spoken aloud or wants a voiceover for a short script. Returns MP3 audio as a download URL by default, with the voice, model and character count. The URL carries a signed access query param, so OAuth hosts can fetch it without Bearer. Text may be at most 1000 characters; split longer copy across calls and pass previousText or nextText so each part flows. Set audioAs to base64 only when the client cannot fetch a URL. Runs on SingleBrain's account: from 1 credit a call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "voiceId": "<voiceId>",
      "text": "<text>"
    },
    "name": "elevenlabs_text_to_speech"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoOptional seed from 0 to 4294967295 for a repeatable take
textYesThe words to speak, at most 1000 characters
speedNoSpeech speed from 0.25 to 4; 1 is normal
styleNoStyle exaggeration from 0 to 1
audioAsNoReturn audioUrl (default) or inline audioBase64
modelIdNoOne of: eleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_monolingual_v1, eleven_v3, eleven_v4, eleven_v4_turbo, defaults to eleven_flash_v2_5
voiceIdYesVoice id from elevenlabs_list_voices
nextTextNoWords spoken after this chunk, for continuity when splitting a script
stabilityNoVoice stability from 0 to 1
outputFormatNoElevenLabs output_format, like mp3_22050_32 or mp3_44100_128
previousTextNoWords spoken before this chunk, for continuity when splitting a script
similarityBoostNoSimilarity boost from 0 to 1
useSpeakerBoostNoBoost similarity to the original speaker

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses the return shape (MP3 download URL with voice, model, and character count), that the URL carries a signed query param so OAuth hosts can fetch without a Bearer token, the 1000-character ceiling, and the per-call credit cost. That is exactly the operational context annotations cannot express.

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?

Six tight sentences with the trigger front-loaded and each subsequent sentence covering return format, auth, limits, fallback, and cost — no filler. It is dense but nearly every clause carries information an agent needs before calling.

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

Completeness5/5

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

With 13 parameters and no output schema, the description compensates by describing the response payload, the auth workaround, the length limit, and the credit cost. Nothing material for a correct invocation is missing.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, but the description adds real meaning: audioAs=base64 is framed as a fallback for clients that cannot fetch a URL, and previousText/nextText are explained as continuity links when a script is split. Those are usage semantics the schema only gestures at.

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 opens with a concrete trigger and a specific verb+resource: turn text into spoken audio for a user who wants to hear it or needs a voiceover for a short script. That is clearly distinguishable from sibling music generation and voice-listing tools without inspecting any schema.

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?

It states the use case explicitly and even gives a negative condition for audioAs (base64 only when the client cannot fetch a URL) plus guidance to split long copy across calls with previousText/nextText. It does not name a sibling alternative, but the trigger is specific enough that an agent will not misroute it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.