Skip to main content
Glama

lip_sync

Creates mouth-shape animation from typed text by drawing library-part variants per syllable and writing xsheet timing from a chosen start frame.

Instructions

Animate a mouth from text (no audio): each mouth shape is a VARIANT of a library part (anime3: closed/half/open; blair: AI E O U WQ MBP FV L etc rest). Draws one drawing per shape on the layer and writes the xsheet from start (2-frame minimum holds). Shift start 2 frames earlier than the audio (mouths lead sound).

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": {
      "scene": "<scene>",
      "layer": "<layer>",
      "text": "<text>",
      "start": "<start>",
      "part": "<part>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "lip_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
partYes
textYes
chartNoanime3
layerYes
scaleNo
sceneYes
startYes
frames_per_syllableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful side effects: it draws one drawing per shape on the layer and writes the xsheet, with a 2-frame minimum hold. It omits whether existing drawings or xsheet keys on the layer are overwritten, permission requirements, and what the call returns.

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 compact sentences with the core operation front-loaded and no filler. The heavy parenthetical enumerating blair phonemes is dense but informative rather than wasteful.

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

Completeness2/5

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

For a 10-parameter mutation tool with no annotations, no schema descriptions, and no output schema, the description explains the shape of the operation but leaves positional placement, scale, frames-per-syllable timing, overwrite behavior, and return value unaddressed. An agent could invoke it but cannot predict what happens to pre-existing layer content.

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 0%, so the description must compensate, and it explains several parameters: `part` as a variant of a library part, `chart` via anime3/blair examples, `start` as xsheet origin with timing advice, and `layer` as the destination. It adds nothing about `x`, `y`, `scale`, or `frames_per_syllable`, leaving four of ten parameters undocumented anywhere.

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: 'Animate a mouth from text (no audio)', and immediately clarifies the output is per-shape drawings plus an xsheet written from `start`. The parenthetical '(no audio)' and the concrete chart/part examples (anime3, blair) make the operation unmistakable.

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

Usage Guidelines3/5

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

Offers one actionable usage rule: shift `start` 2 frames earlier than the audio because mouths lead sound, and implies a 2-frame minimum hold. It never states when to choose this over general drawing tools like draw/draw_many, nor any preconditions such as whether the layer must exist first.

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