Skip to main content
Glama

add_text

Add titles, captions, or text overlays to a CapCut video draft by setting text, start time, duration, position, size, color, font, and optional intro/outro effects.

Instructions

Добавить текст (заголовок, надпись) поверх видео.

start/duration — в секундах. size — размер шрифта (8 — обычный, 12–15 — крупный заголовок, 5 — как субтитры). color/background_color/outline_color — '#RRGGBB'. y: 0 — центр, 0.8 — сверху, -0.8 — снизу. font, intro, outro — названия из list_effects (fonts / text_intro / text_outro).

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>",
      "text": "<text>",
      "start": "<start>",
      "duration": "<duration>"
    },
    "name": "add_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
boldNo
fontNo
sizeNo
textYes
colorNo#FFFFFF
draftYes
introNo
outroNo
startYes
italicNo
durationYes
outline_colorNo
background_colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose meaningful behavior — timing in seconds, how size maps to visual hierarchy, coordinate conventions, and that intro/outro reference named effects — but it never says this mutates the draft, whether the change is reversible (undo_last_change exists as a sibling), or what happens on overlap/conflict.

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?

Four short lines, front-loaded with the action and then grouped by concern (timing, size, colors, positioning, effects) — no filler. The terse line-per-topic layout is dense but readable and every line carries distinct information.

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

Completeness3/5

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

For a 15-parameter mutating tool with zero annotations and no output schema, the description covers the visually important knobs well but omits the mutation/undo semantics and three parameters (x, bold, italic) plus the required draft. Enough to call it correctly in most cases, not enough to call it safely.

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 description coverage is 0% across 15 parameters, so the description must compensate, and it largely does: it defines units for start/duration, a non-obvious numeric scale for size (8 normal, 12–15 headline, 5 subtitle), the '#RRGGBB' format for three color params, and an unusual y convention (0 center, 0.8 top, -0.8 bottom). It leaves x, bold, italic and draft unexplained, which keeps it from a 5.

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 opens with a concrete verb plus resource ('Добавить текст ... поверх видео') and parenthetically clarifies the artifact type (title/label overlay), so an agent knows exactly what gets created. It does not explicitly contrast itself with the sibling add_subtitles, which is the closest alternative, 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?

There is real prerequisite guidance: font, intro and outro values must come from list_effects (fonts / text_intro / text_outro), which steers the agent to a sibling first. However, nothing states when to choose add_text over add_subtitles, or whether a draft must exist beforehand, so usage is only implied.

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