Skip to main content
Glama

capcut_set_matting

Toggle Smart Remove Background (AI portrait matting) on a video or image segment to enable or disable background removal.

Instructions

Enable or disable Smart Remove Background (AI portrait matting) on a video/image 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_matting"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftYes
enabledNo
segmentIdYes

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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only that this is a toggle. It says nothing about whether the operation is reversible, whether AI processing adds latency or cost, what happens to a segment that has no detectable subject, or how it interacts with other background tools.

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 no filler or redundancy. It is efficient, though the terseness leaves little room for the operational detail an agent needs.

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 3-parameter mutation tool with zero annotation coverage, no output schema, and 0% parameter documentation, one sentence is thin. Missing are the draft/segment relationship, defaults for the optional boolean, and any statement of effect or reversibility.

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 0%, so the description must compensate; it partially does, mapping 'segment' to segmentId and 'enable or disable' to the boolean 'enabled'. The 'draft' parameter is never explained, and the accepted format of segmentId (and whether 'enabled' defaults to true when omitted) remains undocumented.

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 specific verb pair (enable/disable) with a named feature ('Smart Remove Background (AI portrait matting)') scoped to a 'video/image segment'. The parenthetical disambiguates it from neighbors like capcut_set_chroma_key and capcut_set_bg_blur, though it never explicitly contrasts itself with them.

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 guidance on when to use this versus chroma key or background blur, no preconditions (e.g., segment type, subject must be a person), and no note on whether disabling restores the original footage. The agent must infer the usage context entirely.

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