Skip to main content
Glama

Correct transcript words

add_transcript_correction

Corrects misheard caption words by replacing the transcript span from startSec to endSec with specified text; use it to fix names or errors before captions re-render. Undo via the returned flagId.

Instructions

Make captions show "text" instead of the words spoken between startSec and endSec (a misheard name, say); 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>",
      "text": "<text>"
    },
    "name": "add_transcript_correction"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects, search_clips or create_project)
textYesWhat the captions should say for that span
endSecYesEnd of the words to correct, seconds
rerenderNoRe-render finished clips whose captions overlap the span (default true)
startSecYesStart of the words to correct, 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.5/5.0
Behavior4/5

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

Only destructiveHint=false is annotated, so the description carries most of the burden and does well: it discloses the return payload { ok, flagId, rerendered, hint } and, critically, the reversal path through review_transcript_flags. It doesn't state permission requirements or what happens if the span misaligns with word boundaries, leaving a small gap.

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 compact clauses: what it does, what it returns, how to undo it. Purpose is front-loaded and no sentence is redundant.

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 mutation tool with a single annotation and no output schema, the description supplies the missing pieces: the return shape, the reversal mechanism, and the word-boundary constraint. Nothing an agent needs to call or unwind this correctly is absent.

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 is 3, but the description adds real meaning: startSec/endSec define the spoken words to replace rather than arbitrary offsets, the span must align to whole words, and flagId is the handle for undoing the change. The rerender parameter's overlap semantics are left entirely to the schema.

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 resource (make captions show "text" instead of spoken words) and pins the exact scope (between startSec and endSec). The parenthetical example ('a misheard name, say') and the whole-word constraint make it immediately distinguishable from a cut or transcript-import tool.

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?

Gives clear usage context (fixing misheard words within a span) plus a hard precondition that the span must cover whole words. It also names the follow-up route for undoing the change via review_transcript_flags with status rejected. It does not explicitly contrast with add_transcript_cut or state when-not to use it, so it stops short of a 5.

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