Skip to main content
Glama

capcut_add_shape

Add PNG shapes, backgrounds, gradients, grids, shadows, letterboxes, waves, or curved lines to a CapCut draft timeline at a specified time.

Instructions

Generate a crisp PNG shape/background/gradient/grid/shadow/letterbox/wave/curved_line into the draft and place it on the timeline.

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>",
      "shape": "<shape>",
      "atSec": "<atSec>"
    },
    "name": "capcut_add_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
posXNo
posYNo
atSecYes
colorNohex e.g. #FFFFFF or #333333
draftYes
scaleNo
shapeYes
widthNo
durSecNo
heightNo
pointsNocontrol points [[x,y], ...] for curved_line/line (2=line, 3=quadratic, 4=cubic Bezier)
opacityNo
colorEndNogradient end hex e.g. #0033AA
rotationNo
fillAlphaNo0..1 fill alpha
trackIndexNo
gridSpacingNogrid cell spacing in px
strokeColorNohex stroke/line color
strokeWidthNostroke/line thickness in px
cornerRadiusNorounded rectangle corner radius in px
gradientAngleNogradient angle in degrees (default 135)
trackRenderIndexNo

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 supplied, so the description carries the full burden of behavioral disclosure. It does reveal that the tool writes into a draft and inserts a segment on the timeline, which implies mutation, but it says nothing about reversibility, whether it needs an open/active draft, how track placement is resolved, or what the call returns. For a 22-parameter mutating tool this is a substantial gap.

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?

One sentence, front-loaded with the verb and the outcome, with no filler or hedging. Its only weakness is that the slash-delimited enumeration of shape types is dense and does not carry additional meaning beyond the enum itself.

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?

With 22 parameters, no annotations, and no output schema, the definition is far too thin for the tool's complexity. An agent cannot learn from this text how shapes are positioned, whether existing timeline segments are affected, or how the many optional styling parameters interact, leaving it dependent on guessing from property names.

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 41%, so the description needed to compensate and does not. It names shape families that correspond to the `shape` enum but explains none of the geometry or styling parameters (`points`, `gradientAngle`, `fillAlpha`, `gridSpacing`, `trackRenderIndex`, `opacity` vs `fillAlpha`). Several of the most consequential parameters remain undocumented in both places.

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 pairs a concrete verb ("Generate") with a concrete resource (a PNG shape/background/gradient/etc.) and states the effect (added into the draft and placed on the timeline). The enumerated shape families map onto the `shape` enum, so an agent can recognize this as the generative-graphics sibling of capcut_add_image or capcut_add_effect. It stops short of any explicit sibling differentiation.

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 statement of when to reach for this tool versus capcut_add_image, capcut_add_background_music, or capcut_add_effect, nor any prerequisite guidance. Nothing explains that `draft`, `shape`, and `atSec` must be supplied before calling, or what happens if `trackIndex` is omitted. Usage must be inferred entirely from the tool name.

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