Skip to main content
Glama

voice_clone

Create a custom voice clone using audio files for text-to-speech applications. Provide an audio sample and text to generate a personalized voice model.

Instructions

Clone a voice using provided audio files. The new voice will be charged upon first use.

COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.

 Args:
    voice_id (str): The id of the voice to use.
    file (str): The path to the audio file to clone or a URL to the audio file.
    text (str, optional): The text to use for the demo audio.
    is_url (bool, optional): Whether the file is a URL. Defaults to False.
    output_directory (str): The directory to save the demo audio to.
Returns:
    Text content with the voice id of the cloned voice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
voice_idYes
fileYes
textYes
output_directoryNo
is_urlNo
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses critical behavioral traits: cost implications ('charged upon first use', 'may incur costs'), and the return format ('voice id of the cloned voice'). However, it doesn't mention rate limits, authentication requirements, error conditions, or what happens if the voice_id already exists.

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?

The description is appropriately sized and well-structured with purpose statement, cost warning, parameter explanations, and return value - all in logical order. Every sentence adds value. Minor improvement could be front-loading the return information more prominently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter mutation tool with no annotations and no output schema, the description does reasonably well covering parameters and basic behavior. However, it lacks details about error handling, rate limits, authentication needs, and what constitutes valid audio files. The cost warning is helpful but doesn't specify magnitude or billing 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?

With 0% schema description coverage, the description compensates well by explaining all 5 parameters in the Args section. It clarifies that 'file' can be a path or URL, 'is_url' defaults to False, 'text' is for demo audio, and 'output_directory' is for saving. The only gap is not explaining the purpose of 'voice_id' beyond 'id of the voice to use'.

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?

The description clearly states the action ('Clone a voice') and resource ('using provided audio files'), making the purpose immediately understandable. It distinguishes from siblings like 'list_voices' or 'voice_design' by specifying creation rather than listing or designing. However, it doesn't explicitly contrast with all possible alternatives like 'text_to_audio'.

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?

The description provides clear context about when to use ('Only use when explicitly requested by the user') and includes a cost warning that helps determine appropriateness. It doesn't explicitly name alternative tools or specify when NOT to use beyond the cost consideration, but the guidance is practical and actionable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/swesmith-repos/MiniMax-AI__MiniMax-MCP.aa97ac39'

If you have feedback or need assistance with the MCP directory API, please join our Discord server