Skip to main content
Glama

capcut_add_mask

Add a shape mask to a CapCut draft segment using split/linear, filmstrip/mirror, circle, rectangle, heart, or stars, with feather, invert/reverse, rotation, and corner options.

Instructions

Add a shape mask (split/linear, filmstrip/mirror, circle, rectangle, heart, stars) with feather, invert/reverse, and roundCorner.

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>",
      "slug": "<slug>"
    },
    "name": "capcut_add_mask"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNofraction of canvas height e.g. 0.5
slugYessplit, filmstrip, circle, rectangle, heart, stars (or aliases linear, mirror, star)
draftYes
invertNoreverse mask
centerXNo-1..1
centerYNo-1..1
featherNo0..100
rotationNodegrees
rectWidthNorectangle width fraction 0..1
segmentIdYes
roundCornerNorectangle corner radius 0..100

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?

With no annotations supplied, the description carries the full disclosure burden and falls short: it does not say whether adding a mask replaces an existing one, whether it mutates the draft in place, or what happens on invalid shape/segment combinations. It only restates a feature list rather than describing behavior.

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 names the action first, then the supported shapes, then the adjustable properties. The parenthetical shape list is slightly noisy but earns its place as the primary discriminator.

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 an 11-parameter mutation tool with no annotations and no output schema, the description omits the most important context: which entity (draft/segment) the mask binds to and the mutation semantics. The schema covers most individual parameters, keeping this at a minimum-viable level rather than failing outright.

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 description coverage is 82%, so the schema already documents size, slug aliases, feather, invert, centerX/Y, and roundCorner. The description mirrors those same fields without adding new meaning such as anchoring rules or how feather interacts with invert, so the baseline of 3 applies.

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 ('Add') and resource ('shape mask') and enumerates the supported mask shapes, so an agent knows exactly what gets created. It does not explicitly contrast with capcut_remove_mask or explain what a mask attaches to, so sibling differentiation is left implicit.

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?

There is no when-to-use guidance, no preconditions (e.g., target must be a video/image segment), and no mention of how this relates to remove_mask or other mask operations. Usage is only inferable from the verb itself.

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