Skip to main content
Glama

clip_set_in_out

Set a timeline clip’s source in and out points to change the exact source range it plays, using native offset edits on Resolve 21+.

Instructions

Change which source range a timeline item plays (source in inclusive, out exclusive) by setting its left/right offsets natively (Resolve 21+).

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": {
      "sourceIn": "<sourceIn>",
      "sourceOut": "<sourceOut>"
    },
    "name": "clip_set_in_out"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoTimeline item unique id (from timeline_get_clips)
confirmNoOnly needed on Resolve < 21, where this falls back to a destructive re-placement
sourceInYes
timelineNoTimeline name or id (default: current timeline)
itemIndexNo1-based position of the clip on the track (transitions are not counted)
sourceOutYes
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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false. The description adds the key behavioral nuance an agent needs: native behavior is version-gated, and the operation is expressed as offset manipulation rather than re-placement. The destructive fallback under Resolve < 21 is only surfaced in the schema's confirm param, not the description.

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?

One sentence, front-loaded with the effect and immediately followed by the inclusive/exclusive contract and the version constraint. Nothing is wasted and the ordering follows how an agent reasons about the call.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need not be explained. For a mutation tool with 8 params, the description supplies the version gate and the range semantics, while the schema handles item identification and track targeting. Nothing essential to calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%, so the description carries real weight. It defines the crucial semantics the schema omits: source in is inclusive and out is exclusive. That is the single most important piece of meaning for correct invocation and is not repeating any field description.

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 and resource: change the source range a timeline item plays by setting left/right offsets. That distinguishes it from sibling media_set_mark_in_out, which operates on media rather than timeline items, without needing to name it.

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

Usage Guidelines4/5

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

Gives a clear applicability condition: native offset setting requires Resolve 21+. The schema completes the picture with the <21 destructive fallback and the confirm flag. It does not name an explicit alternative tool for other cases, but the when-to-use context is strong.

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