Rank Short Form Candidates
rank_short_form_candidatesRanks long-video transcript windows as short-form clip candidates using explainable local heuristics and overlap suppression, so you can prioritize editable moments without virality claims.
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. Different labeled speakers may overlap; same-speaker words may not, even when another speaker is between them. | |
| 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). | |
| expected_cep_target | No | Optional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard. | |
| expected_project_path | No | Optional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. | |
| receipt | No | Versioned common mutation receipt; success never implies rendered verification. | |
| idempotency | No | Present when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again. |