Skip to main content
Glama

Razor at several times

razor_at_times

Cuts a sequence at multiple timeline times in one call, on all tracks or a chosen track type/index, to chop on beats, markers, or scene changes. Returns cuts per time and final clip count.

Instructions

Make cuts at several timeline times (seconds) in one call, on every track or on one track (track_type + track_index). Use it to chop a sequence on beats, markers or scene changes. Times in gaps or on existing edits make no cut. Returns the number of cuts made per time and the clip count afterwards.

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": {
      "times": "<times>"
    },
    "name": "razor_at_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
timesYesTimeline times of the cuts, in seconds. Each is snapped to a frame.
track_typeNoRestrict to one track type: "video" or "audio". Omit for both.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNoRestrict to one 0-based track index (needs track_type). Omit for every track of that type.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, but say nothing about outcomes. The description adds genuinely non-obvious behavior: times falling in gaps or on existing edits produce no cut, and the call reports cuts per time plus resulting clip count. It does not cover undo/irreversibility of a timeline mutation, which the annotations leave ambiguous.

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?

Three sentences, front-loaded with the action and scope, then the use case, then edge-case and return behavior. Every sentence carries information not duplicated elsewhere.

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?

For a 5-parameter mutation tool with no output schema, the description covers the operation, its targeting scope, its no-op edge case, and the return payload, while the schema handles sequence selection and argument dependencies. Nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100%, so every parameter is already documented, including the frame-snapping of times and the track_type dependency for track_index. The description restates the seconds unit and the track_type + track_index pairing but adds no format or constraint detail beyond the schema; baseline 3 applies.

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?

"Make cuts at several timeline times (seconds) in one call, on every track or on one track" gives a specific verb (cuts), resource (timeline) and scope (multiple times, all tracks vs. one track via track_type + track_index). That scope statement effectively separates it from single-time/all-track razor operations, but no sibling is named explicitly, so an agent must infer the contrast.

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?

"Use it to chop a sequence on beats, markers or scene changes" gives a clear positive use context, which is more than most definitions offer. There is no when-not guidance or explicit pointer to razor_track / razor_all_tracks for the single-time or single-location case.

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