Skip to main content
Glama

Transcribe an asset

transcribe_asset

Transcribe a ready video or sound to word-timed speech, in source seconds. Search assets first: if transcript is completed for the whole file, do not call transcribe again for the whole file; such a call answers that transcript and runs nothing. Otherwise pass startTime and endTime with the source range the shots you build use: only that range is transcribed, at no extra credits: it is part of the message a minute of it, billed by the second, and its words join the asset's transcript in place of any words it had in that range. A range of a completed transcript is transcribed again too, which brings back a word taken out of the transcript or heard wrong. The same range again is not charged twice. null for both transcribes the whole file, and replaces a transcript made from ranges. language keeps every word in the language the people speak: a completed transcript stays as it was made, so to hear a range of it again in that language, pass its startTime and endTime. Bind with transcript= in film props.

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": {
      "assetId": "<assetId>",
      "startTime": "<startTime>",
      "endTime": "<endTime>",
      "language": "<language>",
      "projectId": "<projectId>"
    },
    "name": "transcribe_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYes
endTimeYesSource second to stop reading at, or null for the asset's end. null for both reads the whole asset.
languageYesThe language the people in it speak, as an ISO-639-1 code ("ko", "en"), when the person's words or brief say it or make it plain; null when it is not known, and the language is heard from the speech.
projectIdYesThe project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs.
startTimeYesSource second to start reading at, or null for the asset's start. Pass the range of the shot you build.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / language
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The language the people in it speak, as an ISO-639-1 code (\"ko\", \"en\"), when the person's words or brief say it or make it plain; null when it is not known, and the language is heard from the speech."
      +}
    • changedInput schema / required
      Previous value: -[
      -  "assetId",
      -  "startTime",
      -  "endTime",
      -  "projectId"
      -]New value: +[
      +  "assetId",
      +  "startTime",
      +  "endTime",
      +  "language",
      +  "projectId"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations it discloses billing ("billed by the second", "at no extra credits", "The same range again is not charged twice"), cache/return behavior (a redundant call "answers that transcript and runs nothing"), and mutation semantics (range words "join the asset's transcript in place of any words it had in that range", null "replaces a transcript made from ranges"). The in-place replacement of existing words sits in mild tension with destructiveHint=false, but since the tool updates rather than deletes the asset's transcript it reads as an update caveat rather than a contradiction.

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

Conciseness3/5

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

Purpose and the search-first rule are front-loaded, but the middle clauses are tangled and partly ungrammatical ("at no extra credits: it is part of the message a minute of it, billed by the second"), which forces re-reading. Most sentences carry real information, but the packaging costs clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-required-parameter, non-read-only tool with no output schema, the definition covers billing, caching, range replacement, and language handling. The one gap is the shape of the returned transcript (it only alludes to "answers that transcript" and "brings back a word"), which matters given no output schema exists.

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?

With 80% schema coverage the baseline is 3, and the description genuinely adds meaning: null for both bounds transcribes the whole file and replaces a range-built transcript, a range is idempotent for billing, and language "keeps every word in the language the people speak" even for completed transcripts. Only projectId is left to the schema.

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

Purpose4/5

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

The opening states a specific verb and resource: "Transcribe a ready video or sound to word-timed speech, in source seconds." The word-timed output and source-second coordinates make it distinguishable from a generic analyze_video, but no sibling is named explicitly, so an agent must infer the boundary itself.

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 gives an explicit precondition ("Search assets first") and a hard when-not rule ("if transcript is completed for the whole file, do not call transcribe again for the whole file; such a call answers that transcript and runs nothing"), then the fallback path ("Otherwise pass startTime and endTime with the source range the shots you build use"). Both the use case and the exclusion are stated, not implied.

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.