Skip to main content
Glama

add_subtitles

Add subtitles to a CapCut draft from an SRT file, SRT text, or timed lines, with an optional offset to shift all subtitle timings.

Instructions

Добавить субтитры. Источник — один из: srt_path (файл .srt), srt_text (текст в формате SRT) или lines — список {"start": сек, "end": сек, "text": "..."}. offset сдвигает все субтитры на N секунд.

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": {
      "draft": "<draft>"
    },
    "name": "add_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
yNo
sizeNo
colorNo#FFFFFF
draftYes
linesNo
offsetNo
srt_pathNo
srt_textNo
outline_colorNo#000000
background_colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It never states that this tool mutates a draft, whether the effect is undoable (an undo_last_change sibling exists), what error surfaces for a malformed SRT string, or how conflicting sources are resolved; it also omits that subtitle styling is applied, leaving the styling parameters entirely unexplained.

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 short sentences, purpose stated first, then the source alternatives, then the offset behavior — no filler. The one weakness is that styling concerns are omitted entirely rather than handled in a sentence.

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 and no output schema, the definition is materially incomplete: half the parameters are undocumented and no mutation/return behavior is described. An agent could call it with a source but would be guessing about styling and failure modes.

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

Parameters2/5

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

Schema description coverage is 0% across 10 parameters, and the description adds meaning for only four or five of them (srt_path, srt_text, lines, offset, implicitly draft). The six remaining parameters — y, size, color, outline_color, background_color — receive no explanation anywhere, so the description does not compensate for the coverage gap.

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?

The description names a specific verb and resource (add subtitles) and enumerates the three accepted source formats, which is far more informative than the bare tool name. It does not distinguish the tool from potential siblings like add_text or add_media, so it stops short of a 5.

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 phrase 'источник — один из' (source is one of) implies the three source parameters are mutually exclusive alternatives, which is genuine selection guidance. However, there is no statement of when to prefer add_subtitles over add_text, nor what happens if more than one source is supplied, so the guidance stays implicit.

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