Skip to main content
Glama

Import transcript

import_transcript
Destructive

Import SRT or WebVTT subtitles as a project's transcript instead of transcribing, and use them to re-clean text and pick clips again on done or failed projects.

Instructions

Use an SRT or WebVTT file as the project's transcript instead of transcribing: right after create_project (only the video is fetched) or on a done or failed project (it then re-cleans the transcript and picks clips again; accepted and rejected fixes, cuts and corrections on the old transcript are lost for good). Give exactly one of text, uploadId or url. Returns { format, cues, words, warnings, message }; follow with wait_for_project.

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>"
    },
    "name": "import_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects, search_clips or create_project)
urlNohttp(s) link to a public .srt/.vtt file
textNoThe contents of the .srt or .vtt file
formatNoauto (default) decides from the WEBVTT headerauto
languageNoLanguage code of the text, e.g. en, es, ja (default: the existing transcript's, else unknown)
uploadIdNoUpload id of an .srt/.vtt file sent to POST /api/upload

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.17.0

TDQS

A4.6/5.0
Behavior4/5

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

The destructiveHint annotation only flags that data may be lost; the description specifies exactly what is lost — accepted and rejected fixes, cuts and corrections on the old transcript — and that the transcript is re-cleaned and clips re-picked. It also discloses the return payload shape. It stops short of stating permissions or idempotency, so not a 5.

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?

Two dense sentences, front-loaded with the core action and the usage sites, with the destructive consequence and return shape packed into parentheticals. Slightly heavy nesting but every clause carries information.

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?

No output schema exists, yet the description names the returned fields and the mandatory follow-up step, and it covers the destructive side effect for a 6-parameter mutation tool. Nothing an agent needs to call it correctly is missing.

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 baseline is 3, but the description adds a genuine constraint not encoded in the schema: exactly one of text, uploadId or url must be supplied. That mutual-exclusion rule is the key thing an agent would otherwise get wrong.

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 — use an SRT or WebVTT file as the project's transcript — and explicitly contrasts it with the alternative of transcribing. An agent can distinguish this from create_project or get_transcript without inspecting 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 Guidelines5/5

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

Names the two valid call sites (right after create_project when only the video is fetched, or on a done/failed project) and states the consequence in each case. It also prescribes the follow-up call, wait_for_project, so the sequencing is unambiguous.

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