Skip to main content
Glama

fusion_build_graph

Builds a complete Fusion node graph from declarative nodes, connections, and keyframes, validating types and inputs and listing errors per node.

Instructions

Build a whole node graph from a declarative spec: nodes [{name,type,inputs}], connections [{from,to,input}], keyframes [{node,input,keys}], output node. All types/inputs validated; errors listed per 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": {
      "nodes": "<nodes>"
    },
    "name": "fusion_build_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodesYes
itemIdNoTimeline item unique id (from timeline_get_clips)
outputNo
sourceNoitem
timelineNoTimeline name or id (default: current timeline)
compIndexNo
itemIndexNo1-based position of the clip on the track (transitions are not counted)
keyframesNo
trackTypeNovideo
trackIndexNo
connectionsNo

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.4/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations by stating that all types and inputs are validated and that errors are reported per node, which tells the agent partial failures are possible and diagnosable. It does not say whether an existing graph is replaced or merged, whether the operation is atomic on validation failure, or whether it requires a specific comp/timeline state.

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?

Two sentences, front-loaded with the core action, and the bracketed field notation packs a lot of structure into few words without filler. Slightly dense — the trailing 'output node' reads as a fragment and the relationship between the spec blocks and the targeting parameters is never bridged.

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?

An output schema exists, so return values need not be explained, and the declarative spec itself is well covered. What is missing for a mutation tool of this complexity is the placement/targeting model — how source, timeline, trackType/trackIndex, itemIndex, compIndex and itemId combine to decide where the graph lands — which an agent cannot infer from 27% schema coverage.

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?

With schema description coverage at 27% across 11 parameters, the description carries meaningful weight and does explain the internal shape of the three largest structures (nodes {name,type,inputs}, connections {from,to,input}, keyframes {node,input,keys}), which the schema leaves undocumented. However, it says nothing about the six-plus targeting parameters (source, itemId, timeline, trackType, trackIndex, itemIndex, compIndex), leaving a substantial portion of the parameter surface to the bare schema.

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 uses a specific verb+resource pair ('Build a whole node graph from a declarative spec') and enumerates the three declarative blocks (nodes, connections, keyframes) plus the output node, so the agent knows exactly what will be produced. The word 'whole' implicitly separates it from incremental siblings like fusion_create_node and fusion_connect_nodes, but no sibling is named, so differentiation must be inferred.

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

Usage Guidelines3/5

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

Usage is only implied: building an entire graph in one call suggests batch construction versus repeated single-node calls, but the description never states when to prefer this over fusion_create_node/fusion_connect_nodes, nor any prerequisite such as needing an open composition or existing timeline clip. No when-not conditions are given.

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