score_hook
Score a TikTok, Reels, or Shorts hook against proven viral patterns. Returns a 0-100 score, percentile rank, matched pattern, strengths, weaknesses, and three improved hook variations. Use when the user has a draft hook to validate, wants to compare alternatives, or needs feedback before publishing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The hook to score (3-200 chars typical) | |
| niche | No | Optional niche context (e.g. "Beauty & Skincare", "Finance & Business") | |
| platform | Yes | Target platform — affects pattern matching |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | One-sentence verdict explaining the score | |
| score | No | Hook quality score (0-100) | |
| rewrites | No | Three rewritten versions at higher quality | |
| breakdown | No | Sub-scores (0-100) for five quality dimensions | |
| from_payg | No | Whether credits came from pay-as-you-go balance | |
| strengths | No | What the hook does well | |
| percentile | No | Percentile rank vs all scored hooks | |
| weaknesses | No | What could be improved | |
| pattern_match | No | Matched viral pattern name | |
| credits_remaining | No | Credits remaining after this call | |
| from_subscription | No | Whether credits came from subscription |