Skip to main content
Glama

Edit transcript

edit_transcript
DestructiveIdempotent

Replace the cues of a finished transcription (from transcribe or caption_video) with corrected text or timing, without transcribing again. Free; needs the key that owns the job. Pass cues [{start, end, text}] in seconds or subtitles (SRT, VTT or JSON); the old cues are overwritten. A later burn_captions, translate or remove_silences with this transcriptionJobId uses the edited cues and pays only its own step. To fix spellings for every future job use update_glossary {action:'save'} instead. Returns the job with the new SRT, VTT and JSON URLs.

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": {
      "jobId": "<jobId>"
    },
    "name": "edit_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
cuesNoCorrected cues [{start, end, text}] with start/end in seconds. Pass this or subtitles.
jobIdYesId of the finished transcribe or caption_video job whose cues to replace.
api_keyNoOnly for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.
subtitlesNoCorrected captions as SRT, WebVTT or JSON. Pass this or cues.

Output Schema

NameRequiredDescriptionDefault
idNoJob id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.
kindNoJob kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).
stepNoCurrent pipeline step while running.
errorNoFailure reason when status is failed.
resultNoResult when succeeded: url, files[{name, url}], clips, text...
statusNoqueued, running, succeeded or failed.
progressNoProgress (0-1) and ETA while running.
warningsNoNon-blocking notes.
costCentsNoCredits charged (1 credit = 1 cent).
expiresAtNoWhen the result files are deleted.
refundedCentsNoCredits refunded after a failure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "description": "A job: poll get_job with id until status is succeeded or failed.",
      +  "properties": {
      +    "costCents": {
      +      "description": "Credits charged (1 credit = 1 cent).",
      +      "type": "number"
      +    },
      +    "error": {
      +      "description": "Failure reason when status is failed."
      +    },
      +    "expiresAt": {
      +      "description": "When the result files are deleted."
      +    },
      +    "id": {
      +      "description": "Job id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId.",
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "Job kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...).",
      +      "type": "string"
      +    },
      +    "progress": {
      +      "description": "Progress (0-1) and ETA while running."
      +    },
      +    "refundedCents": {
      +      "description": "Credits refunded after a failure.",
      +      "type": "number"
      +    },
      +    "result": {
      +      "description": "Result when succeeded: url, files[{name, url}], clips, text..."
      +    },
      +    "status": {
      +      "description": "queued, running, succeeded or failed.",
      +      "type": "string"
      +    },
      +    "step": {
      +      "description": "Current pipeline step while running.",
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "description": "Non-blocking notes.",
      +      "items": {},
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / cues / description
      Added value: +"Corrected cues [{start, end, text}] with start/end in seconds. Pass this or subtitles."
    • addedInput schema / properties / jobId / description
      Added value: +"Id of the finished transcribe or caption_video job whose cues to replace."
    • addedInput schema / properties / subtitles / description
      Added value: +"Corrected captions as SRT, WebVTT or JSON. Pass this or cues."
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description corroborates with 'the old cues are overwritten'. Beyond annotations it adds real operational context not present in structured fields: an authorization requirement ('needs the key that owns the job'), a zero-cost claim ('Free'), and credit-only-for-own-step behavior for downstream jobs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded in the first clause and the following sentences each carry distinct information (input format, overwrite semantics, downstream reuse, alternative tool, return shape). It is denser than ideal – the pricing/step sentence is packed – but nothing 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 4-parameter mutation tool it covers everything an agent needs: trigger conditions, input formats, mutually exclusive parameters, overwrite consequences, auth requirements, cost implications, downstream effects, and the returned artifact (new SRT, VTT and JSON URLs). An output schema exists, and the description's return note is a bonus rather than padding.

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; the description still adds value by clarifying units ('in seconds') and the accepted subtitle formats (SRT, VTT or JSON), and reinforces the either/or relationship between cues and subtitles. It does not go further into cue ordering or validation rules.

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 uses a specific verb and resource ('Replace the cues of a finished transcription') and constrains scope precisely: 'finished transcription (from transcribe or caption_video)', 'without transcribing again'. It also distinguishes itself from a plausible sibling fix path by naming update_glossary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states when to use this tool (correcting cues on an already-finished job) and when to use an alternative, naming update_glossary {action:'save'} for spellings that should apply to all future jobs. It further describes the downstream context: later burn_captions, translate or remove_silences calls will consume the edited cues.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources