Skip to main content
Glama

Give an actor a voice

characters_voice
Destructive

SPENDS CREDIT: gives an actor a voice. description designs one from casting direction (kept on the character, so later runs can reuse the actor). Returns the voice id, a preview clip and what it cost. Needs the write scope.

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": {
      "character": "<character>",
      "description": "<description>"
    },
    "name": "characters_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
characterYesThe actor's slug or id (characters_list).
descriptionYesCasting direction to design the voice from, up to 1000 characters.

Output Schema

NameRequiredDescriptionDefault
costUsdNo
characterYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / consent
      Removed value: -{
      -  "description": "Required with sampleMediaKey: the user holds the rights to that voice.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / sampleMediaKey
      Removed value: -{
      -  "description": "A 5-10s voice sample already in the account, to clone instead.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "character"
      -]New value: +[
      +  "character",
      +  "description"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "character": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "bio": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "faceLocked": {
      +          "type": "boolean"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "isUser": {
      +          "type": "boolean"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "slug": {
      +          "type": "string"
      +        },
      +        "styleLocked": {
      +          "type": "boolean"
      +        },
      +        "voiceDescription": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "voiceId": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "voiceLocked": {
      +          "type": "boolean"
      +        },
      +        "voicePreviewMediaKey": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "voiceProvider": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id"
      +      ],
      +      "type": "object"
      +    },
      +    "costUsd": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "character"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Adds real value beyond annotations: credit consumption, required auth scope, persistence of the design on the character for reuse, and the shape of the return (id, preview clip, cost). With destructiveHint=true and openWorldHint=false already declared, the remaining need is what exactly a re-run destroys or overwrites on the character — that is left unstated.

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 short sentences with the highest-stakes fact — credit spend — front-loaded, so an agent can't miss it. A minor redundancy is the repeated restatement of what `description` does versus what the tool does.

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?

Complete for a two-parameter, fully documented mutation: cost, auth scope, return payload and persistence are all covered, and an output schema exists for the return values. The only gap is re-run semantics — what happens to an existing voice on the character when called again.

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, and the description meaningfully extends it: `description` is casting direction used to design the voice (up to 1000 chars per schema) and is retained on the character, and `character` is sourced from characters_list. That adds semantics the schema fields alone don't convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'gives an actor a voice' — and ties it to a concrete creation artifact (a voice id). It doesn't explicitly contrast with any sibling, though none of the listed siblings appear to be a competing voice-creation tool, so the risk of confusion is low.

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?

Provides the practical preconditions for calling it: it spends credit and requires the write scope, plus a pointer to characters_list for the actor slug. It stops short of stating when-not to use it or how to avoid duplicate voices (e.g., whether a character already has one).

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.