Skip to main content
Glama

Clone a Voice

clone_voice

Enroll a custom cloned voice from an audio sample (async). Requires a Pro or active 7-day pass key. Provide exactly one of audio_base64 or audio_url (https). Sample limits: 10 MB max upload; wav, mp3 or m4a; a 10–30 second clean single-speaker recording (enrollment rejects clips shorter than 10 or longer than 30 seconds; trim longer recordings first). Account limits: maximum 3 cloned voices, 5 enrollments per day. Returns a voice_id with status "enrolling" — check list_voices until its status is "ready" (there is no job to poll), then use it in text_to_speech (Pro or active 7-day pass), create_podcast (Pro key), or POST /api/v1/audio/speech (REST, same key).

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for the cloned voice.
consentYesRequired attestation: you confirm you have the recording rights to this audio sample. The server rejects anything but an explicit true.
audio_urlNohttps URL to the audio sample — fetched server-side, same 10 MB bound.
mime_typeNoSample MIME type — wav, mp3 and m4a are accepted (the server enforces the exact allowlist).audio/wav
audio_base64NoBase64-encoded audio sample (10 MB max decoded).

Output Schema

NameRequiredDescriptionDefault
statusYes
voice_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing hard account limits (3 cloned voices, 5 enrollments/day) and sample limits (10 MB, wav/mp3/m4a, 10–30s single-speaker). Critically, it explains the async contract — returns status 'enrolling' and there is no job to poll — which prevents an agent from wrongly reaching for get_job_status.

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?

Front-loads the verb and resource, then constraints, then the follow-up workflow — a logical order with no filler. It is dense and stacks several parentheticals into one paragraph, which slightly hurts scanability, but essentially every clause carries actionable information.

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?

For a mutating, rate-limited, async tool with an output schema, the description covers prerequisites, input constraints, limits, and the post-call polling path. Return values are partly described anyway (voice_id, status 'enrolling'), leaving nothing an agent needs 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 100%, so the baseline is 3; the description earns a 4 by adding acceptance constraints the schema does not state, notably the 10–30 second duration window and single-speaker cleanliness, which determine whether enrollment succeeds. The oneOf XOR is restated rather than added, but the format and size guidance is genuinely new.

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?

States a specific verb and resource ('Enroll a custom cloned voice from an audio sample') plus the async nature in the first clause. It is unmistakable against siblings like list_voices and text_to_speech, which are named only as downstream consumers.

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

Usage Guidelines5/5

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

Explicitly states the gating conditions (Pro or active 7-day pass key), the input requirement (exactly one of audio_base64 or audio_url), and the full workflow after enrollment (poll list_voices, then use in text_to_speech, create_podcast, or the REST endpoint). It effectively tells the agent when this tool applies and what to do next.

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.

Resources