Skip to main content
Glama

Plan shorts from a transcript

plan_shorts
Read-onlyIdempotent

Slice a long video into ranked 15-60 s shorts from transcript timestamps (plus optional loudness and silence data). Each short gets start/end, a Hook Score 1-99 with reasons, a title and hashtags. Open the result in the editor to render it.

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": {
      "segments": "<segments>"
    },
    "name": "plan_shorts"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many shorts (default 5).
wordsNoOptional word timings [{text, t0, t1}] (more precise than segments).
energyNoOptional loudness per second, 0..1 (the editor exports it as analysis.energy).
max_secNoLongest short in seconds (default 60).
min_secNoShortest short in seconds (default 15).
durationNoVideo length in seconds (default: end of the last segment + 1).
segmentsYesTranscript segments [{text, start, end}] in seconds (Whisper-style). Words inside a segment are spread evenly.
silencesNoOptional silence gaps [{start, end}] in seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by describing the shape of each produced short (start/end, Hook Score 1-99 with reasons, title, hashtags), which tells the agent this is a non-destructive analysis producing structured planning data rather than a rendered file. It stops short of covering edge behavior, such as what happens when the transcript is shorter than the requested count or how the ranking is ordered.

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?

Three compact sentences with zero filler, and the core operation is front-loaded in the first sentence. The return-value summary and the render next-step are each a single clause, so every sentence earns its place.

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?

There is no output schema, so the description correctly takes on the burden of describing return values, listing the fields each short receives. It also points to the follow-on render step. It is slightly incomplete for an 8-parameter tool in that it does not address failure or degenerate cases (too few segments, missing timings) or how results are ordered when ranked.

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 defaults and ranges is already documented in the schema, which sets the baseline at 3. The description adds only a little: it clarifies that loudness and silence data are optional and that the short length window is 15-60 s, matching the min_sec/max_sec defaults. It does not explain precedence between segments and words or how count interacts with available material.

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 description gives a specific verb and resource: 'Slice a long video into ranked 15-60 s shorts from transcript timestamps', and it names the inputs (transcript timestamps, optional loudness and silence data) that drive the operation. An agent can tell this is a planning/segmentation tool rather than a rendering one. It does not, however, name or contrast itself with likely siblings such as plan_silence_cuts or score_hooks, so sibling differentiation is left implicit.

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 tool is clearly meant to run before rendering, and the closing sentence 'Open the result in the editor to render it' establishes a next step. There is no explicit when-to-use versus when-not-to-use guidance, and no statement about how this differs from plan_silence_cuts or score_hooks. An agent can infer the workflow position but not the selection criteria.

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.

Resources