Skip to main content
Glama

Change the voice in a recording

change_voice

Re-voice a speech recording (up to 5 minutes) in a different preset voice: the words, pauses and emphasis stay, only the voice changes. Returns an MP3. Ask the user to confirm they may use the voice first, then set consent. Uses PopNow credits (from 5 credits per second with the default model). Call it once for the price, then again with max_credits after the user agrees.

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

Input Schema

NameRequiredDescriptionDefault
voiceNoThe new voice by name, for example Alicia, Brian or Charlotte. Leave empty for the default; a wrong name returns the full list.
consentNoRequired. Set true only after the user confirms all of this: the voice is theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own.
audio_urlYesThe speech recording whose voice to change, up to 5 minutes (popnow:// or https link).
max_creditsNoThe most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
remove_background_noiseNoSet true to clean background noise from the recording before the voice is changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / audio_url / description
      Previous value: -"The recording or video whose voice to change (popnow:// or https link)."New value: +"The speech recording whose voice to change, up to 5 minutes (popnow:// or https link)."
    • addedInput schema / properties / consent
      Added value: +{
      +  "description": "Required. Set true only after the user confirms all of this: the voice is theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / max_credits
      Added value: +{
      +  "description": "The most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / remove_background_noise
      Added value: +{
      +  "description": "Set true to clean background noise from the recording before the voice is changed.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / voice / description
      Previous value: -"The new voice, from list_voices."New value: +"The new voice by name, for example Alicia, Brian or Charlotte. Leave empty for the default; a wrong name returns the full list."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, openWorld=true, idempotent=false, destructive=false) by disclosing output format (MP3), a 5-minute input limit, the credit cost model (from 5 credits/second with the default model), and the two-call price-quote-then-confirm flow. This is exactly the kind of cost and side-effect context annotations cannot express.

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?

Front-loaded with purpose, transformation semantics, and output format before cost and consent mechanics. Dense and mostly waste-free, though the pricing/consent instructions are packed tightly enough to read as a single run-on block.

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?

With no output schema, the description compensates by stating the return is an MP3. Constraints (duration, preset voices, consent law, credit cost, two-step confirmation) are all covered for a 5-parameter generative tool. Nothing an agent needs before invoking 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 baseline is 3; the description adds real meaning by tying max_credits to a prior price-quote call and by framing consent as a user-confirmation gate rather than a plain boolean. Minor value-add only, since the schema already explains each field.

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-voice a speech recording') plus the transform semantics ('words, pauses and emphasis stay, only the voice changes'), which separates it from siblings like create_speech or change_camera_angle without needing their schemas.

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?

Gives explicit procedural conditions: ask the user to confirm voice rights, set consent only afterwards, and call once for a price then again with max_credits after agreement. It does not name a sibling alternative for creating fresh speech versus re-voicing, but the when/how guidance is unusually concrete.

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.