Skip to main content
Glama

roll_edit

Move a clip's cut point by a specified number of seconds, extending one side and shortening the other while keeping total clip length unchanged.

Instructions

Roll the cut at a clip's end (or start): the cut point moves by by seconds, one side gets longer and the other shorter, total length unchanged.

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": {
      "by": "<by>"
    },
    "name": "roll_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYesOffset (seconds)
idNoStable clip id from sequence_state (preferred; survives other edits)
clipNoClip index on that track (shifts after edits; prefer id)
edgeNoend
kindNoTrack typevideo
trackNoTrack index, 0 = V1/A1
sequenceNoSequence name or ID. Defaults to the active sequence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the important invariant (one side lengthens, the other shortens, total duration preserved), which is real behavioral value. However it says nothing about prerequisites, whether the sequence must be active or unlocked, whether the operation is undoable, or how boundary cases (cut at sequence start/end) behave.

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?

A single sentence, front-loaded with the action and resource, followed by the mechanical consequence. No filler, no repetition of schema fields.

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?

For a 7-parameter mutation tool with no annotations and no output schema, the description covers the core edit semantics but omits the addressing guidance (id vs clip index), the sign convention for `by`, and any failure or precondition information. Adequate as a minimum, but an agent could still call it incorrectly in edge cases.

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?

Schema coverage is 86%, so the schema already documents `by`, `id`, `clip`, `edge`, `kind`, `track`, and `sequence`. The description adds the meaning of `by` in terms of cut movement but never states the sign convention (which direction a positive offset moves the cut), which is the one piece of semantics the schema leaves open.

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 names a specific verb ('roll the cut') and a specific resource ('cut at a clip's end (or start)') and explains the resulting geometry, so an agent knows exactly which edit is performed. It stops short of naming a sibling it displaces (e.g. a ripple/trim tool), so it falls just below the top mark.

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: the phrase 'total length unchanged' suggests when a roll is appropriate instead of a trim or ripple edit, but there are no explicit when/when-not conditions and no pointer to an alternative tool. An agent must infer the selection rule from the mechanics described.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.