Skip to main content
Glama

Import an SRT as a styled caption track

import_subtitles

Import SRT subtitles into a CapCut project as a styled text track. Converts .srt files or raw SRT text into one segment per cue with presets and keyword highlighting.

Instructions

Turns an SRT file — or raw SRT text — into a text track with one segment per cue, styled in the same pass. Presets: bold-outline, boxed, accent. Keyword highlighting colours chosen words inside every caption (whole-word, case-insensitive), which editors otherwise do by hand. Byte offsets are correct for Cyrillic, Uzbek and emoji. Requires CapCut to be closed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to an .srt file
styleNo
presetNoOne of: bold-outline, boxed, accent
contentNoRaw SRT text, instead of a file
projectYesPath to the project folder or its draft_content.json
highlightNo
trackNameNoDefaults to "subtitles"
colorCycleNoRotates the base colour cue by cue, e.g. two alternating brand colours
timeOffsetSecondsNoShifts every cue
Behavior4/5

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

With no annotations, the description discloses important behavioral details: whole-word case-insensitive highlighting, byte-offset correctness for non-Latin scripts, and the prerequisite that CapCut be closed. It does not mention potential overwriting of existing tracks, but the provided depth is above average.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is five concise sentences, each adding distinct value: core function, preset options, highlighting behavior, offset correctness, and the prerequisite. It front-loads the main action and avoids redundancy.

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?

For a 9-parameter tool with nested objects and no output schema, the description covers key aspects: input types, segmentation, styling presets, highlighting, encoding correctness, and usage condition. It does not explain return values or interaction with existing caption tracks, but those are minor gaps given the tool's import nature.

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 78%, so most parameters are already documented. The description adds meaning for 'preset' by listing choices and explains the case-insensitive behavior of 'highlight', but it does not elaborate on parameters like trackName, colorCycle, or timeOffsetSeconds, which are left to the schema.

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?

The description clearly states the tool converts an SRT file or raw text into a styled text track with one segment per cue. It specifies the resource (SRT), the action (import as styled track), and distinguishes it from siblings focused on overlays or restyling existing captions.

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?

Usage is implied by the name and context: importing new subtitles. The description notes a prerequisite ('Requires CapCut to be closed') but does not explicitly contrast with alternatives like restyle_captions or add_overlay, nor does it state when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yabdulaziz2009-dev/capcut-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server