Skip to main content
Glama

studio_fit_duration

Fits a video edit to a target length in one revision by removing pauses, filler words, weak sentences and shots while protecting the hook and finale. Preview with dryRun before saving.

Instructions

Make the edit fit a target length (e.g. 45-min cut → 30 min, or 3:12 → 2:59) in one revision: removes pauses and filler words, then the weakest sentences (with a transcript), then the weakest shots, then trims each shot toward its strongest part. Hook and finale protected. dryRun shows the result without saving.

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": {
      "projectId": "<projectId>",
      "revision": "<revision>",
      "target": "<target>"
    },
    "name": "studio_fit_duration"
  }
}

Input Schema

NameRequiredDescriptionDefault
authorNo
dryRunNo
targetYes
revisionYes
projectIdYes
protectHookNo
protectFinaleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnly=false, destructive=false, idempotent=false, and the description is consistent with that, adding the important context that the reduction happens 'in one revision' rather than mutating in place. It also discloses the exact escalation order of cuts and that hook and finale are protected, which an agent could not infer. It stops short of saying what happens to the prior revision, whether the operation is reversible, or how long it takes.

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?

Two sentences, front-loaded with the outcome and followed by the mechanism; the parenthetical duration examples are compact and carry real information. No filler, no restatement of the tool name.

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 mutation tool with no output schema, the description covers effects and strategy well but leaves key calling details unaddressed: the meaning of the required `revision` field, the identity/authoring parameter, and whether prior revisions remain recoverable. Those gaps matter given 0% schema coverage.

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 0% across 7 parameters, so the description carries the full burden, and it only really explains `target` (via the duration examples) and `dryRun`. `projectId`, `revision`, and `author` are never mentioned, and `protectHook`/`protectFinale` are muddled — the text says hook and finale are protected, leaving it unclear whether those booleans default to true or must be set, and whether passing false disables the protection.

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

Purpose5/5

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

States a specific verb and outcome (make the edit fit a target length) and then enumerates the exact reduction strategy: pauses and filler words, then weakest sentences, then weakest shots, then per-shot trimming. The concrete examples ('45-min cut → 30 min, or 3:12 → 2:59') remove any ambiguity about what a 'target' is, so an agent can tell this apart from general editors like studio_auto_edit without opening the schema.

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?

The description makes clear when the tool applies — when an existing edit must be shortened to a duration — and notes that dryRun previews without saving. However it names no alternative sibling for adjacent jobs (e.g. fully automatic editing vs. highlight selection) and states no preconditions (must a timeline already exist? must it be renderable?).

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