Skip to main content
Glama

Speak one line in the character's voice (paid)

character_voice_line

Generates one character voice line per request, confirms per-character cost, and saves the MP3 as a voice asset.

Instructions

ONLY on request, after character_voice; one line per call, confirm the cost (priced per character, see models.json). Saves assets/voice/lines/.mp3.

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": {
      "id": "<id>",
      "text": "<text>",
      "name": "<name>"
    },
    "name": "character_voice_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
nameYesFile name, e.g. '01-to-the-radio'.
textYesThe line. Adults: Eleven v3 delivery tags like [whispering], [nervous laugh]. Minors: shape delivery with punctuation (… — !).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare openWorldHint, idempotentHint=false and destructiveHint=false; the description goes well beyond that by disclosing that the call is paid, priced per character, requires cost confirmation, and writes a file to assets/voice/lines/<name>.mp3. It stops short of saying whether reusing an existing <name> overwrites the prior file, which matters given idempotentHint=false. No contradiction with annotations.

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?

One dense sentence with the hardest constraint ('ONLY on request') front-loaded, followed by cost and destination. Every clause earns its place; it is telegraphic rather than padded. The semicolon-chained phrasing slightly hampers scanning.

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?

For a 3-parameter paid generation tool with no output schema, the description covers the prerequisite, the cost risk, the one-line-per-call scope, and the output path — the information an agent needs to invoke it safely. Only overwrite behavior on repeated file names is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 67%, so the schema already carries the meaning for 'name' and 'text' (including the 600-char cap and delivery-tag guidance). The description adds no parameter-level detail and leaves 'id' undocumented in both places. Baseline 3 is appropriate.

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?

Names a specific action and resource ('one line per call' in the character's voice) and distinguishes itself from its sibling character_voice by the explicit prerequisite ordering. The output artifact is named too, so an agent knows exactly what is produced. Slightly terse, but unambiguous.

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?

'ONLY on request, after character_voice' is an explicit gating condition and prerequisite rather than vague context, which tells the agent when not to call it. It does not name alternatives such as character_voice_translation for non-English lines, so a small gap remains, but the core when-to-use rule is stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.