Skip to main content
Glama

Clone voice

clone_voice
Destructive

Create a private clone of the user's own voice, or of a speaker who explicitly permitted it, for speech generation. Voices here are made on Fish Audio and speak with speech/fish-drama-3; Cartesia and ElevenLabs cloning are not offered on this server.

Call it without audio_asset_id or audio_url when the user has no recording file yet, and omit consent then: the result gives the consent statement to quote, the upload routes and the account's voice limits; nothing is cloned or charged. With a file, pass audio_asset_id (a private recording uploaded with purpose voice_clone) or audio_url (a publicly downloadable audio file, copied into private storage first). Pass character_id to save the voice on an existing Character (a Character keeps one clone; a new one replaces it after the user confirms), or character_name for a new voice-only Character.

With a file, consent is required: set it to true only after the user agreed to the quoted consent statement, confirming the recording is their own voice or that the speaker explicitly permitted cloning it and generating speech, and never infer it from having a recording. Recordings stay private and are converted to mono MP3, capped at 2 minutes, before cloning; one to two minutes of clean solo speech works best, at least 5 seconds is required. Cloning is free; how many cloned voices an account keeps depends on its credit purchases. The result's characterId selects this voice: generate_speech({ model: "speech/fish-drama-3", character_id, text }).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clone_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
consentNoPass only with audio_asset_id or audio_url, as true after the user agreed to the consent statement: the recording is their own voice or the speaker explicitly permitted cloning and speech generation. Omit it when calling without a recording.
languageNoSource recording language code, such as en, es, or he.en
providerNoVoice provider. Here only fish is connected and it is the default; providers are never switched silently, so cartesia or elevenlabs is refused.fish
audio_urlNoA publicly downloadable audio link. The original bytes are copied into this account's private voice storage before cloning. Private-network targets and non-audio files are rejected. Prefer audio_asset_id when the recording is already privately uploaded.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
character_idNoExisting Character to receive the cloned voice. Omit to create a reusable voice-only Character automatically.
audio_asset_idNoPrivate voice recording ID from an upload with purpose voice_clone. Public media assets cannot be used.
character_nameNoName for an automatically created voice-only Character. Used only when character_id is omitted; defaults to "My Voice".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds substantial context beyond them: cloning is free, recordings stay private and are converted to mono MP3 capped at 2 minutes with a 5-second minimum, an existing Character holds only one clone and a new clone replaces it after user confirmation, and account voice limits depend on credit purchases. These are the operational consequences an agent cannot get from the annotations or schema.

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?

Purpose is front-loaded in the first sentence, followed by the no-file branch, the with-file branch, and consent rules in a logical order. It is long for a tool description and a few clauses (provider refusal, storage/transcoding detail) repeat ground already covered by the schema, but nearly every sentence carries decision-relevant 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 an 8-parameter destructive tool with no output schema, the description covers the consent gate, privacy and audio preprocessing limits, cost, Character replacement semantics, and even the shape of the result (consent text, upload routes, voice limits, characterId) plus how to use that characterId in generate_speech. Nothing essential to calling it correctly 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 100%, so the baseline is 3, but the description adds genuine meaning: it explains consent's semantics (only true after the user agrees to the quoted statement, never inferred), the preference for audio_asset_id over audio_url, and the replacement behavior implied by character_id. It omits any mention of language or skills_used, which are left entirely to the schema.

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 ('Create a private clone of the user's own voice... for speech generation') and bounds the scope by naming the provider used (Fish Audio, speech/fish-drama-3) and the providers refused. It does not explicitly contrast with the sibling design_voice, so the agent must infer that distinction, but the operation itself is unmistakable.

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 branches: call without audio_asset_id/audio_url when no recording exists (no clone, no charge), call with one of them when a file is available, and pass character_id vs character_name depending on whether an existing Character should receive the voice. It also states the consent precondition and forbids inferring consent, which is exactly the when-not guidance an agent needs.

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.