Skip to main content
Glama

Clone Voice

clone_voice

Clone a voice from audio samples (Instant Voice Cloning). Pass name + sampleUrls (public audio URLs; 30s–2min of clean speech works best) and optionally provider (elevenlabs default, cartesia, fish-audio). Returns { voiceId } usable immediately in generate_voice (pass modelId cartesia-sonic-3.6 or fish-audio-tts for cartesia/fish clones). The clone is private to you. Scope required: generate:voice.

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": {
      "name": "<name>",
      "sampleUrls": "<sampleUrls>"
    },
    "name": "clone_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new voice (1–100 characters), saved with it in your library.
languageNoLanguage code for cartesia clones. Default en. Ignored by other providers.
providerNoWho clones the voice. Default elevenlabs. Use the matching voice model in generate_voice (cartesia-sonic-3.6, fish-audio-tts).elevenlabs
sampleUrlsYesPublic URLs of clean speech samples (1–25). cartesia uses only the first one.
descriptionNoOptional note about the voice, sent to the cloning provider (max 500 characters).
removeBackgroundNoiseNoAsk ElevenLabs to remove background noise from the samples. Ignored by cartesia and fish-audio.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"Optional note about the voice, sent to the cloning provider (max 500 characters)."
    • addedInput schema / properties / language / description
      Added value: +"Language code for cartesia clones. Default en. Ignored by other providers."
    • addedInput schema / properties / name / description
      Added value: +"Name for the new voice (1–100 characters), saved with it in your library."
    • addedInput schema / properties / provider / description
      Added value: +"Who clones the voice. Default elevenlabs. Use the matching voice model in generate_voice (cartesia-sonic-3.6, fish-audio-tts)."
    • addedInput schema / properties / removeBackgroundNoise / description
      Added value: +"Ask ElevenLabs to remove background noise from the samples. Ignored by cartesia and fish-audio."
    • addedInput schema / properties / sampleUrls / description
      Added value: +"Public URLs of clean speech samples (1–25). cartesia uses only the first one."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that the clone is private to the caller, the required OAuth scope (generate:voice), the return shape ({ voiceId }) despite no output schema, and provider-specific quirks (cartesia uses only the first sample, cartesia/fish ignore noise removal). Annotations already mark it non-destructive and open-world; the description adds the access-control and side-effect context they lack.

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 action and required inputs, then layers provider guidance and the follow-up call. Dense but nearly every clause carries information; the parenthetical model list is repeated from the provider parameter description, which is mild redundancy.

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 6-parameter mutation tool with no output schema, the description covers the return value, privacy/ownership, required scope, sample quality requirements, and the handoff to generate_voice. Nothing an agent needs to call this correctly appears 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 baseline is 3; the description adds real value on sampleUrls by stating the 30s–2min clean-speech guideline and provider behavior, and reinforces provider choice with the matching voice model. It duplicates some schema content (defaults, enum options) rather than extending it further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Clone a voice from audio samples") and names the technique (Instant Voice Cloning). It clearly separates itself from generate_voice by telling the agent this produces a voice usable there, though it never distinguishes itself from design_voice or voice_changer, which an agent must infer.

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?

Gives concrete usage conditions: pass name + sampleUrls, 30s–2min of clean speech works best, public URLs required, and provider selection with defaults. It also states the downstream step (use the clone in generate_voice with a matching modelId), but offers no exclusion like "use design_voice if you have no samples."

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.