Skip to main content
Glama

Delete Cloned Voice

beatra.voices.delete
DestructiveIdempotent

Permanently delete one of this account's cloned voices using mandatory 2-step confirmation. Call first with voice_id alone (no confirmation_token) to inspect the voice and receive a short-lived confirmation_token and irreversible_notice; ask the user for explicit confirmation, then call again with confirmation_token to permanently delete the voice. Deleting a free preview does not give back a preview: it still counts toward the daily and 3-day limits until it would have expired. Non-billable.

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": {
      "voice_id": "<voice_id>"
    },
    "name": "beatra.voices.delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
voice_idYesAccount-owned cloned voice_id to permanently delete.
confirmation_tokenNoStateless confirmation token returned by step 1 of beatra.voices.delete (valid for 15 minutes). Omit on the first call to inspect the voice and receive a confirmation_token; pass it on the second call only after the user explicitly confirms permanent deletion.

Output Schema

NameRequiredDescriptionDefault
errorNo
voiceNo
deletedNo
voice_idNo
token_expires_atNo
paid_slot_warningNo
confirmation_tokenNo
irreversible_noticeNo
confirmation_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / $defs / VoiceActivation / properties / quote
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/VoiceActivationQuote"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The activation quote, on the clone task's result. Show the price and terms to the user and, with their consent, call activate once with quote.confirmation_token and confirm_credits = price_credits (valid for 24 hours; without a token, activate returns a new quote)."
      -}
    • removedOutput schema / $defs / VoiceActivationQuote
      Removed value: -{
      -  "description": "The price of activating one preview voice. Nothing is charged until it is confirmed.",
      -  "properties": {
      -    "balance_credits": {
      -      "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
      -      "title": "Balance Credits",
      -      "type": "string"
      -    },
      -    "confirmation_token": {
      -      "title": "Confirmation Token",
      -      "type": "string"
      -    },
      -    "message": {
      -      "title": "Message",
      -      "type": "string"
      -    },
      -    "preview": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/VoicePreview"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null
      -    },
      -    "price_credits": {
      -      "title": "Price Credits",
      -      "type": "integer"
      -    },
      -    "sufficient_balance": {
      -      "title": "Sufficient Balance",
      -      "type": "boolean"
      -    },
      -    "terms": {
      -      "additionalProperties": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "description": "The activation terms in zh, en and ja",
      -      "title": "Terms",
      -      "type": "object"
      -    },
      -    "terms_version": {
      -      "title": "Terms Version",
      -      "type": "string"
      -    },
      -    "token_expires_at": {
      -      "format": "date-time",
      -      "title": "Token Expires At",
      -      "type": "string"
      -    },
      -    "voice_id": {
      -      "title": "Voice Id",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "voice_id",
      -    "price_credits",
      -    "balance_credits",
      -    "sufficient_balance",
      -    "confirmation_token",
      -    "token_expires_at",
      -    "terms_version",
      -    "terms",
      -    "message"
      -  ],
      -  "title": "VoiceActivationQuote",
      -  "type": "object"
      -}
  2. Changed1 schema field changed
    • addedOutput schema / $defs / VoiceCapabilities / properties / supports_dialogue
      Added value: +{
      +  "default": false,
      +  "description": "True ONLY when this voice can be used in text_to_dialogue (POST /v1/audio/speech/dialogue & beatra.speech.synthesize_dialogue)",
      +  "title": "Supports Dialogue",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the baseline is low, yet the description adds substantial context: mandatory 2-step confirmation, a short-lived token plus irreversible_notice, the consequence of consuming preview quota on a free-preview delete, and that the operation is non-billable. These are exactly the side effects an agent needs before a destructive call.

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?

Three tight sentences, front-loaded with the destructive action and the confirmation requirement, with the quota caveat last. The trailing 'Non-billable.' fragment is terse but useful; nothing is redundant with the schema.

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?

An output schema exists so return values need no explanation, annotations cover the safety profile, and the description supplies the remaining essentials: the confirmation protocol, token lifetime handling, and quota consequences. Nothing an agent needs to invoke it correctly is absent.

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% and the schema already documents both voice_id and confirmation_token including the 15-minute validity, so the description is not strictly needed. It still frames the two parameters as a state machine (omit on call one, pass on call two only after explicit user confirmation), which adds ordering meaning beyond the field docs.

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 scope: 'Permanently delete one of this account's cloned voices,' which separates it from clone/list/preview/update siblings that operate on the same resource. It also disambiguates the free-preview case, so an agent knows exactly which object class this acts on.

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 an explicit two-call procedure: first call with voice_id alone to inspect and obtain a token, then call with confirmation_token after the user explicitly confirms. It does not name alternatives (e.g., update to rename, or deactivate instead of delete) or state when deletion is inappropriate, so it stops short of full alternative routing.

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