Skip to main content
Glama

studio_captions_import

Import a local SRT or WebVTT file as source-timed captions for one source, with revision guarding, optional timing offsets, and the option to retain existing captions.

Instructions

Import a local SRT or WebVTT file as SOURCE-timed captions for one source (revision guarded). Optional offset in seconds; replace:false keeps existing captions of that source.

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": {
      "projectId": "<projectId>",
      "revision": "<revision>",
      "file": "<file>"
    },
    "name": "studio_captions_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes
authorNo
offsetNo
replaceNo
revisionYes
projectIdYes
sourceIndexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare a non-destructive, non-idempotent write, and the description adds genuinely new behavioral context beyond them: the import is revision guarded (optimistic concurrency) and replace:false preserves existing captions on that source, implying replace:true overwrites them. That overwrite nuance is the most decision-relevant behavior and it is stated. It does not describe the response or error cases, 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 verb and resource, with no filler. The parenthetical '(revision guarded)' and the all-caps 'SOURCE-timed' are telegraphic enough to require a moment of interpretation, which is the only structural weakness.

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

Completeness3/5

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

For a 7-parameter mutation with no output schema and zero schema coverage, the definition covers the critical import semantics but omits the author parameter entirely and says nothing about what a successful import returns or how an unparseable file is reported. Adequate for the happy path, incomplete for edge cases.

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

Parameters3/5

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

Schema description coverage is 0% across 7 parameters, so the description must carry the load. It usefully clarifies file (local SRT/WebVTT only), offset (in seconds), replace (false keeps existing), and sourceIndex indirectly via 'for one source', but author, projectId, and the revision parameter's role are left entirely to the schema's names and constraints.

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?

States a specific verb and resource: import a local SRT or WebVTT file as SOURCE-timed captions for one source. Format and timing semantics are named, so an agent knows exactly what the tool produces. No sibling in the visible catalog is caption-related, so there is nothing to differentiate against, which keeps this just below a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the definition makes clear this is the path for bringing a local subtitle file into a source, but it never says when to prefer it over other paths or what preconditions apply (existing captions, source already selected). The replace:false note hints at one decision point but stops short of guidance.

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