Skip to main content
Glama

fusion_get_composition

Read-only

Inspect a Fusion composition to retrieve its name, render range, and nodes, or add a composition to a timeline item when none exists by setting create to true.

Instructions

Inspect a Fusion composition (item's comp, or the Fusion page's current comp): name, render range, nodes. create: true adds a comp to the item if it has none.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fusion_get_composition"
  }
}

Input Schema

NameRequiredDescriptionDefault
createNo
itemIdNoTimeline item unique id (from timeline_get_clips)
sourceNoitem
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

C2.9/5.0
Behavior2/5

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

The description usefully discloses a side effect the schema does not: create: true mutates state by adding a comp to the item. However, that write behavior conflicts with the supplied readOnlyHint: true annotation, so an agent trusting the annotation could believe create: true is a harmless read. The disclosure itself is valuable, but it exposes an inconsistency rather than resolving it.

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 compact sentences with the subject and returned fields front-loaded, and the create caveat placed last where it belongs. The parenthetical target description is dense but earns its space; there is no filler.

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?

An output schema exists, so return values need not be spelled out, but with 8 optional parameters and low schema coverage the description should explain how the addressing parameters interact to locate a comp. It also leaves the readOnlyHint conflict unresolved, which matters for a tool that can mutate.

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 38% across 8 parameters, so the description carries real burden. It clarifies create (default false, adds a comp only when none exists) and implicitly maps the item/current choice onto the source enum, but itemId, compIndex, itemIndex, trackType and trackIndex get no explanation of how they combine to select a comp.

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 ("Inspect") and resource ("Fusion composition") and disambiguates the two targets it can read: an item's comp versus the Fusion page's current comp. It also names what is returned (name, render range, nodes). It stops short of naming sibling tools such as fusion_get_nodes, so an agent must infer the boundary from behavior alone.

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 implied rather than stated: use it to look at an existing comp, and set create: true when the item has no comp yet. That is a useful conditional, but there is no explicit when-not guidance and no routing to alternatives like fusion_get_nodes or fusion_insert_composition, which an agent would need to pick correctly.

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