Skip to main content
Glama

Change the voice in a speech recording

change_voice
Destructive

Re-speaks a recording in another voice: same words, timing and emotion. Returns the audio job id. THE CARD: this call already opened the aicut card: do not call show_generation for this job. WAIT: wait_for_generation (this id, media), never timers or background shells. No card? Give the user the url. COST: 1 token per started minute of the part changed (1 s to 5 minutes), measured by the server. A longer recording needs start_seconds and end_seconds to pick at most 5 minutes of it. SPENDS TOKENS: price with estimate_only: true, state the price in the same message as your ask, wait for a go naming THIS purchase (SPENDING RULES: get_recipe spending-rules). idempotency_key: IDEMPOTENCY (this server's instructions).

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": {
      "source_audio": "<source_audio>",
      "voice": "<voice>"
    },
    "name": "change_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
voiceYesAn ElevenLabs library voice id from `list_voices` with `usable_for=audio`.
end_secondsNoWhere the part to change ends, in seconds of the source; at most 300 s after start_seconds. Omit for the end of the file.
source_audioYesAn audio generation on this account (its id or url) or an MP3, WAV or M4A uploaded on it (`upload_media`). No external urls.
estimate_onlyNoPrice only; creates nothing.
start_secondsNoWhere the part to change starts, in seconds of the source. Omit for the top.
idempotency_keyNoRetry key (IDEMPOTENCY).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare not-read-only, destructive and open-world, so the safety profile is partly covered; the description adds real value with the cost model (1 token per started minute of the part changed), the 1 s–5 min billing window, and the fact that estimate_only creates nothing. It does not explain why destructiveHint=true — e.g. whether the source recording is consumed or altered — leaving one behavioral question unanswered.

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 purpose is front-loaded in the first sentence and the remaining clauses each carry operational content (card state, waiting, cost, spend approval). The ALL-CAPS labels and parenthetical doc pointers ('SPENDING RULES: get_recipe spending-rules') add density and cross-reference clutter that a shorter phrasing could avoid.

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 six-parameter, token-spending mutation tool with no output schema, the definition covers the return value (job id), the polling path (wait_for_generation), the cost surface, and the approval protocol. Nothing an agent needs to call it correctly and safely is missing.

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 the baseline is 3, but the description adds motivation the schema lacks: the cost is measured against the changed part, which is why a longer recording requires start_seconds and end_seconds to select at most 5 minutes. It also ties idempotency_key to the server's IDEMPOTENCY instructions rather than merely restating the schema.

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 (re-speaks a recording in another voice) plus the invariants preserved (same words, timing, emotion) and the return value (audio job id). An agent can immediately distinguish this from generate_audio or change_story_scene without opening the 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?

Explicit routing rules: do not call show_generation because the card is already open, use wait_for_generation with this id and media rather than timers, and fall back to giving the user the url when no card exists. It also gives a when-to-price rule (estimate_only) and a spend-approval protocol, which is exactly the when/when-not detail the dimension asks for.

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.