Skip to main content
Glama

Convert Speech Voice

beatra.speech.convert
Idempotent

Convert spoken audio into a target Beatra voice while preserving phrasing and timing. Requires a voice whose capabilities.supports_speech_to_speech is true in beatra.voices.list. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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": "<audio>",
      "voice": "<voice>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.speech.convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoOptional deterministic seed (0..4294967295).
audioYesSource speech audio (`artifact_id` or HTTPS `url`; 1.0-300.0 seconds, <= 50 MB). Accepts `audio` or `source`.
modelNoSpeech-to-speech model identifier, or 'auto' for automatic selection.auto
styleNoOptional target voice style exaggeration (0.0-1.0).
voiceYesTarget Beatra `voice_id` supporting `speech_to_speech` (`supports_speech_to_speech=true` or `model=elevenlabs-sts-v2` in voices list). Accepts `voice` or `voice_id`.
formatNoOutput audio container/encoding format.mp3
stabilityNoOptional target voice stability (0.0-1.0; lower is more expressive, higher is steadier).
model_optionsNoOptional model-family-specific options (for example, `{"elevenlabs": {...}}`). Unrecognized keys emit an `option_ignored` warning.
similarity_boostNoOptional target voice similarity boost (0.0-1.0).
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.
use_speaker_boostNoOptional speaker clarity boost on the target voice.
remove_background_noiseNoStrip ambient noise from the source recording before voice conversion.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which only mark it as a non-read-only, open-world, non-destructive, idempotent call), the description discloses that the call is billable, consumes credits, and returns an asynchronous task rather than a finished asset. It also defines the idempotency contract in operational terms — submit once, poll, and reuse client_request_id only for an identical retry — which the annotations alone cannot convey.

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?

Four short sentences, front-loaded with the purpose, then prerequisite, then cost/async behavior, then the retry rule. No filler and no repetition of the schema's field lists.

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 12-parameter async, billable mutation with full schema documentation and an output schema, the description covers everything an agent needs before invoking: what it does, what must be true of the voice, that it costs credits, that it is async, and how to retry safely. Return-value shape is correctly left to the output schema.

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 description coverage is 100%, so the baseline would be 3; the description earns above that by adding a cross-parameter constraint not obvious from the schema: the voice argument must be one whose supports_speech_to_speech capability is true. It also reinforces the client_request_id retry semantics as an identical-arguments rule.

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 opening sentence pairs a specific verb and resource ("Convert spoken audio into a target Beatra voice") with a differentiator ("preserving phrasing and timing") that separates this voice-conversion call from text-driven synthesis siblings. An agent can tell from the name plus this sentence that the input is existing speech audio, not a script.

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?

It states a concrete prerequisite (the voice must have capabilities.supports_speech_to_speech=true in beatra.voices.list) and an explicit post-call workflow: submit exactly once, then poll with beatra.tasks.get. What is missing is a direct when-to-use-this-instead-of speech.synthesize contrast, so guidance is strong but not exhaustive.

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.

Resources