Skip to main content
Glama

Markers as YouTube chapters

markers_to_youtube_chapters
Read-onlyIdempotent

Convert Premiere Pro sequence markers into a YouTube chapter list with timestamps and titles, filter by type or color, add a 0:00 intro when needed, and get rule warnings before pasting.

Instructions

Return the markers of a sequence as a YouTube chapter list: text with one "0:00 Title" line per marker (H:MM:SS for sequences of an hour or more), ready to paste into a video description. Titles come from the marker name, else the first comment line. Filter by type (e.g. "chapter") or colour to use only some markers. Returns text, chapters (time, timestamp, title), intro_added and warnings about YouTube's rules (start at 0:00, at least 3 chapters, 10 s minimum). Use export_markers with format "youtube" to write the list to a file.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "markers_to_youtube_chapters"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoOnly markers whose name or comment contains this text (plain substring, case-insensitive).
typeNoOnly markers of this type. One of "comment", "chapter", "segmentation", "web_link".
colorNoOnly markers of this colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan.
to_timeNoOnly markers that start at or before this sequence time, in seconds.
from_timeNoOnly markers that start at or after this sequence time, in seconds.
intro_titleNoTitle of that added 0:00 chapter. Default "Intro".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
ensure_zero_startNoAdd a chapter at 0:00 when no marker starts in the first second (YouTube ignores lists that do not start at 0:00). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description goes further by disclosing the return payload (text, chapters, intro_added, warnings) and the YouTube validity rules that generate warnings. It stops short of saying what happens when no markers match a filter or how the warning list is ordered, so it is strong rather than exhaustive.

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?

Four dense sentences, front-loaded with the output format and its rules, with no filler. The return-value sentence is a bit packed with field names, but every clause carries usable 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?

For a 9-parameter tool with no output schema, the description enumerates the returned fields, the timestamp formatting rule, the title derivation, and the auto-added 0:00 chapter. Nothing an agent needs in order to call it or interpret the result is missing.

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 100%, so every parameter including the type enum and colour index mapping is already documented. The description only restates the filtering intent and the title fallback (marker name, else first comment line), which adds modest meaning beyond the schema. Baseline 3 is appropriate here.

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 output shape: it returns markers of a sequence rendered as a YouTube chapter list, one "0:00 Title" line per marker. It distinguishes itself from export_markers by describing that tool as the file-writing path, so an agent can tell the two apart without opening a 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?

Explicitly names the alternative (export_markers with format "youtube") and the condition that selects it (writing the list to a file), while this tool returns text. It also states when to narrow output via type or colour filtering.

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