Skip to main content
Glama

capcut_set_text_style

Update font, size, color, alignment, spacing, stroke, shadow, or background box on an existing CapCut text segment by specifying its draft and segment ID.

Instructions

Update rich styling (text, font, size, color, bold, italic, stroke, shadow, bg box, curve, alignment, spacing) on an existing text segment.

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>",
      "segmentId": "<segmentId>"
    },
    "name": "capcut_set_text_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
boldNo
textNo
alphaNo
colorNo
curveNocurved text angle (-360..360, 0=off)
draftYes
italicNo
bgAlphaNo
bgColorNo
opacityNo
fontNameNo
fontSizeNo
alignmentNo
hasShadowNo
segmentIdYes
underlineNo
borderColorNo
borderWidthNo
lineSpacingNo
shadowAlphaNo
shadowColorNo
bgRoundRadiusNo
letterSpacingNo
shadowDistanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 and does not meet it. It never says whether omitted parameters are left unchanged or reset, whether this requires the segment to be already committed to a draft, whether changes are undoable, or how conflicting fields (alpha vs opacity, color vs bgColor) interact.

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?

A single front-loaded sentence with the verb and target stated first and the property list as supporting detail; nothing is padded. The parenthetical enumeration is long but each item signals a real capability, so it earns its space.

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 24-parameter mutation tool with no annotations and no output schema, one sentence is far too thin. The most consequential facts — merge vs replace semantics, required draft/segmentId provenance, and value formats — are all absent, leaving the agent to guess on a high-blast-radius edit.

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 only 4% across 24 parameters, so the schema does almost nothing. The description lists concept names but adds no format or range meaning — no color encoding, no fontSize units, no bounds for opacity/alpha/shadowAlpha, and no mapping of "stroke" to borderColor/borderWidth or "bg box" to bgColor/bgAlpha/bgRoundRadius.

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 ("Update") and resource ("rich styling ... on an existing text segment") and enumerates the style dimensions covered, which tells an agent this is a modify-not-create operation and implicitly separates it from capcut_add_text. It stops short of naming the create sibling or any other alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "existing text segment" hints at preconditions, but there is no explicit when-to-use guidance, no statement of prerequisites (a draft must exist, segmentId must come from an add/list call), and no mention of what to do for new text versus existing text. An agent must infer the routing decision.

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