Skip to main content
Glama
ahamed-kashif

text-to-speech

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TTS_OUTPUT_DIRNoWhere MP3s are written when no output_path is given./output
TTS_MAX_RETRIESNoMax synthesis attempts before failing3
TTS_DEFAULT_LANGNoDefault language codeen
TTS_RETRY_BACKOFFNoBase backoff seconds (1s, 2s, 4s, …)1.0
TTS_DEFAULT_ACCENTNoDefault accent TLDcom

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
text_to_speechA

Convert text into spoken audio (MP3) using Google TTS (gTTS).

Args:
    text: The text to speak. Required, must be non-empty.
    language: Language code such as "en", "bn", "es". Defaults to "en".
    slow: Speak more slowly when True.
    accent: Google domain TLD controlling accent for some languages,
        e.g. "com" (US), "co.uk" (UK), "com.au" (AU), "co.in" (India).
    output_path: Where to write the MP3. If omitted, a timestamped file
        is created under the configured output directory.

Returns:
    A human-readable status string including the saved file path, or an
    "Error: ..." message describing what went wrong.
list_languagesA

List the language codes and names supported for text_to_speech.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/ahamed-kashif/tts-mcp-server'

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