Skip to main content
Glama

tool_synthesize_speech

Turn text into natural-sounding speech using a cloned voice or custom voice design, with optional ASMR effects for immersive listening.

Instructions

Generate speech audio with a cloned voice (from voice_name) OR voice design (from instruct), or both.

Three usage modes:

  1. Cloned voice: pass voice_name='claudia_asmr', omit instruct.

  2. Voice design: pass instruct='whisper, female, low pitch', omit voice_name.

  3. Hybrid: pass both voice_name AND instruct to add style to a cloned voice.

Returns dict with: output_path, duration_s, sample_rate, channels, model, voice_name, generation_time_s, and (if any ASMR effect ran) asmr_applied.

ASMR pipeline: highpass(60Hz) -> lowpass -> stereo_pan -> reverb -> binaural -> padding. All ASMR params default to OFF (passthrough). Output is stereo whenever any stereo-capable effect (stereo_pan, reverb, binaural_beat_hz) is active.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to speak. Use punctuation (. ? !) for natural pauses; combine with silence_padding_ms for ASMR-style long pauses between sentences.
speedNoSpeech rate factor. 1.0 = normal. <1 = slower (ASMR-like), >1 = faster.
reverbNoReverb mode: 'none' (off), 'small_room' (ASMR-tight, ~18% mix, HF-damped), 'large_room' (spacious, longer tail). None = off. Default = off.
instructNoVoice design keywords (OmniVoice specific, case-sensitive, English OR Chinese, comma+space separated, NEVER mix). Examples: English: 'whisper, female, low pitch' (ASMR sweet spot) English: 'male, young adult, british accent' Chinese (full-width comma ,): '女,低音调,耳语' See README §'Voice design keywords' for the full list of 22+ accepted keywords. Combine with voice_name to add style to a cloned voice.
languageNoTarget language for synthesis. Default: 'Italian'. OmniVoice supports 600+ languages. Common: 'English', 'Italian', 'French', 'German', 'Spanish', 'Japanese', 'Chinese', 'Korean'.Italian
num_stepNoDiffusion steps. Higher = better quality, slower. 32 (default) is a good balance. 16 for fast drafts, 64 for production quality.
period_sNoPeriod in seconds for L<->R/L->R/R->L panning modes. ASMR sweet spot: 2.0-3.0s. Ignored if stereo_pan is None or 'center'/'L'/'R'.
stereo_panNoStereo panning mode for ASMR. One of: 'center' (mono -> stereo, equal L/R), 'L' (hard left, R muted), 'R' (hard right, L muted), 'L<->R' (alternating L/R, ASMR 'whisper in each ear' effect, sweet spot period_s=2-3s), 'L->R' (slow sweep L to R then back, sawtooth), 'R->L' (slow sweep R to L then back, sawtooth). None = no panning (passthrough).
voice_nameNoSaved voice name from a prior clone_voice_from_audio call (e.g. 'claudia_asmr'). Optional: omit to use only voice design via 'instruct'.
output_pathNoOutput WAV path. Default: 'mcp_voice_studio/data/outputs/synth_<timestamp>.wav'. For long ASMR tests use a stable path like '/home/.../outputs/asmr_test.wav'.
guidance_scaleNoClassifier-free guidance scale. 2.0 default. Higher = more prompt-faithful.
reverb_dampingNoReverb HF damping 0..1. 0 = classic Schroeder (metallic ring at high reverb). 0.5 (default) = soft HF rolloff in reverb tail, recommended. 1.0 = heavy damping (dark tail). Ignored if reverb is None or 'none'.
binaural_beat_hzNoBinaural beat frequency in Hz (L channel = 200Hz carrier, R channel = 200Hz+beat). 0 = off (default, RECOMMENDED for clean output). Perceived as brainwave entrainment: 4-8 Hz = theta-alpha (sleep/relax), 10-15 Hz = alpha-beta (focus), 15-40 Hz = beta (alert). Carrier amplitude is fixed at 0.0005 (-66dBFS, sub-audible).
lowpass_cutoff_hzNoLowpass cutoff in Hz for warmth/intimacy. 0 = off. ASMR sweet spot: 5000-7000 Hz (cuts above 7kHz for 'headphones' feel).
highpass_cutoff_hzNoHighpass cutoff in Hz for DC/sub-bass cleanup. Default = 60 Hz (always on). 0 = off. ASMR standard: 60-80 Hz to remove room rumble without affecting voice.
silence_padding_msNoMilliseconds of silence inserted between sentences (split on . ? !). Position is weighted by sentence length. 0 = off. ASMR sweet spot: 400-800 ms.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations available, the description carries the behavioral transparency burden, and it does so well: it discloses the ASMR pipeline order, default passthrough behavior, when output becomes stereo, and the exact return dict fields. It slightly overstates by saying 'All ASMR params default to OFF' when highpass_cutoff_hz defaults to 60 Hz (always on), which is a minor accuracy gap.

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 well-structured with clear sections: purpose, three usage modes, return value, and pipeline. It is dense but every sentence contributes useful information, and the most important decision (which mode to use) is front-loaded.

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

Completeness4/5

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

For a 16-parameter tool with no output schema, the description is unusually complete: it explains usage modes, return contents, effect pipeline, and stereo behavior. The main gap is that it never explicitly states that voice_name, instruct, or both are effectively required, despite the schema only listing text as required. This could lead an agent to attempt a call with only text.

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 description coverage is 100%, so the baseline is 3. The description adds genuine semantic value beyond the schema by explaining how voice_name and instruct interact in the hybrid mode, how the ASMR pipeline orders effects, and when stereo output is triggered. This goes beyond the individual parameter descriptions.

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 specific, action-oriented statement: 'Generate speech audio with a cloned voice OR voice design, or both.' It clearly identifies the resource (speech audio) and the two primary input sources, and the three usage modes make it easy to distinguish this synthesis tool from sibling tools like clone_voice_from_audio or design_voice.

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?

The three usage modes provide explicit, actionable instructions: pass voice_name only, pass instruct only, or pass both. It also references voice_name coming from a prior clone_voice_from_audio call, which helps route the workflow. However, it does not explicitly name sibling alternatives or say when not to use this tool, so it stops short of full when-vs-alternatives guidance.

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

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/jagones84/mcp-voice-studio'

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