Skip to main content
Glama

Cut transcript words

add_transcript_cut
Destructive

Remove a whole-word spoken segment from a project transcript so captions and rendered clips skip it; the cut can be undone by rejecting the returned flagId.

Instructions

Remove the words spoken between startSec and endSec from the transcript, so captions and the rendered video skip them; the span must cover whole words. Returns { ok, flagId, rerendered, hint }. Undo it by passing the flagId to review_transcript_flags with status rejected.

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": {
      "id": "<id>",
      "startSec": "<startSec>",
      "endSec": "<endSec>"
    },
    "name": "add_transcript_cut"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects, search_clips or create_project)
endSecYesEnd of the words to cut, seconds
rerenderNoRe-render finished clips whose captions overlap the span (default true)
startSecYesStart of the words to cut, seconds from the start of the source video

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.26.3

TDQS

A4.7/5.0
Behavior5/5

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

annotations only say destructiveHint=true; the description goes well beyond that by naming exactly what is destroyed (the spoken words), the side effects (captions and finished video skip the span), a hard constraint (must cover whole words), the return shape, and a concrete undo route.

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 tight clauses: action and effect first, then the whole-word constraint, then return and undo. No redundant restatement of the schema or the name.

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 destructive four-parameter tool with no output schema, the description supplies the effect, the alignment constraint, the return fields, and the recovery path — everything an agent needs to invoke it safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3; the description earns extra credit by adding a real constraint on startSec/endSec that the schema does not express — the span must align to whole words.

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?

The description gives a specific verb and resource ("Remove the words... from the transcript") and states the downstream effect (captions and rendered video skip them), which separates it from transcript-editing siblings like add_transcript_correction.

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?

It clearly establishes the operating context and explicitly names the reversal path (pass the flagId to review_transcript_flags with status rejected). It does not state when a correction should be used instead of a cut, so it stops short of full when-not guidance.

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