Skip to main content
Glama

Clone a voice onto a Character

clone_voice
Destructive

Use when the user wants a Character to speak in a real person's voice, from a recording of that person. 300 credits per clone (MiniMax); then generate_speech with character speaks in it at the usual speech price. Needs 10 s to 5 min of clear speech, alone (30-60 s is best): get it with get_upload_url + confirm_upload, import_media, or a link. Only for the user's own voice or one they have the speaker's permission to clone: ask first, and pass their words as consent_statement. Returns the Character with a spoken preview.

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": {
      "character": "<character>",
      "audio_url": "<audio_url>",
      "consent": "<consent>",
      "consent_statement": "<consent_statement>"
    },
    "name": "clone_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
consentYesTrue only after the user confirms the voice is theirs, or that the speaker gave permission, and the speaker isn't a minor or a public figure.
audio_urlYesThe recording: upload url, media url, library url or public link.
characterYesName or id; a new Character with this name is created if none exists.
preview_textNoWhat the preview says (optional, under 500 characters).
consent_statementYesThe user's own words confirming it, e.g. 'This is my voice' or 'My co-founder Sam agreed to this'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: 300-credit cost per clone, the distinct speech price afterwards, audio quality constraints, the consent/permission requirement, and a described return ('the Character with a spoken preview'). The annotations already declare destructiveHint=true and openWorldHint=true, but the description never explains what is destructive — notably whether an existing voice on a same-named Character is replaced. That single omission keeps it from a 5.

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?

Front-loaded with the trigger, then cost, then prerequisites, then the consent rule, then the return value — a sensible decision order for an agent. Parenthetical asides (MiniMax, 30-60 s best) are short and informative rather than filler.

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 5-param, non-idempotent, credit-spending tool with no output schema, the definition covers trigger, cost, input quality, how to source the input, legal/consent preconditions, return value, and follow-on usage. Only the overwrite/duplicate-Character behavior is left unstated, which is minor relative to what is covered.

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 still adds value by enumerating acceptable audio_url sources ('a link', upload url, media) and by instructing that the user's own words be passed as consent_statement, which clarifies the intent of a field the schema only describes generically.

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' onto a Character) and frames the trigger condition ('when the user wants a Character to speak in a real person's voice'). It also distinguishes this from generate_speech, which is named as the downstream consumption step, so an agent can tell the two apart without opening schemas.

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?

Gives explicit when-to-use conditions, the prerequisite audio spec (10 s to 5 min, alone, 30-60 s preferred), three concrete acquisition paths (get_upload_url + confirm_upload, import_media, or a link), and a mandatory consent gate with 'ask first'. Alternatives are effectively routed by naming the upstream and downstream sibling tools.

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.