Skip to main content
Glama

clip_set_crop

Crops a timeline clip by setting pixel offsets from each edge, with adjustable softness and an option to retain the image position.

Instructions

Crop an item (pixels from each edge), softness and retain-image-position.

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": "clip_set_crop"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
leftNo
rightNo
bottomNo
itemIdNoTimeline item unique id (from timeline_get_clips)
retainNo
softnessNo
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.9/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 operation. The description adds some operation-specific context by describing edge-pixel cropping, softness, and retaining image position. It does not explain reversibility, what 'retain-image-position' changes, or how existing crop settings are affected, leaving meaningful behavioral gaps.

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?

The definition is very short and front-loads the core operation. It contains no filler, though the fragmentary phrasing and unexplained terms make it slightly less structured than a fully polished sentence.

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?

This is an 11-parameter mutation tool with low schema description coverage. The description omits usage guidance, most parameter meanings, and behavioral details beyond the annotations. An output schema exists, so return values need not be explained, but the input-side completeness is still weak.

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 27% across 11 parameters. The description conceptually covers the four edge parameters and names softness and retain, but it does not clarify units, ranges, or the many timeline/track/item selection parameters. It partially compensates but leaves substantial parameter semantics undocumented.

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: 'Crop an item.' It also names the crop dimensions (pixels from each edge), softness, and retain-image-position. However, it uses the generic 'item' rather than 'clip' and does not distinguish this from sibling tools such as photo_crop or clip_set_properties.

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?

The description gives no explicit when-to-use or when-not-to-use guidance. It does not mention alternatives like photo_crop or clip_set_properties, nor does it state prerequisites or conditions for choosing this crop tool.

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