Skip to main content
Glama

Sync a scene's subtitles to its video

sync_scene_subtitles
Idempotent

Listens to the scene's selected video (speech-to-text) and sets when each spoken line appears to the moment it is heard, and how long it stays up. Lines it cannot hear clearly keep the estimate and come back with unsure: true, to check with set_scene_subtitles. Needs a selected video and dialogue. Costs 1 credit, given back if it fails or hears none of the lines. Render the episode again to see it.

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_id": "<scene_id>"
    },
    "name": "sync_scene_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
scene_idYesThe scene id (scn_…), from get_episode.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the 1-credit cost, the refund on failure or when no lines are heard, the partial-failure signal ("unsure: true"), and the need to re-render to observe results. These are exactly the operational facts an agent needs before spending credits on a non-readOnly, openWorld operation.

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?

Dense and front-loaded: behavior first, then failure semantics, then cost, then the follow-up step. A few clauses ("and how long it stays up") are conversational but still carry real information, so almost nothing is wasted.

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

Completeness5/5

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

An output schema exists, so return values need not be explained. The description covers the remaining unknowns for a credit-spending, openWorld transcription call: preconditions, cost and refund policy, partial-result signaling, and the next action.

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?

The single scene_id parameter is fully documented in the schema (pattern plus provenance from get_episode), so the description correctly leaves it alone. It adds only the scene-level precondition of a selected video with dialogue, not any new meaning for the parameter itself.

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 concrete verb-and-resource pair ("listens to the scene's selected video" / "sets when each spoken line appears") plus the second behavior it manages (line duration). It also implicitly separates itself from set_scene_subtitles by describing what the model cannot resolve on its own.

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 clear preconditions ("Needs a selected video and dialogue"), a fallback path for uncertain results ("to check with set_scene_subtitles"), and the post-step ("Render the episode again to see it"). It never distinguishes itself explicitly from sync_episode_subtitles, so the sibling choice is left to the agent's inference.

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.