Skip to main content
Glama

Set a scene's subtitle timing

set_scene_subtitles
Idempotent

Sets when each spoken line of a scene appears as a subtitle: starts, one per line in script order, in seconds from the scene's start (0.1 s steps). It holds for the scene's selected video (the model speaks at its own pace in each take; another take goes back to the estimate) and does not make the video stale: render the episode again to see it. starts: null goes back to the estimate. Free.

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>",
      "starts": "<starts>"
    },
    "name": "set_scene_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
startsYesStart time in seconds of each dialogue line, in script order; null goes back to the estimated timing.
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/5.0
Behavior5/5

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

Goes well past the annotations by disclosing cost ("Free"), scope (timing is held per selected take; switching takes reverts to the estimate), and downstream state effects ("does not make the video stale: render the episode again to see it"). These are exactly the facts an agent needs before mutating subtitle timing and are not derivable from readOnlyHint/idempotentHint/destructiveHint.

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-loads the core action, then layers constraints and reset behavior; every clause carries information. The nested parentheticals ("the model speaks at its own pace in each take; another take goes back to the estimate") make one sentence noticeably harder to parse than the rest.

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 an output schema present, return values need not be explained, and the description still covers cost, staleness, reset, and per-take scoping. The remaining gap is validation behavior for mismatched line counts and any permission requirements for editing a scene.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: the 0.1 s quantization step, the script-order correspondence of each element, and that null is a reset rather than an error. It does not address what happens if the array length does not match the number of spoken lines.

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 verb and resource ("Sets when each spoken line of a scene appears as a subtitle") plus the exact value semantics (starts, one per line in script order, seconds from scene start, 0.1 s steps). It does not name or distinguish itself from the sibling sync_scene_subtitles, so an agent must infer whether this is the manual or the automatic path.

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?

The "starts: null goes back to the estimate" clause implies this is the manual override of an estimated timing, which hints at when to use it. However, no explicit when-to-use or when-not-to-use statement is made, and the natural alternative (sync_scene_subtitles) is never mentioned.

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.