Skip to main content
Glama

Audio to Facial Lip-Sync

avatar_lipsync_audio
Idempotent

Convert speech audio (inline WAV data or public HTTPS audio URL up to 4 MB) into 30 FPS 3D facial lip-sync frames and emotion curves. Parameters: audio_b64, audio_url, sample_rate. Price: $0.10 with a Stripe prepaid key or USDC.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "avatar_lipsync_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
audio_b64NoEncoded WAV speech audio data (up to 4 MB). Provide either audio_b64 or audio_url.
audio_urlNoPublic HTTPS URL to a WAV speech clip (up to 4 MB) when not passing audio_b64 inline.
spend_keyNoOptional prepaid API spend key (sbk_...) for paid character tools.
request_keyNo
sample_rateNoAudio sample rate in Hz (defaults to 16000).
builder_codeNoOptional partner referral code.
payment_signatureNoOptional payment signature header value for direct USDC settlement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context the annotations omit: the $0.10 charge, the Stripe prepaid key or USDC settlement path, the 4 MB audio ceiling, and the 30 FPS output shape. It does not state latency, whether repeated calls with the same request_key are deduplicated despite idempotentHint, or what an unpaid call returns, so it is additive but not rich.

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?

Two sentences, front-loaded with the core conversion and output format, then cost. The explicit 'Parameters:' list is largely redundant with an 86%-covered schema and is the one expendable element. Otherwise there is no filler.

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?

With no output schema, the description usefully names the return shape (30 FPS frames and emotion curves), which is the key gap it had to fill. Pricing and payment mechanics are also covered. Minor omissions: nothing about failure modes for oversized or invalid audio, and request_key/builder_code are left entirely to the schema, which is acceptable at 86% coverage.

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 86%, so the schema already explains audio_b64, audio_url, sample_rate, spend_key and payment_signature in detail. The description's 'Parameters: audio_b64, audio_url, sample_rate' restates three of them without adding syntax, defaults or constraints beyond the 4 MB note already in the schema. Baseline 3 is appropriate; the payment parameters are not mentioned at all in the description.

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 transformation: speech audio in (inline WAV or HTTPS URL) to 30 FPS 3D facial lip-sync frames plus emotion curves. That is far more precise than the title alone. It does not, however, distinguish itself from plausible siblings such as avatar_speak_performance or avatar_render_talking_take, which likely also involve speech-driven character output.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no named alternative for the case where the caller already has a rendered performance pipeline. The only conditional is inside the parameter list ('Provide either audio_b64 or audio_url'), which is input selection, not tool selection. The price note tells the agent this is a paid call but does not route it against siblings.

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