Skip to main content
Glama

fusion_create_mask

Creates rectangle, ellipse, polygon, or bspline masks and optionally attaches the result as an EffectMask on a Fusion node.

Instructions

Create a mask (rectangle, ellipse, polygon, bspline) and optionally attach it as EffectMask of a node.

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": {
      "shape": "<shape>"
    },
    "name": "fusion_create_mask"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoMCP_Mask
shapeYes
widthNo
centerNo
heightNo
invertNo
itemIdNoTimeline item unique id (from timeline_get_clips)
sourceNoitem
applyToNo
softEdgeNo
timelineNoTimeline name or id (default: current timeline)
compIndexNo
itemIndexNo1-based position of the clip on the track (transitions are not counted)
trackTypeNovideo
trackIndexNo

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world operation. The description adds that it creates one of four mask shapes and can attach the result to a node, but it does not explain whether attachment replaces an existing EffectMask or what else changes on the node.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no redundant wording. It states the core action and optional attachment efficiently.

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 15-parameter mutation tool with low schema description coverage, the description is too sparse. It does not clarify timeline/clip targeting, attachment semantics, or how the many optional parameters affect mask creation, though the output schema handles return values separately.

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 20% across 15 parameters, so the description needs to compensate but does not. It mentions shape variants and optional attachment, yet gives no meaning for most parameters such as itemId, timeline, compIndex, trackType, center, softEdge, or invert.

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 states a specific verb and resource: create a mask, with supported shapes enumerated. It does not explicitly distinguish this from sibling mask or node-creation tools, so it is clear but lacks 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?

It implies the tool is for creating masks and optionally attaching them as an EffectMask, but gives no when-to-use guidance, no exclusions, and no alternatives such as color_magic_mask or node-based mask workflows.

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

Deploy Server

Other Tools