Rank Short Form Candidates
rank_short_form_candidatesIdentify the strongest short-form clip candidates from a long video transcript by scoring windows for hooks, completeness, keyword density, and duration fit while suppressing overlapping picks.
Instructions
Rank long-video transcript windows as short-form clip candidates using explainable local heuristics (hook, completeness, density, supplied evidence peaks, keywords, duration fit, speaker consistency) with overlap suppression. Local-only plan; not a virality prediction and never changes Premiere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | No | Topic keywords or short phrases whose presence is rewarded. | |
| frame_rate | No | Frame rate used to snap start/end frames; defaults to 30. | |
| hook_words | No | Extra single-word hook tokens added to the built-in lexicon. | |
| max_seconds | No | Longest allowed candidate duration in seconds; defaults to 60. | |
| min_seconds | No | Shortest allowed candidate duration in seconds; defaults to 15. | |
| motion_peaks | No | Optional source-time motion peaks from local analysis (for example detect_motion_peaks). | |
| word_timeline | Yes | Caller-supplied word-timed transcript for one Premiere source item. Words must be ordered by start time and bound to the transcript revision returned by get_clip_transcript_uxp. | |
| marker_seconds | No | Optional source-time editor-flagged moments (markers). | |
| max_candidates | No | Maximum candidates returned after overlap suppression; defaults to 8. | |
| laughter_seconds | No | Optional source-time laughter moments supplied by the caller. | |
| audio_energy_peaks | No | Optional source-time audio energy peaks from local analysis (for example detect_audio_transients). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |