Skip to main content
Glama

speak_avatar

Synthesize Piper TTS speech and play it on the 3D avatar with lipsync, emotion, and optional motion. Returns launch_url only when the viewer is not yet connected (client_connected: false). When client_connected is true and launch_url is omitted, the speech is streamed directly to the already-open viewer screen—do not ask the user to open a new URL. If no request has been sent for a long time, the first synthesis request may fail while the voice server wakes up; retrying with a new session after about 1 minute will recover automatically.

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": {
      "uuid": "<uuid>",
      "text": "<text>",
      "emotion": "<emotion>",
      "lang": "<lang>"
    },
    "name": "speak_avatar"
  }
}

Input Schema

NameRequiredDescriptionDefault
vrmNoOptional predefined character model (B, D, E, or M). Omit to use client default.
langYes
textYesSingle sentence to speak (1-250 chars)
uuidYesUUID v4 session identifier
pitchNoSpeech pitch (default: 1.0, range: 0.3-2.5; out-of-range values are automatically clamped)
speedNoSpeech speed (default: 0.75, range: 0.1-3.0; out-of-range values are automatically clamped)
motionNoOptional body motion name. Omit to keep idle motion.
emotionYes
signed_txNoOptional pre-authorized Solana signed transaction (Base64 or Base58)
webhook_urlNoOptional public HTTP/HTTPS callback URL for payment retry & disconnect notifications
speak_on_selectionNoWait to speak while user is operating another screen/window (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden and does well on the launch_url/streaming branch and cold-start recovery. However, it is silent on the payment/authorization dimension implied by signed_tx and webhook_url, so an agent has no idea a Solana transaction may be required for this 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?

Front-loaded with purpose, then the return-value branch, then the cold-start caveat—logical order with little waste. The sentences are long and dense, but each carries operational value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter tool with no output schema and no annotations, the description covers the tricky return path well. It leaves the payment flow (signed_tx, webhook_url) and speak_on_selection behavior unexplained, which are material gaps for correct invocation.

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 coverage is 82%, so the schema already documents most parameters with defaults, ranges, and enums. The description adds no per-parameter meaning beyond what the schema provides, so the baseline of 3 applies.

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 ("Synthesize Piper TTS speech and play it on the 3D avatar") plus the feature set (lipsync, emotion, optional motion). This is clearly distinguishable from the sibling keepalive_session, which the name alone would not establish.

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 concrete conditional guidance: only surface launch_url when client_connected is false, stream silently otherwise, and retry after ~1 minute if the voice server cold-starts. These are actionable when-to-do-what rules, though it stops short of naming an alternative tool or an explicit when-not-to-use case.

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