Skip to main content
Glama

clip_set_rotation

Rotate a timeline clip by a specified number of degrees to correct orientation or set its angle. Target the item by ID or track position in the current or named timeline.

Instructions

Rotate an item (degrees).

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": {
      "degrees": "<degrees>"
    },
    "name": "clip_set_rotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoTimeline item unique id (from timeline_get_clips)
degreesYes
timelineNoTimeline name or id (default: current timeline)
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.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds nothing: it does not say whether the rotation replaces an existing rotation or is applied additively, what pivot is used, or what happens on invalid degrees.

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

Conciseness3/5

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

It is a single short sentence with no wasted words, and the key term is front-loaded. However, this is under-specification rather than effective conciseness, since a mutation tool with six parameters needs more framing.

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 described. But for a six-parameter mutation tool with only 50% schema coverage, the description leaves the agent without the information needed to predict the tool's effect on an existing clip's transform.

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?

The only parameter meaning added is the unit for 'degrees', which the schema already constrains to -360..360. With schema description coverage at 50%, trackIndex and the semantics of degrees (clockwise vs counter-clockwise, absolute vs relative) are undocumented in both places, and the description does not compensate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'rotate' plus the resource 'item' and the parenthetical '(degrees)' convey the basic operation, but 'item' is vaguer than the schema, which reveals a timeline clip. It makes no attempt to distinguish itself from the many clip_set_* siblings (transform, position, crop), which an agent must infer from the names alone.

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 clip_set_transform or clip_set_position, no prerequisites, and no note about needing an existing clip. The agent is left to infer all context.

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