Skip to main content
Glama

Clone Voice

beatra.voices.clone
Idempotent

Clone a voice from a clean single-speaker sample. By default the clone is charged once and the voice is ready for speech as soon as the task succeeds. Set preview_first=true to hear it before paying: the clone and a short fixed preview are free, the voice waits (status pending_activation) up to 3 days, and one beatra.voices.activate call charges the clone price and makes it ready; a preview that is not activated is deleted automatically. Offer preview_first when the user asks to hear the voice before paying, or when a paid clone is refused for insufficient balance and the refusal offers it. Call only after the user explicitly confirms they have the rights to clone it, and set consent_attested=true. This call consumes Beatra credits unless preview_first=true. It creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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": {
      "sample": "<sample>",
      "display_name": "<display_name>",
      "consent_attested": "<consent_attested>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.voices.clone"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoClone engine. Omit unless the user explicitly asks for a specific clone engine; 'auto' (the default) lets the platform choose.auto
genderNoOptional speaker gender tag (male, female, or neutral); inferred automatically when omitted and unambiguous.
promptNoOptional short aligned excerpt: audio shorter than 8 seconds plus its verbatim transcript. Used only by models whose card sets prompt_accepted=true; other models ignore it and return an option_ignored warning.
sampleYesClean single-speaker voice sample (uploaded artifact or HTTPS URL), ~10s-5min
personaNoOptional short description of timbre, pace, and character (up to 200 characters).
languageNoOptional BCP-47 language hint for the cloned voice
use_caseNoOptional recommended scenarios for this cloned voice (up to 5 items).
age_groupNoOptional speaker age group (child, youth, adult, or senior); inferred automatically when omitted and unambiguous.
display_nameYes
model_optionsNoModel-specific options. Only keys listed in the selected model's card controls (beatra.models.list) are used; leave it unset in normal use.
preview_firstNoOptional. true: hear the voice before paying. The clone and a short fixed preview are free; the voice waits (status pending_activation) up to 3 days until beatra.voices.activate charges the model's clone price once, and it is deleted automatically if not activated. Omit it for the normal clone, charged once and ready at once. Supported by minimax-voice-clone and elevenlabs-voice-clone (and auto). At most 3 previews started per account per UTC day and 5 waiting at once. Set language to the sample's spoken language so the fixed preview sentence matches it.
consent_attestedYesCaller asserts it has the rights to clone this voice. Recorded, not verified.
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "auto",
      -  "minimax-voice-clone",
      -  "doubao-voice-clone-2.0",
      -  "elevenlabs-voice-clone"
      -]New value: +[
      +  "auto",
      +  "minimax-voice-clone",
      +  "elevenlabs-voice-clone"
      +]
    • changedInput schema / properties / model_options / description
      Previous value: -"Only for model doubao-voice-clone-2.0: {\"doubao\": {...}} with the model_options.doubao keys its clone card lists in controls. Ignored for every other model."New value: +"Model-specific options. Only keys listed in the selected model's card controls (beatra.models.list) are used; leave it unset in normal use."
    • addedInput schema / properties / preview_first
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional. true: hear the voice before paying. The clone and a short fixed preview are free; the voice waits (status pending_activation) up to 3 days until beatra.voices.activate charges the model's clone price once, and it is deleted automatically if not activated. Omit it for the normal clone, charged once and ready at once. Supported by minimax-voice-clone and elevenlabs-voice-clone (and auto). At most 3 previews started per account per UTC day and 5 waiting at once. Set language to the sample's spoken language so the fixed preview sentence matches it.",
      +  "title": "Preview First"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, idempotent, non-destructive open-world call; the description goes well beyond that by disclosing credit consumption, asynchronous task creation, the 3-day pending_activation wait, and automatic deletion of unactivated previews. It stops short of describing the return payload or what a task result contains, but that is partly covered by the output 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?

Front-loaded with purpose and the default behavior, then the preview path, then guardrails — a logical order with no filler sentences. It is somewhat long and restates preview_first mechanics that also appear at length in the schema description, so a small amount of duplication could be trimmed.

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 13-parameter, billable, asynchronous, consent-gated operation, the description covers cost, async lifecycle, polling, consent, retry identity, and the preview alternative, while annotations and the output schema carry safety and return-shape details.

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 92%, so the baseline is 3, but the description adds cross-parameter workflow meaning: the preview_first → beatra.voices.activate handoff, the consent_attested attestation requirement, and reuse of client_request_id only for an identical retry. These tie individual parameters to a billing/idempotency contract rather than restating their field docs.

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 ('Clone a voice from a clean single-speaker sample') and immediately differentiates the two operating modes (immediate paid clone vs. preview-then-activate). An agent can tell this apart from beatra.voices.activate or beatra.voices.preview without opening any schema.

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 names when to offer preview_first ('when the user asks to hear the voice before paying, or when a paid clone is refused for insufficient balance'), sets a hard precondition (user confirms rights, consent_attested=true), and routes the agent forward: submit once, then poll with beatra.tasks.get.

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