Skip to main content
Glama

Convert seconds to sequence timecode

sequence_time_to_timecode
Read-onlyIdempotent

Convert sequence-relative seconds into Premiere Pro timecode using the sequence's frame rate, display format, and start time; also returns the zero-based frame number and frame-snapped time.

Instructions

Convert a time in seconds from the sequence start to the timecode string Premiere shows for it in that sequence, honouring the sequence's frame rate, video display format and start time. Also returns the 0-based frame number and the time snapped to a whole frame. Use convert_time for arithmetic at any frame rate without a sequence, sequence_timecode_to_time for the reverse.

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": {
      "time": "<time>"
    },
    "name": "sequence_time_to_timecode"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesTime in seconds from the sequence start.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
include_start_timeNotrue = add the sequence start time (zero point) so the result matches the timeline ruler; false = timecode counted from 00:00:00:00. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, and closed-world, so the bar is lower. The description adds meaningful context beyond them: results honour the sequence's frame rate, video display format and start time, and the tool also returns a 0-based frame number and frame-snapped time.

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?

Two sentences, front-loaded with the core conversion, then the sibling routing. No filler and no repetition of annotation metadata.

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, so the description carries the return-value burden — and it does, naming the timecode string plus the accompanying frame number and frame-snapped time. The sequence-vs-standalone distinction is also fully covered.

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 a baseline of 3 applies, but the description explains why a sequence is required at all — frame rate, display format and start time come from it. The mention of start-time honouring also contextualises include_start_time beyond its schema wording.

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+resource: convert seconds from sequence start into the timecode string Premiere displays for that sequence. It also clarifies what differentiates it from siblings by naming convert_time and sequence_timecode_to_time and describing their respective jobs.

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?

Explicitly routes between alternatives: use convert_time for arithmetic at any frame rate without a sequence, and sequence_timecode_to_time for the reverse direction. The selection criteria 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.

Deploy Server

Other Tools