Skip to main content
Glama

clone_voice

Clone a voice from an authorized audio sample to obtain a reusable voice_id. Provide a clear 10-second speech clip; it transcribes automatically and can be used immediately for TTS.

Instructions

从一段已授权的音频样本克隆音色,返回 voice_id。不需要先有角色或剧目。⚠️ 样本必须是本人/持权人同意授权的声音(否则侵权,与真人/版权门同理)。样本会自动转写出配套文本(零样本克隆需要),10 秒左右清晰人声即可,别用纯音乐/静音。按平台价计费(每个音色一口价)。克隆完可直接 speak_with_voice 试听下载;只有要用它配音出片时,才需要再 set_character_voice 绑到角色。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes音色命名(便于管理)
notesNo备注(可选)
sample_urlNo已上传到 COS 的样本 URL(与 sample_file_path 二选一)
sample_file_pathNo本地授权音频样本路径(mp3/wav/m4a,自动上传;与 sample_url 二选一)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.57

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it does so thoroughly. It reveals the automatic transcription behavior, authorization/legal requirements, sample quality constraints, billing implications (fixed price per voice), and downstream usage dependencies. This is far beyond what the schema alone provides and gives the agent a complete picture of side effects and prerequisites.

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?

The description is moderately long but every sentence earns its place. It front-loads the core action and return value, then layers in prerequisites, constraints, pricing, and downstream usage. The use of bold and a warning marker improves scannability without adding 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 4-parameter tool with no annotations and no output schema, this description is complete. It covers what the tool does, what input is acceptable, what processing will happen, what it costs, what it returns, and how to use it with related tools afterward. No critical operational detail seems missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents name, notes, sample_url, and sample_file_path, including the 'one of' relationship. The description adds useful context about sample content and authorization, but it does not add much parameter-specific semantics beyond the schema. A baseline of 3 is appropriate.

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?

The description states a specific action ('clone a voice from an authorized audio sample'), the returned resource ('voice_id'), and explicitly notes that no prior character or drama is needed. It also distinguishes itself from related tools by naming speak_with_voice and set_character_voice as the next downstream steps. This makes the tool's purpose clear and separable from its siblings.

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?

The description gives explicit when-to-use context: it can be used without an existing character or drama, after cloning you can use speak_with_voice for auditioning/downloading, and set_character_voice is only needed when dubbing to film. It also gives sample requirements and cautions (authorization, ~10 seconds clear voice, no music/silence). This fully routes the agent through the intended workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools