Skip to main content
Glama

add_speaker_from_library

Add a Voice Library voice to your account and save it as a speaker in one step, enabling immediate use for text-to-speech.

Instructions

Add a Voice Library voice to the account AND save it as a speaker, in one step.

Combines add_library_voice + save_speaker. Consumes a voice slot. After this, speak('', text, workspace=...) uses it.

Args: name: Speaker/voice handle to save under. public_owner_id, voice_id: From a preview_voices candidate. workspace: Workspace namespace (default "default"). seed: Optional base seed for the speaker. description: Human note.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
seedNo
voice_idYes
workspaceNodefault
descriptionNo
public_owner_idYes
Behavior4/5

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

Without annotations, the description carries the burden of disclosing side effects. It mentions 'Consumes a voice slot' and that after the call, 'speak(...)' can use the speaker, providing key behavioral context. It does not detail error cases or permissions, but core effects are covered.

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 front-loads the core purpose in the first sentence, then concisely notes the combination, side effect, and usage note. The Args list is direct without filler. Each sentence earns its place.

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

Completeness4/5

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

For a tool with no output schema, the description covers purpose, side effects, and parameters. It lacks an explicit return value description, but considering the simple create-and-save nature and the presence of sibling tools for lookup, this is a minor gap. Overall it's complete enough for an agent to use it correctly.

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

Parameters5/5

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

The description explains each parameter beyond schema titles: 'name' as handle, 'public_owner_id' and 'voice_id' as from preview_voices candidate, 'workspace' as namespace, 'seed' as optional base seed, and 'description' as human note. This compensates for the 0% schema coverage.

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 clearly states the tool's function: adding a Voice Library voice and saving it as a speaker in one step. It explicitly references the combined tools 'add_library_voice + save_speaker', distinguishing it from sibling tools.

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 indicates when to use this tool: when you want both add_library_voice and save_speaker simultaneously. It also notes the resulting effect on 'speak' usage. This provides clear context for choosing this tool over separate alternatives.

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/DuragonYama/ofaudio-mcp'

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