Hooklayer MCP
Hooklayer is an official MCP server providing viral-content intelligence for AI agents. It exposes tools to score hooks, predict virality, analyze creator accounts, extract voice DNA, and research trends across TikTok, Instagram, and YouTube. It allows agents to test content angles before filming and automate competitive analysis workflows directly within AI workspaces like Claude and ChatGPT.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://hooklayer.dev/api/mcpWhat its tools do
18 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Warning Advertises resources/templates/list but does not implement it
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Score TikTok hooks for virality potential before filming
- Analyze competitor creator accounts and extract viral DNA
- Predict virality of draft scripts using evidence-layer scoring
- Research trending templates and track competitor changes over time
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- hooklayer 1.0.2
- MCP protocol negotiated in check
- 2024-11-05
- Tools
- 18 advertised
- Resources
- 1 advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {},
"resources": {},
"extensions": {
"io.modelcontextprotocol/skills": {}
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
18 advertised
analyze_account
Analyze a TikTok, YouTube, or Instagram creator by handle or channel ID. Returns viral DNA scores (viral_dna_score, replicability_score, originality_score, consistency_score, audience_fatigue), content patterns, format fingerprint, top recent videos with transcripts, content gaps, a headline_insight object (the single largest quantified performance gap across length, hook, format, and cadence, plus its so_what), and suggested next research steps. Use when the user asks to analyze a creator, account, channel, or competitor. Supports TikTok (full transcript extraction), YouTube (Shorts and longform analysis with captions when available), and Instagram (Reels with best-effort transcripts).
{
"type": "object",
"required": [
"handle"
],
"properties": {
"since": {
"type": "string",
"description": "Optional ISO date (e.g. \"2026-04-01\"). Filter the candidate video pool to those posted on/after this date. Useful when the user asks \"show me what they've done THIS month\" — the route returns honest empty + warning when the filter matches 0, no credits charged. Use either `since` or `window`, not both."
},
"handle": {
"type": "string",
"description": "Creator handle (with or without @ prefix) or YouTube channel ID. Examples: \"@mrbeast\", \"mrbeast\", \"UCX6OQ3DkcsbYNE6H8uQQuVA\"."
},
"window": {
"enum": [
"24h",
"7d",
"30d",
"90d",
"6m",
"12m",
"this-month"
],
"type": "string",
"description": "Recency sugar — same effect as `since` but takes a friendlier bucket. Maps to a since-cutoff at request time. Use either `since` or `window`, not both."
},
"platform": {
"enum": [
"tiktok",
"youtube",
"instagram"
],
"type": "string",
"description": "Platform to analyze. \"tiktok\" (default) returns full pipeline with transcripts. \"youtube\" analyzes recent Shorts via YouTube Data API + Innertube caption extraction — videos with captions disabled or geoblocked resolve to transcript: null. \"instagram\" (shipped 2026-07-06) fetches the creator's reels via ScrapeCreators Instagram API + best-effort reel transcripts on the top 5 — Instagram data lacks lifetime totalLikes so that field defaults to 0."
},
"recent_only": {
"type": "boolean",
"description": "When true, hard-cap the candidate pool to videos posted in the last 90 days. Stricter than `window=90d` because it never falls through to archival data on a thin recent corpus."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"profile": {
"type": "object",
"description": "Creator profile (handle, bio, followers, following, total_likes, total_videos)"
},
"from_payg": {
"type": "boolean",
"description": "Whether credits came from pay-as-you-go balance"
},
"steal_map": {
"type": "array",
"items": {
"type": "object"
},
"description": "Actionable elements to replicate from this creator"
},
"viral_dna": {
"type": "object",
"properties": {
"viral_dna_score": {
"type": "number"
},
"audience_fatigue": {
"type": "number"
},
"consistency_score": {
"type": "number"
},
"originality_score": {
"type": "number"
},
"replicability_score": {
"type": "number"
}
},
"description": "Five viral DNA scores (0-100 each)"
},
"content_gaps": {
"type": "array",
"items": {
"type": "string"
},
"description": "Untapped content opportunities the creator is missing"
},
"recent_videos": {
"type": "array",
"items": {
"type": "object"
},
"description": "Top recent videos with view counts, transcripts, and engagement"
},
"headline_insight": {
"type": "object",
"properties": {
"wow": {
"type": "string",
"description": "The single most material finding in the account's data: the dimension (video length, hook type, format, posting cadence, or topic) with the largest quantified performance gap, stated with two real numbers from the creator's videos. Not a restated score."
},
"so_what": {
"type": "string",
"description": "The one concrete change the wow gap implies, stated in a single line."
},
"confidence": {
"enum": [
"high",
"medium",
"low"
],
"type": "string",
"description": "Confidence in the headline insight; lower on thin (<8 videos) or stale (>30 days) samples."
}
},
"description": "The largest quantified performance gap for this creator, plus its implication. Presentation-neutral data — the caller decides whether and how to surface it."
},
"pattern_analysis": {
"type": "object",
"description": "Content pattern breakdown (posting cadence, topic clusters)"
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"from_subscription": {
"type": "boolean",
"description": "Whether credits came from subscription"
},
"recommended_chain": {
"type": "array",
"items": {
"type": "object",
"properties": {
"cost": {
"type": "number",
"description": "Credit cost for this tool call"
},
"tool": {
"type": "string",
"description": "Exact tool name to call"
},
"params": {
"type": "object",
"description": "Pre-filled parameters for the tool"
},
"reason": {
"type": "string",
"description": "Why this step is recommended"
},
"confidence": {
"enum": [
"high",
"medium",
"low"
],
"type": "string",
"description": "Signal-derived confidence that this step will produce useful results"
},
"action_class": {
"enum": [
"research",
"synthesize",
"draft",
"publish",
"account"
],
"type": "string",
"description": "Authority taxonomy: research (read-only data gathering, lowest authority), synthesize (generate content in-memory, low), draft (save to workspace, medium), publish (post to external platforms, HIGH), account (modify account/billing, HIGHEST). All Hooklayer v1 tools are research or synthesize."
},
"side_effects": {
"type": "string",
"description": "Service-side effects this step would cause, stated honestly. HookLayer never modifies TikTok, Instagram, YouTube or TikTok Shop accounts or content. It DOES change internal HookLayer state: every billable tool debits the credit balance and writes a usage record, watch_account persists a creator watch, and get_changes / product_scout persist snapshots and history. Use \"none\" only for a tool that charges nothing and writes nothing (list_watches)."
},
"expected_output": {
"type": "string",
"description": "One-line summary of what this tool returns"
}
}
},
"description": "Suggested next tool calls with pre-filled parameters — advisory only, agent decides whether to execute"
},
"format_fingerprint": {
"type": "object",
"description": "Dominant content format patterns (durations, styles, edit types)"
}
}
}{
"title": "Analyze TikTok Account",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}watch_account
Start tracking a creator so future calls can detect what changed. Creates a durable CreatorWatch + a baseline CreatorSnapshot capturing the creator's current viral DNA scores, format fingerprint, and top recent videos. Use when the user says 'track', 'watch', 'follow', 'keep an eye on' a creator/channel/handle. Idempotent — calling 'watch @same' twice with a fresh baseline in place returns the existing watch with credits_charged=0. Cost: 0 credits when a fresh existing watch snapshot or a compatible recent analyze_account cache can be reused. Otherwise a fresh baseline invokes analyze_account and costs 5 credits — this can happen even for an already-existing watch once freshness expires. Reuses the same 'analyze' permission as analyze_account — no new OAuth scope, no re-consent required.
{
"type": "object",
"required": [
"handle",
"platform"
],
"properties": {
"handle": {
"type": "string",
"description": "Creator handle (with or without @ prefix). Examples: \"@mrbeast\", \"mrbeast\"."
},
"platform": {
"enum": [
"tiktok",
"instagram",
"youtube"
],
"type": "string",
"description": "Platform the creator publishes on. Same platforms as analyze_account."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"status": {
"enum": [
"tracked",
"already_tracked"
],
"type": "string"
},
"creator": {
"type": "string",
"description": "Normalized \"@handle\" the watch is stored under"
},
"message": {
"type": "string"
},
"platform": {
"enum": [
"tiktok",
"instagram",
"youtube"
],
"type": "string"
},
"watch_id": {
"type": "string"
},
"data_age_days": {
"type": "number",
"description": "Age in days of the newest video in the baseline"
},
"snapshot_count": {
"type": "number",
"description": "Total snapshots stored for this watch so far"
},
"baseline_source": {
"enum": [
"watch_snapshot",
"analysis_cache",
"fresh"
],
"type": "string",
"description": "watch_snapshot = existing CreatorWatch already had a fresh snapshot (0 credits); analysis_cache = recent analyze_account response reused to build a new baseline (0 credits); fresh = analyze_account invoked, 5 credits charged."
},
"credits_charged": {
"type": "number"
},
"baseline_created_at": {
"type": "string",
"description": "ISO timestamp of the baseline snapshot"
}
}
}{
"title": "Track (Watch) a Creator",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool saves a creator watch and baseline snapshot and may run a fresh analysis that debits credits when no reusable analysis is available.",
"openWorldHintJustification": "This tool may retrieve current creator data from external social platforms and third-party data sources.",
"destructiveHintJustification": "This tool only adds non-destructive internal tracking state. It does not delete or modify external social-platform content or accounts."
}get_changes
Detect what changed since the last saved baseline for a tracked creator. Runs a fresh analyze_account under the hood, compares against the most recent CreatorSnapshot, persists the new snapshot, and returns ONLY the meaningful shifts (format, viral DNA, engagement, hook pattern, topic pillars, outlier videos). Use when the user asks 'what changed with @creator', 'anything new', 'check this competitor again', 'what's different since last time', 'check my tracked creator', or 'has anything changed'. Requires a previously tracked creator (call analyze_account + watch_account first if there is no baseline yet). Costs 5 credits per call because the fresh analysis is genuine (not cached). Returns a top_action pointing at the single next tool worth calling given the detected change. Returns status='no_meaningful_change' honestly when nothing shifted — no fabricated deltas.
{
"type": "object",
"properties": {
"handle": {
"type": "string",
"description": "Creator handle (with or without @). Required if watch_id is not provided."
},
"platform": {
"enum": [
"tiktok",
"instagram",
"youtube"
],
"type": "string",
"description": "Platform the tracked creator publishes on. Required if watch_id is not provided."
},
"watch_id": {
"type": "string",
"description": "Watch identifier returned by watch_account or list_watches. Preferred over (platform, handle) when you have it — the ownership check is exact."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"status": {
"enum": [
"changes_found",
"no_meaningful_change",
"baseline_refreshed",
"not_tracked",
"no_baseline"
],
"type": "string",
"description": "changes_found = meaningful shifts detected; no_meaningful_change = fresh analysis ran, nothing shifted enough to matter; baseline_refreshed = prior snapshot used an incompatible schema, new baseline saved; not_tracked = no active CreatorWatch for that creator; no_baseline = watch exists but has no snapshots yet."
},
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"after": {},
"delta": {
"type": "number"
},
"before": {},
"evidence": {
"type": "string"
},
"delta_pct": {
"type": "number"
},
"importance": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
},
"change_type": {
"enum": [
"viral_dna_shift",
"engagement_shift",
"follower_shift",
"format_shift",
"hook_pattern_shift",
"topic_shift",
"outlier_emergence"
],
"type": "string"
},
"why_it_matters": {
"type": "string"
},
"recommended_action": {
"type": "object",
"properties": {
"tool": {
"type": "string"
},
"params": {
"type": "object"
},
"reason": {
"type": "string"
}
}
}
}
}
},
"creator": {
"type": "string"
},
"platform": {
"enum": [
"tiktok",
"instagram",
"youtube"
],
"type": "string"
},
"top_action": {
"type": "object",
"properties": {
"tool": {
"type": "string"
},
"params": {
"type": "object"
},
"reason": {
"type": "string"
}
},
"description": "Single most useful next tool call given the detected changes. null when nothing meaningful shifted."
},
"snapshot_count": {
"type": "number",
"description": "Total snapshots saved for this watch after this call."
},
"credits_charged": {
"type": "number"
},
"high_importance": {
"type": "number"
},
"medium_importance": {
"type": "number"
},
"meaningful_changes": {
"type": "number",
"description": "Count of high + medium importance changes."
},
"current_snapshot_at": {
"type": "string"
},
"previous_snapshot_at": {
"type": "string"
}
}
}{
"title": "Detect Changes Since Last Check",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false,
"readOnlyHintJustification": "This tool runs a fresh analysis, may debit credits, stores a new historical snapshot, and updates the saved watch's check metadata.",
"openWorldHintJustification": "This tool retrieves current creator data from external social-platform data sources to compare against the saved baseline.",
"destructiveHintJustification": "This tool only appends non-destructive internal tracking history. It does not delete or modify external social-platform content or accounts."
}list_watches
List every creator the authenticated user is tracking. Read-only, 0 credits. Returns each watch's id, platform, handle, when it was created + last updated, when the last snapshot was taken, and whether it's active. Does NOT return the snapshot payload itself — call watch_account (idempotent) to refresh a baseline. Use when the user asks 'what am I tracking', 'show my watches', 'list creators'.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"properties": {
"total": {
"type": "number"
},
"watches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"handle": {
"type": "string"
},
"platform": {
"enum": [
"tiktok",
"instagram",
"youtube"
],
"type": "string"
},
"watch_id": {
"type": "string"
},
"is_active": {
"type": "boolean"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"snapshot_count": {
"type": "number"
},
"last_snapshot_at": {
"type": "string",
"description": "null when no snapshot exists (rare — only if a persistence race happened)"
}
}
}
}
}
}{
"title": "List Tracked Creators",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool only reads the authenticated user's existing saved watch records. It does not debit credits or modify stored state.",
"openWorldHintJustification": "This tool reads HookLayer's own stored watch metadata and does not query live external social-platform data.",
"destructiveHintJustification": "This tool does not create, modify, or delete any stored or external resource."
}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.
{
"type": "object",
"required": [
"text",
"platform"
],
"properties": {
"text": {
"type": "string",
"description": "The hook to score (3-200 chars typical)"
},
"niche": {
"type": "string",
"description": "Optional niche context (e.g. \"Beauty & Skincare\", \"Finance & Business\")"
},
"platform": {
"enum": [
"tiktok",
"reels",
"shorts"
],
"type": "string",
"description": "Target platform — affects pattern matching"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"why": {
"type": "string",
"description": "One-sentence verdict explaining the score"
},
"score": {
"type": "number",
"description": "Hook quality score (0-100)"
},
"rewrites": {
"type": "array",
"items": {
"type": "string"
},
"description": "Three rewritten versions at higher quality"
},
"breakdown": {
"type": "object",
"properties": {
"urgency": {
"type": "number"
},
"curiosity": {
"type": "number"
},
"specificity": {
"type": "number"
},
"emotional_pull": {
"type": "number"
},
"pattern_alignment": {
"type": "number"
}
},
"description": "Sub-scores (0-100) for five quality dimensions"
},
"from_payg": {
"type": "boolean",
"description": "Whether credits came from pay-as-you-go balance"
},
"strengths": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the hook does well"
},
"percentile": {
"type": "number",
"description": "Percentile rank vs all scored hooks"
},
"weaknesses": {
"type": "array",
"items": {
"type": "string"
},
"description": "What could be improved"
},
"pattern_match": {
"type": "string",
"description": "Matched viral pattern name"
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"from_subscription": {
"type": "boolean",
"description": "Whether credits came from subscription"
}
}
}{
"title": "Score Hook Quality",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}viral_remix
Take a viral video and produce a fresh script that mirrors its structure and energy pattern for a new topic. Returns the extracted formula, scene-by-scene script with voiceover and visuals, camera directions, and text overlays. Use when the user finds a video they want to replicate the structure of. Pass either a video URL (TikTok, YouTube, or Instagram) or a transcript directly. When promoting a specific product, ALWAYS pass target_product + verified_product_facts so the generator does not fabricate product details.
{
"type": "object",
"anyOf": [
{
"required": [
"source_url"
]
},
{
"required": [
"transcript"
]
}
],
"properties": {
"niche": {
"type": "string",
"description": "Optional niche hint"
},
"my_topic": {
"type": "string",
"description": "DEPRECATED alias for target_topic. Legacy clients only. Normalized internally."
},
"platform": {
"enum": [
"tiktok",
"reels",
"shorts"
],
"type": "string",
"description": "Target platform for the remix. Adjusts pacing and CTA style if provided."
},
"source_url": {
"type": "string",
"description": "TikTok/YouTube/Instagram URL — transcript will be auto-extracted"
},
"transcript": {
"type": "string",
"description": "Pre-extracted transcript (alternative to source_url, faster)"
},
"target_topic": {
"type": "string",
"description": "What the remix should be about. Default: same niche as original."
},
"target_product": {
"type": "string",
"description": "The product the remix should promote. When provided, the generator will NOT invent product names, prices, timelines, features, or customer stories. Combined with verified_product_facts, this forces on-topic + grounded output."
},
"verified_product_facts": {
"type": "array",
"items": {
"type": "string"
},
"description": "Facts the generator is allowed to cite about target_product (e.g. \"runs inside ChatGPT and Claude\", \"14 tools for viral research\"). Every specific product claim in the generated script is checked against this list — unsupported claims populate unsupported_claims[] and downgrade quality. If target_product is passed WITHOUT verified_product_facts, the response will land at degraded quality (generation cannot be grounded)."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"overlays": {
"type": "array",
"items": {
"type": "string"
},
"description": "Text overlay suggestions per scene"
},
"from_payg": {
"type": "boolean",
"description": "Whether credits came from pay-as-you-go balance"
},
"verify_hook": {
"type": "object",
"description": "The hook plus a suggested follow-up: the caller may pass it to score_hook for a structurally-independent score (the script generator deliberately does NOT self-rate). Informational only, not an instruction to call anything."
},
"camera_shots": {
"type": "array",
"items": {
"type": "string"
},
"description": "Phone-native camera direction per scene"
},
"fresh_script": {
"type": "object",
"properties": {
"cta": {
"type": "string",
"description": "Call-to-action closing"
},
"hook": {
"type": "string",
"description": "Opening hook line"
},
"scenes": {
"type": "array",
"items": {
"type": "object"
},
"description": "Scene-by-scene script with voiceover, visuals, and timing"
}
},
"description": "Complete scene-by-scene script mirroring the source structure"
},
"cta_archetype": {
"enum": [
"result_close",
"soft_bio_pointer",
"genuine_question",
"pinned_comment",
"comment_gate"
],
"type": "string",
"description": "Which CTA archetype the generator picked. Comment_gate is the failure-mode default for AI script generators; rotation tells you whether the prompt is working."
},
"ugc_authenticity": {
"type": "object",
"properties": {
"level": {
"enum": [
"native",
"ad_leaning"
],
"type": "string",
"description": "Honest signal of whether the generator drifted ad-ward"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of detected drift reasons (e.g. \"hook is 22 words\", \"CTA is comment-gate\")"
}
},
"description": "Tripwire for ad-shaped drift. Detected via regex on the produced script, not the model self-grade. If level=ad_leaning, surface to the user before shipping."
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"extracted_formula": {
"type": "string",
"description": "The viral DNA formula extracted from the source"
},
"from_subscription": {
"type": "boolean",
"description": "Whether credits came from subscription"
},
"structural_skeleton": {
"type": "string",
"description": "Which structural skeleton the generator used (confession_to_result, mistake_to_correction, etc). Surfaces rotation across the fleet."
}
}
}{
"title": "Remix Viral Video",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}trend_pulse
Research what is currently gaining traction in short-form content for a specific niche. Returns rising opportunities (formats, hooks, styles, topics) with growth signals, data sources, and saturated patterns to avoid. Use when the user asks what to post about, what's trending in a niche, or needs to validate a content idea against current trends. Supports the 18 canonical niches and optional region filtering.
{
"type": "object",
"properties": {
"niche": {
"enum": [
"Beauty & Skincare",
"Fitness & Health",
"Food & Cooking",
"Fashion & Style",
"Tech & Gadgets",
"Finance & Business",
"Education & Learning",
"Travel & Adventure",
"Comedy & Entertainment",
"Gaming",
"Lifestyle & Wellness",
"Parenting & Family",
"DIY & Crafts",
"Music & Dance",
"Pets & Animals",
"Sports",
"Motivation & Self-Help",
"SaaS & AI Tools"
],
"type": "string",
"description": "One of the 18 supported niches (Beauty & Skincare, Fitness & Health, Food & Cooking, Fashion & Style, Tech & Gadgets, Finance & Business, Education & Learning, Travel & Adventure, Comedy & Entertainment, Gaming, Lifestyle & Wellness, Parenting & Family, DIY & Crafts, Music & Dance, Pets & Animals, Sports, Motivation & Self-Help, SaaS & AI Tools). Loose names like \"travel\" or \"fitness\" are accepted but pass the canonical form when possible. Omit for broadly applicable trends."
},
"region": {
"type": "string",
"description": "Optional 2-letter ISO country code (US, GB, BR, JP, IN, PH, etc.). Threads to Google Trends geo + YouTube regionCode. Defaults to US when omitted. Reddit signals are global and ignore this param."
},
"deadline_hours": {
"type": "integer",
"maximum": 168,
"minimum": 1,
"description": "Optional (2026-07-06 magic-genie ritual): how many hours until the video posts. When set, each rising trend gets a trend_status (up-slope | plateau | fading | unknown) AND a deadline_verdict (safe | risky | no-go) so managers can answer \"will this trend still be alive when the video posts?\" without eyeballing the growth label. Use this on every brief-just-landed call — it turns trend_pulse from \"what's trending\" into \"what's SAFE to bet on for MY post window.\""
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"niche": {
"type": "string",
"description": "The niche these trends apply to"
},
"rising": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"growth": {
"type": "string",
"description": "Qualitative growth label (\"Rising\", \"Early signal\", \"Accelerating\"). NOT a numeric percentage — the upstream does not compute \"+178%\"-style rates. Use signal_strength as the quantitative anchor."
},
"suggestion": {
"type": "string"
}
}
},
"description": "Rising opportunities (format/hook/style) with qualitative growth labels + signal_strength numeric anchor (0-1) + suggestions"
},
"from_payg": {
"type": "boolean",
"description": "Whether credits came from pay-as-you-go balance"
},
"saturated": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
}
}
},
"description": "Saturated patterns to avoid"
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"from_subscription": {
"type": "boolean",
"description": "Whether credits came from subscription"
}
}
}{
"title": "Get Trend Pulse",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}find_viral_template
Find proven viral templates in a niche with example videos. Returns templates ranked by performance, including hook patterns, format structures, average views, and example URLs. Use when the user asks what's working in a niche or wants concrete copyable structures. Supports the 18 canonical niches with optional angle narrowing via query parameter for more specific results (e.g., "postpartum strength" within Fitness).
{
"type": "object",
"required": [
"niche"
],
"properties": {
"niche": {
"enum": [
"Beauty & Skincare",
"Fitness & Health",
"Food & Cooking",
"Fashion & Style",
"Tech & Gadgets",
"Finance & Business",
"Education & Learning",
"Travel & Adventure",
"Comedy & Entertainment",
"Gaming",
"Lifestyle & Wellness",
"Parenting & Family",
"DIY & Crafts",
"Music & Dance",
"Pets & Animals",
"Sports",
"Motivation & Self-Help",
"SaaS & AI Tools"
],
"type": "string",
"description": "One of the 18 supported niches (Beauty & Skincare, Fitness & Health, Food & Cooking, Fashion & Style, Tech & Gadgets, Finance & Business, Education & Learning, Travel & Adventure, Comedy & Entertainment, Gaming, Lifestyle & Wellness, Parenting & Family, DIY & Crafts, Music & Dance, Pets & Animals, Sports, Motivation & Self-Help, SaaS & AI Tools). Loose names like \"travel\" or \"fitness\" are accepted but pass the canonical form when possible."
},
"query": {
"type": "string",
"description": "Optional angle narrowing within the niche. E.g. niche=\"Fitness & Health\" + query=\"postpartum strength\" returns only postpartum-strength templates, not generic gym. Templates are scored by query-token match against title+description+hashtags; zero-match templates are dropped. Leave empty for niche-wide top templates."
},
"region": {
"type": "string",
"description": "Optional 2-letter ISO country code (US, GB, BR, JP, IN, PH, etc.). Threads to YouTube Search regionCode + TikTok niche query. Reddit niche signals are global and ignore this param. Pass when the user wants templates that resonate with a specific local audience."
},
"window": {
"enum": [
"24h",
"7d",
"30d",
"90d",
"this-month"
],
"type": "string",
"description": "Recency filter. Drops example videos older than the window. Note: TikTok hashtag-corpus rows often lack timestamps and are excluded when window is set — surfaces as a quality warning so callers can decide whether to broaden."
},
"platform": {
"enum": [
"tiktok",
"instagram"
],
"type": "string",
"description": "Platform to source templates from. \"tiktok\" (default) uses the full niche-aggregator (YouTube + Reddit + TikTok hashtags). \"instagram\" (2026-07-06) is keyword-search-only — the Instagram niche-aggregator isn't plumbed yet, so `query` becomes REQUIRED on IG. Output rubric_version signals which path ran: find_viral_template.v1 (main), .v2-keyword-fallback (TikTok fallback), .v3-instagram-keyword-only (IG-only path)."
},
"min_views": {
"type": "integer",
"minimum": 0,
"description": "Optional filter — only return examples above this view count"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"niche": {
"type": "string",
"description": "The niche searched"
},
"from_payg": {
"type": "boolean",
"description": "Whether credits came from pay-as-you-go balance"
},
"templates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"format": {
"type": "string"
},
"avg_views": {
"type": "number"
},
"hook_pattern": {
"type": "string"
}
}
},
"description": "Ranked viral templates with hook patterns and example URLs"
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"from_subscription": {
"type": "boolean",
"description": "Whether credits came from subscription"
}
}
}{
"title": "Find Viral Templates",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}search_videos
Search for short-form videos by keyword across TikTok or Instagram. Returns up to 20 videos ranked by engagement, with view counts, likes, shares, comments, hashtags, author info, and URLs. Use when the user asks to find videos about a topic or keyword. Supports optional filters for niche, minimum views, recency window, and region. Pass product_id to check which videos link a specific TikTok Shop product: linkage is exact_product_link only when the video carries that product link; keyword_match videos are NOT verified for that product, and evidence_summary.product_linkage.status is VIDEO_LINKAGE_UNVERIFIED when none link it. Region counts as verified only from the provider-reported video region; otherwise it is unknown. View counts are cumulative and do not show current acceleration.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Max videos to return after filtering. Default 12, max 20."
},
"niche": {
"type": "string",
"description": "Optional — only return videos whose description contains niche-related tokens. Loose niche strings work (\"fitness\", \"Beauty & Skincare\")."
},
"query": {
"type": "string",
"description": "Free-text search term. Examples: \"morning routine\", \"iphone case\", \"passive income\"."
},
"region": {
"type": "string",
"description": "ISO country code (US, GB, BR, PH, JP, etc.). Note: corpus coverage varies by region — small regions may return zero results and a degraded quality flag."
},
"window": {
"enum": [
"24h",
"7d",
"30d",
"this-month"
],
"type": "string",
"description": "Recency filter. Maps to the closest ScrapeCreators date bucket AND applies a client-side cutoff for defense-in-depth."
},
"platform": {
"enum": [
"tiktok",
"instagram"
],
"type": "string",
"description": "Which platform to search. \"tiktok\" (default) hits ScrapeCreators TikTok keyword search. \"instagram\" (2026-07-06) hits Instagram Reels search — note IG upstream ignores region/date_posted params, so region enforcement is client-side only (region_verified_count in the response tells you how many results verifiably matched)."
},
"min_views": {
"type": "integer",
"minimum": 0,
"description": "Optional view-count floor. Default 0."
},
"product_id": {
"type": "string",
"pattern": "^[0-9]{10,25}$",
"description": "Optional TikTok Shop product id. Videos that link this exact product are labelled exact_product_link and listed first; all others stay keyword_match (not verified for this product)."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"is_ad": {
"type": "boolean"
},
"likes": {
"type": "number"
},
"saves": {
"type": "number"
},
"views": {
"type": "number"
},
"author": {
"type": "object",
"properties": {
"nickname": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"shares": {
"type": "number"
},
"linkage": {
"enum": [
"exact_product_link",
"product_link_other",
"keyword_match"
],
"type": "string"
},
"comments": {
"type": "number"
},
"duration": {
"type": "number"
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"posted_at": {
"type": "string"
},
"thumbnail": {
"type": "string"
},
"description": {
"type": "string"
},
"provider_region": {
"type": [
"string",
"null"
],
"description": "Region the provider attached to the video; null = unknown"
},
"region_evidence": {
"enum": [
"provider_reported_match",
"text_signal",
"unknown"
],
"type": "string"
},
"engagement_score": {
"type": "number"
},
"linked_product_id": {
"type": [
"string",
"null"
],
"description": "TikTok Shop product the video links, if any"
},
"linked_product_url": {
"type": [
"string",
"null"
]
},
"is_paid_partnership": {
"type": "boolean"
}
}
}
},
"applied": {
"type": "object",
"description": "Echo of the filters actually applied — useful for debugging when results look surprising"
},
"quality": {
"type": "object",
"properties": {
"level": {
"enum": [
"full",
"partial",
"degraded"
],
"type": "string"
},
"reason": {
"type": "string"
}
}
},
"from_payg": {
"type": "boolean"
},
"filtered_count": {
"type": "number",
"description": "Videos returned after filtering + cap"
},
"upstream_count": {
"type": "number",
"description": "Videos returned by upstream before any filtering"
},
"evidence_summary": {
"type": [
"object",
"null"
],
"description": "Unique creators, creator concentration, posted-date range, duplicates removed, region evidence counts and product_linkage {status: VERIFIED | VIDEO_LINKAGE_UNVERIFIED | NOT_REQUESTED}."
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"from_subscription": {
"type": "boolean"
}
}
}{
"title": "Search Videos by Keyword",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}match_voice
Extract a creator's voice DNA from reference samples and rewrite a draft in their style. Requires at least 3 reference samples (video URLs or text). Returns voice profile (energy, humor, vocabulary, signature phrases), reusable prompt instructions, and the rewritten draft. Use when the user wants to write in another creator's style or match a specific voice.
{
"type": "object",
"required": [
"draft",
"reference_samples"
],
"properties": {
"draft": {
"type": "string",
"description": "The text to rewrite"
},
"reference_samples": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 3,
"description": "At least 3 reference samples — TikTok/YouTube/Instagram URLs or raw text"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"from_payg": {
"type": "boolean",
"description": "Whether credits came from pay-as-you-go balance"
},
"voice_profile": {
"type": "object",
"properties": {
"humor": {
"type": "string"
},
"energy": {
"type": "string"
},
"signatures": {
"type": "array",
"items": {
"type": "string"
},
"description": "Signature phrases and moves"
},
"vocabulary": {
"type": "string"
}
},
"description": "Extracted voice DNA profile"
},
"rewritten_draft": {
"type": "string",
"description": "The input draft rewritten in the matched voice"
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"from_subscription": {
"type": "boolean",
"description": "Whether credits came from subscription"
},
"prompt_instructions": {
"type": "string",
"description": "Reusable prompt to replicate this voice"
}
}
}{
"title": "Match Creator Voice",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}predict_virality
Score a draft script for viral potential with adversarial verification. Returns a virality score, recommendation (ship/rework/no-go), viral DNA breakdown with evidence, attack vectors analysis, and calibration metrics. Use when the user has a finished draft and wants pre-publish verification. Pass either a script string or a video URL.
{
"type": "object",
"required": [
"script"
],
"properties": {
"niche": {
"type": "string",
"description": "Niche context"
},
"script": {
"type": "string",
"description": "The draft script to predict on (or a video URL — auto-extracts transcript)"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"blueprint": {
"type": "object",
"description": "Retention diagnosis with weak seconds identified"
},
"from_payg": {
"type": "boolean",
"description": "Whether credits came from pay-as-you-go balance"
},
"viral_dna": {
"type": "object",
"description": "Hook type, structure, emotional triggers breakdown"
},
"share_reason": {
"type": "string",
"description": "Why viewers would share this content"
},
"target_emotion": {
"type": "string",
"description": "Primary emotion the content targets"
},
"virality_score": {
"type": "number",
"description": "Overall virality prediction (0-100)"
},
"credits_remaining": {
"type": "number",
"description": "Credits remaining after this call"
},
"from_subscription": {
"type": "boolean",
"description": "Whether credits came from subscription"
}
}
}{
"title": "Predict Virality Score",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}brief_to_blueprint
Turn a brand brief that just landed into a one-page creative blueprint the manager can forward to the creator and to the brand contact — hook + template + hashtag combo + trend-velocity check + shoot instructions, in one call. Use when a brand sends a product and needs content on a tight turnaround (e.g. "product arrived, need content in 48 hours") and the manager needs a defensible direction with no research time. Chains find_viral_template + trend_pulse + score_hook + predict_virality upstream but exposes them as one MCP tool so agents don't stitch them manually. Cost 7 credits (bundle discount vs firing the chain manually). Returns a blueprint object with verdict (GO | NEEDS_MORE_DATA | NO_GO) and verdict_reason, a hook (text + trend_still_alive: up-slope | plateau | fading | unknown), script, hashtags, shoot notes, risk flags, and manager talking points, plus a quality object (level + reason) describing completeness; when quality.level is not "full", or verdict is NEEDS_MORE_DATA or NO_GO, the blueprint is a starting point rather than a shippable direction.
{
"type": "object",
"required": [
"product",
"product_category",
"niche"
],
"properties": {
"niche": {
"enum": [
"Beauty & Skincare",
"Fitness & Health",
"Food & Cooking",
"Fashion & Style",
"Tech & Gadgets",
"Finance & Business",
"Education & Learning",
"Travel & Adventure",
"Comedy & Entertainment",
"Gaming",
"Lifestyle & Wellness",
"Parenting & Family",
"DIY & Crafts",
"Music & Dance",
"Pets & Animals",
"Sports",
"Motivation & Self-Help",
"SaaS & AI Tools"
],
"type": "string",
"description": "One of the 18 supported niches (Beauty & Skincare, Fitness & Health, Food & Cooking, Fashion & Style, Tech & Gadgets, Finance & Business, Education & Learning, Travel & Adventure, Comedy & Entertainment, Gaming, Lifestyle & Wellness, Parenting & Family, DIY & Crafts, Music & Dance, Pets & Animals, Sports, Motivation & Self-Help, SaaS & AI Tools). Loose names like \"beauty\" or \"fitness\" are auto-mapped."
},
"region": {
"type": "string",
"description": "Optional 2-letter ISO country code (US, GB, CA, etc.). Threads to niche + trend upstreams."
},
"product": {
"type": "string",
"description": "What the brand sent (name + one line, e.g. \"Athletic Greens AG1 travel packs — 30-count individual sachets for travel\")"
},
"platform": {
"enum": [
"tiktok",
"instagram"
],
"type": "string",
"description": "Target platform. Both TikTok and Instagram Reels supported (shipped 2026-07-06). When set to \"instagram\", the product-corpus lookup runs against Instagram Reels via ScrapeCreators, and the creator context (if creator_handle passed) fetches Instagram reels. Default: tiktok."
},
"creator_handle": {
"type": "string",
"description": "Optional creator handle (with or without @). If provided, the blueprint hook and script match THEIR voice patterns from recent videos. Highly recommended — a blueprint without creator context is generic."
},
"deadline_hours": {
"type": "integer",
"maximum": 168,
"minimum": 1,
"description": "How many hours until the video must be posted. Default 48. Affects trend-still-alive scoring — a 24-hour deadline needs a trend on the up-slope, not one that just plateaued."
},
"product_category": {
"type": "string",
"description": "Umbrella category (e.g. \"greens powder\", \"sunscreen\", \"protein bar\")"
}
}
}{
"type": "object",
"properties": {
"as_of": {
"type": "string"
},
"stats": {
"type": "object",
"properties": {
"rising_trends": {
"type": "integer"
},
"product_videos": {
"type": "integer"
},
"niche_templates": {
"type": "integer"
},
"creator_context_available": {
"type": "boolean"
}
}
},
"applied": {
"type": "object",
"description": "Echo of parameters resolved after canonicalization"
},
"quality": {
"type": "object",
"properties": {
"level": {
"enum": [
"full",
"partial",
"degraded"
],
"type": "string"
},
"reason": {
"type": "string"
}
}
},
"success": {
"type": "boolean"
},
"blueprint": {
"type": "object",
"properties": {
"hook": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"pattern": {
"type": "string"
},
"why_this_hook": {
"type": "string"
},
"trend_still_alive": {
"enum": [
"up-slope",
"plateau",
"fading",
"unknown"
],
"type": "string"
}
}
},
"script": {
"type": "object"
},
"verdict": {
"enum": [
"GO",
"NEEDS_MORE_DATA",
"NO_GO"
],
"type": "string"
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"risk_flags": {
"type": "array",
"items": {
"type": "string"
}
},
"shoot_notes": {
"type": "object"
},
"verdict_reason": {
"type": "string"
},
"why_this_will_land": {
"type": "array",
"items": {
"type": "string"
}
},
"manager_talking_points": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"provenance": {
"type": "object"
},
"credits_remaining": {
"type": "object",
"properties": {
"payg": {
"type": "number"
},
"total": {
"type": "number"
},
"subscription": {
"type": "number"
}
}
}
}
}{
"title": "Brief to Blueprint (24-48hr Panic Button)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false,
"readOnlyHintJustification": "This tool may debit the authenticated user's HookLayer credit balance and records usage/request telemetry, which changes service-side user state. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool may query external public sources, third-party APIs, or HookLayer's current content-intelligence data.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external social-platform content or accounts. Any service-side writes are limited to non-destructive billing and usage records."
}product_scout
Find and rank current TikTok Shop / social-commerce product opportunities using evidence rather than opinion. Use it to answer questions like 'what skincare products are breaking out in the US under $40', 'show me products with strong reviews but low competition', or 'what is worth testing in this niche right now'. Returns products ranked by a deterministic 9-component engine (demand, momentum, creator_adoption, competition, saturation, review_strength, price_attractiveness, creator_concentration, freshness), each carrying an opportunity status (emerging | promising | crowded | mature | cooling | insufficient_data), a qualification record (what passed, failed and is unknown), a confidence band, evidence-cited why_now[], risks[], insufficient_signals[] and history_coverage. Status comes from a qualification gate, never from the score: emerging needs measured sold-count growth across 3+ dated observations spanning 7+ days plus an independent signal (review growth or creator adoption over time); mature means established demand without verified growth; insufficient_data means trajectory cannot be verified yet, however high the score. verification_summary.outcome is NO_VERIFIED_OPPORTUNITIES whenever no returned product passed the gate - say so plainly instead of presenting the list as opportunities, and use verification_summary.by_status to explain whether the category or the filters were the limit. Amazon competition is never measured (AMAZON_COMPETITION_UNVERIFIED); never describe a product as unsaturated on Amazon. The ranking is deterministic and contains no model output - read qualification, why_now, risks and components to explain to the user WHY something ranked where it did, and never present the score on its own. Provider-reported fields live under provider_reported.* and are null when TikTok did not expose them; null means unknown, never zero, and sold counts are never multiplied by price to imply revenue. There is no revenue or GMV field. To validate a single product in depth once you have a shortlist, call analyze_product - product_scout ranks a field of candidates, analyze_product interrogates one. Not for generic video search (use search_videos), creator analysis (use analyze_account), or any guaranteed-sales claim. Cost: 5 credits. Requires the shop_intelligence entitlement.
{
"type": "object",
"required": [],
"properties": {
"sort": {
"type": "string",
"description": "Order the results: verified_first is the default when omitted, listing verified emerging products first and measured-growth products next, then unverified candidates and established comparisons interleaved so neither dominates, buyer-satisfaction risks last. Also: opportunity (same grouping, needs history), rating (highest rated), sold (most cumulative sold), reviews (most reviewed), discount, price_asc, price_desc, momentum, creator_adoption. An unsupported name is rejected, never replaced. History-backed sorts are refused up front when history is unavailable rather than silently falling back."
},
"limit": {
"type": "integer",
"description": "Max products to return. Default 20, hard cap 20. This is a ceiling, not a target — fewer rows means the provider had fewer matching products, never that results were withheld."
},
"niche": {
"type": "string",
"description": "Niche or category to search (e.g. 'Beauty & Skincare', 'Fitness & Wellness'). At least one of niche or query is required."
},
"query": {
"type": "string",
"description": "Free-text product keywords (e.g. 'wireless earbuds'). Widens the search corpus. May be combined with niche."
},
"market": {
"type": "string",
"description": "2-letter ISO region code (US, GB, BR, ...) or 'GLOBAL'. Defaults to US. Only regions ScrapeCreators covers for TikTok Shop return usable data."
},
"category": {
"type": "string",
"description": "Strict category-breadcrumb filter applied to returned rows (case-insensitive substring). Rows whose category is unknown are dropped when this is set. Distinct from niche, which is a search hint rather than a gate."
},
"max_sold": {
"type": "integer",
"description": "Maximum provider-reported cumulative sold count. Strict: unknown is dropped."
},
"min_sold": {
"type": "integer",
"description": "Minimum provider-reported cumulative sold count. This is a lifetime total, not a sales rate. Strict: unknown is dropped."
},
"price_max": {
"type": "number",
"description": "Maximum price in the market currency."
},
"price_min": {
"type": "number",
"description": "Minimum price in the market currency."
},
"max_rating": {
"type": "number",
"description": "Maximum average rating 0-5. Pair with min_rating to isolate a mid-tier band rather than only top-rated listings. Strict: unknown rating is dropped."
},
"min_rating": {
"type": "number",
"description": "Minimum average rating 0-5. Strict: rows with unknown rating are dropped."
},
"max_reviews": {
"type": "integer",
"description": "Maximum provider-reported review count - the usual way to find products before they are saturated with social proof. Strict: rows whose review count could not be retrieved are dropped rather than assumed to be zero."
},
"min_reviews": {
"type": "integer",
"description": "Minimum provider-reported review count. Review counts are fetched per candidate, so this filter reflects real provider data. Strict: rows whose review count could not be retrieved are dropped rather than assumed to be zero."
},
"max_discount": {
"type": "number",
"description": "Maximum discount percentage 0-100. Strict: unknown is dropped."
},
"min_discount": {
"type": "number",
"description": "Minimum discount percentage 0-100 off the listed original price. Strict: unknown is dropped."
},
"min_momentum": {
"type": "number",
"description": "Minimum momentum component 0-100. Momentum needs stored history; when the history layer has not seen these products yet the request is refused up front with executed:false rather than charged and returned empty."
},
"max_saturation": {
"type": "number",
"description": "Maximum saturation component 0-100. Saturation needs video-to-product linkage that the current pipeline does not extract, so this is accepted for forward compatibility and reported as unsupported rather than silently applied."
},
"max_competition": {
"type": "number",
"description": "Maximum competition tolerated, 0-100, expressed intuitively (lower = less competition accepted)."
},
"opportunity_stage": {
"type": "string",
"description": "Comma-separated stages to keep: emerging, promising, crowded, mature, cooling, insufficient_data. Use 'emerging,promising' for the usual 'find breakout products' request. An empty result reports verification_summary.by_status so you can tell a weak category from a restrictive filter; when nothing in the scan could be classified, the empty result is not charged."
},
"min_creator_adoption": {
"type": "number",
"description": "Minimum creator-adoption component 0-100 (distinct creators per day with confirmed showcase links). Needs stored history; cold-start products report insufficient_data for this component."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"success"
],
"properties": {
"niche": {
"type": [
"string",
"null"
]
},
"query": {
"type": [
"string",
"null"
]
},
"region": {
"type": "string"
},
"success": {
"type": "boolean"
},
"executed": {
"type": "boolean",
"description": "Present and false when the request needed stored history that is unavailable. Nothing was charged; drop the history-backed filter or sort and retry."
},
"provenance": {
"type": "object"
},
"generated_at": {
"type": "string",
"description": "ISO timestamp"
},
"opportunities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"price": {
"type": [
"number",
"null"
]
},
"region": {
"type": "string"
},
"shop_id": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"image_url": {
"type": [
"string",
"null"
]
},
"shop_name": {
"type": [
"string",
"null"
]
},
"why_shown": {
"type": "string",
"description": "Why the row is in the list (it matched the search) and its role. Being listed is not a recommendation."
},
"avg_rating": {
"type": [
"number",
"null"
]
},
"product_id": {
"type": "string"
},
"opportunity": {
"type": "object",
"properties": {
"risks": {
"type": "array",
"items": {
"type": "string"
}
},
"score": {
"type": [
"number",
"null"
],
"description": "0-100 composite of present-state quality. Null when too few components resolved. Never decides the status."
},
"status": {
"enum": [
"emerging",
"promising",
"crowded",
"mature",
"cooling",
"early_read",
"insufficient_data"
],
"type": "string",
"description": "Decided by the qualification gate. early_read is retired and no longer emitted."
},
"why_now": {
"type": "array",
"items": {
"type": "string"
},
"description": "Evidence-cited reasons the composite landed where it did."
},
"components": {
"type": "object",
"description": "9 components, each {value|null, status, confidence|null, reason}."
},
"confidence": {
"type": "number"
},
"insufficient_signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"reason": {
"type": "string"
},
"status": {
"enum": [
"insufficient_data",
"unavailable"
],
"type": "string"
},
"component": {
"type": "string"
}
}
},
"description": "Every component that could not contribute, so partial coverage is disclosed honestly."
}
},
"description": "Score plus the evidence behind it. Never surface score without components / why_now / risks / insufficient_signals."
},
"product_url": {
"type": [
"string",
"null"
],
"description": "TikTok Shop canonical URL, validated before it leaves the server. Null when unavailable."
},
"result_role": {
"enum": [
"verified_emerging",
"measured_growth",
"unverified_candidate",
"established_comparison",
"quality_risk"
],
"type": "string",
"description": "What the row is in this answer. Only verified_emerging passed the qualification gate. measured_growth has measured sales growth but did not pass it, so never call it verified. established_comparison rows are context; unverified_candidate rows lack the dated evidence to be called opportunities."
},
"product_title": {
"type": [
"string",
"null"
]
},
"qualification": {
"type": "object",
"properties": {
"demand": {
"type": "object"
},
"failed": {
"type": "array",
"items": {
"type": "string"
}
},
"passed": {
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"momentum": {
"type": "object"
},
"unknowns": {
"type": "array",
"items": {
"type": "string"
}
},
"competition": {
"type": "object"
},
"evidence_ledger": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"enum": [
"fact",
"computed",
"hypothesis",
"missing"
],
"type": "string"
},
"claim": {
"type": "string"
},
"source": {
"type": "string"
},
"observed_at": {
"type": [
"string",
"null"
]
},
"sample_size": {
"type": [
"number",
"null"
]
}
}
}
},
"creator_evidence": {
"type": "object"
},
"amazon_competition": {
"type": "object"
},
"qualified_emerging": {
"type": "boolean"
},
"supporting_signals": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "The gate behind the status. qualified_emerging is true only when every emerging requirement passed. momentum.state is measured_growth | measured_flat | measured_slowdown | unknown; creator_evidence.state is adoption_over_time | recent_posting_increase (measured growth among videos carrying the provider affiliate marker for this exact product) | recent_linked_videos | observed_not_over_time (activity, not growth) | VIDEO_LINKAGE_UNVERIFIED; VIDEO_LINKAGE_UNVERIFIED and competition.state COMPETITION_UNVERIFIED mean not assessed, never \"none\". evidence_ledger[] separates fact, computed, hypothesis and missing claims, each with source, observed_at and sample_size; never present a hypothesis or a missing item as a finding. Quote failed[] and unknowns[] when explaining why a product is not an opportunity."
},
"history_coverage": {
"type": "object",
"properties": {
"review_snapshots": {
"type": "integer"
},
"product_snapshots": {
"type": "integer"
},
"newest_snapshot_age_days": {
"type": [
"number",
"null"
]
},
"oldest_snapshot_age_days": {
"type": [
"number",
"null"
]
},
"creator_product_snapshots": {
"type": "integer"
}
},
"description": "How much stored history the engine actually saw for this product."
},
"product_category": {
"type": [
"string",
"null"
]
},
"provider_reported": {
"type": "object",
"properties": {
"sold_count": {
"type": [
"integer",
"null"
],
"description": "Cumulative lifetime units, not a rate. Never multiply by price to imply revenue."
},
"review_count": {
"type": [
"integer",
"null"
]
},
"commission_rate": {
"type": [
"number",
"null"
]
}
},
"description": "Facts supplied by TikTok. Null means the provider did not expose the field - it does NOT mean zero, and must never be reported to the user as \"none\" or \"no reviews\"."
},
"discount_percentage": {
"type": [
"number",
"null"
]
}
}
}
},
"query_context": {
"type": "object",
"description": "The filters actually applied, echoed back."
},
"source_coverage": {
"type": "object",
"description": "What the engine managed to read: shop search, product hydration, history depth, counts."
},
"credits_remaining": {
"type": [
"integer",
"null"
]
},
"recommended_chain": {
"type": "array",
"items": {
"type": "object",
"properties": {
"why": {
"type": "string",
"description": "Grounded reason this step is worth taking, safe to show the user verbatim."
},
"tool": {
"type": "string"
},
"params": {
"type": "object"
},
"credits": {
"type": "integer"
}
}
},
"description": "Suggested next calls, chosen from what this result actually contained. SUGGESTIONS ONLY - present them and let the user pick. Do not call them automatically; each one costs the user credits."
},
"degradation_reasons": {
"type": "array",
"items": {
"type": "string"
},
"description": "Why coverage was partial, when it was. Surface these rather than presenting a degraded result as complete."
},
"verification_summary": {
"type": "object",
"properties": {
"outcome": {
"enum": [
"VERIFIED_OPPORTUNITIES",
"NO_VERIFIED_OPPORTUNITIES"
],
"type": "string"
},
"returned": {
"type": "integer"
},
"by_status": {
"type": "object"
},
"thresholds": {
"type": "object"
},
"explanation": {
"type": "string"
},
"verified_emerging": {
"type": "integer"
},
"amazon_competition": {
"type": "object"
},
"candidates_classified": {
"type": "integer"
},
"returned_verified_emerging": {
"type": "integer"
}
},
"description": "Scan-level verdict. outcome is VERIFIED_OPPORTUNITIES or NO_VERIFIED_OPPORTUNITIES; by_status counts every classified product before stage filters and the limit; explanation says whether the category or the filters were the limit. Lead with this when outcome is NO_VERIFIED_OPPORTUNITIES."
},
"skipped_intelligence_filters": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filters that could not be enforced for this request."
}
}
}{
"title": "Product Scout - Rank TikTok Shop Opportunities",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false,
"readOnlyHintJustification": "This tool debits the authenticated user's HookLayer credit balance and records usage telemetry plus demand-driven commerce history snapshots. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool queries ScrapeCreators TikTok Shop endpoints (shop search, shop products, product details, product reviews) and HookLayer commerce history.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external content or accounts. Service-side writes are limited to non-destructive billing, telemetry, and historical snapshots."
}analyze_product
Deeply validate ONE TikTok Shop product before committing money or content to it. Give it a product_id from product_scout (or any TikTok Shop product URL) and it reads the listing, samples reviews across the full depth rather than only the most recent page, pulls comparable competitors, and returns what buyers actually say. You get: provider-reported sold / review / rating / price evidence; buyer voice split into what buyers praise and what they complain about; unmet needs and purchase objections in buyers' own words; return and fulfilment signal; a Why Now read; competitor intelligence and where rivals are weak; risks separated into product risks, market risks and data-confidence risks; and a 'how to beat this' synthesis of concrete differentiation angles traced back to specific review evidence. Every section states whether it resolved - provider facts, HookLayer analysis and genuinely unavailable evidence are distinguishable, and thin evidence is reported as thin rather than filled in. There is no revenue or GMV output and sold counts are never multiplied by price. Use product_scout first to find candidates, then this to decide between them. Cost: 10 credits. Requires the shop_intelligence entitlement.
{
"type": "object",
"required": [],
"properties": {
"market": {
"type": "string",
"description": "2-letter ISO region code or 'GLOBAL'. Defaults to US. Should match the market the product was found in."
},
"product_id": {
"type": "string",
"description": "TikTok Shop numeric product id, as returned by product_scout in opportunities[].product_id. Supply this or product_url."
},
"product_url": {
"type": "string",
"description": "Any TikTok Shop product URL (tiktok.com/shop/pdp/..., shop.tiktok.com/.../pdp/..., /view/product/...). Used when the user pastes a link instead of an id."
},
"include_competitors": {
"type": "boolean",
"description": "Default true. Competitor discovery and the cross-product buyer-pain map are the differentiated part of this report; set false only when the caller explicitly wants the single-product read and fewer provider calls. The credit cost is the same either way."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"success"
],
"properties": {
"region": {
"type": "string"
},
"success": {
"type": "boolean"
},
"economics": {
"type": "object",
"description": "Price and margin context. Contains no revenue or GMV figure."
},
"fetched_at": {
"type": "string"
},
"product_id": {
"type": "string"
},
"provenance": {
"type": "object",
"description": "Endpoints called, provider call count, staleness, and which fields the model wrote."
},
"buyer_voice": {
"type": "object",
"description": "Review sample summary including rating histogram and sampled count."
},
"competition": {
"type": "object",
"description": "Percentile placement against the peer set, when one was resolvable."
},
"analyst_read": {
"type": "object",
"description": "Model-written operator summary grounded in the sections above. Falls back to a deterministic version if the model call fails."
},
"market_proof": {
"type": "object",
"description": "Demand evidence section. Carries available / headline / data / evidence / risks / unknowns / confidence."
},
"buyer_pain_map": {
"type": "object",
"description": "Themes shared across this product and its competitors, with differentiation candidates. Rates are per-product, so a deeply sampled product does not outweigh a shallowly sampled rival."
},
"analyst_verdict": {
"type": "object",
"description": "Deterministic verdict and confidence."
},
"creator_content": {
"type": "object"
},
"source_coverage": {
"type": "object",
"description": "Which sections resolved and which did not."
},
"validation_read": {
"type": [
"object",
"null"
],
"description": "Extended validation narrative. Null when include_competitors was false."
},
"content_patterns": {
"type": "object"
},
"current_evidence": {
"type": "object",
"description": "Composite score from currently observable evidence, with what was unavailable."
},
"evidence_classes": {
"type": "object",
"properties": {
"fact": {
"type": "array",
"items": {
"type": "string"
}
},
"analysis": {
"type": "array",
"items": {
"type": "string"
}
},
"unavailable": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "Explicit map so the host never has to guess provenance: fact[] came from the provider, analysis[] was derived by HookLayer, unavailable[] had insufficient evidence."
},
"product_identity": {
"type": "object",
"description": "title, shopName, category, productUrl, imageUrl."
},
"credits_remaining": {
"type": [
"integer",
"null"
]
},
"recommended_chain": {
"type": "array",
"items": {
"type": "object",
"properties": {
"why": {
"type": "string"
},
"tool": {
"type": "string"
},
"params": {
"type": "object"
},
"credits": {
"type": "integer"
}
}
},
"description": "Suggested next calls, chosen from the evidence this analysis actually found. SUGGESTIONS ONLY - present them and let the user pick. Do not call them automatically; each one costs the user credits."
},
"competitor_landscape": {
"type": "object",
"description": "Comparable products and where they are weak. available:false when competitor discovery did not resolve."
},
"evidence_interpretation": {
"type": "object",
"description": "Why Now plus risks split into product / market / data_confidence, each citing the observation that triggered it. Only claims what is observable now; never asserts a trend it has no history for."
},
"buyer_voice_intelligence": {
"type": [
"object",
"null"
],
"description": "Opportunity-grade review read: sampleComposition, love, painPoints, unmetNeeds, purchaseObjections, returnSignal, fulfilmentComplaints (kept separate from product faults), contradictions, and howToBeatThis. Null when reviews did not resolve - null means no evidence, not 'no complaints'."
}
}
}{
"title": "Analyze Product - Deep Buyer-Evidence Validation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false,
"readOnlyHintJustification": "This tool debits the authenticated user's HookLayer credit balance and records usage telemetry. It does not modify external social-platform content.",
"openWorldHintJustification": "This tool queries ScrapeCreators TikTok Shop product, review and search endpoints, and calls Anthropic to write the analyst narrative from the evidence those endpoints returned.",
"destructiveHintJustification": "This tool does not delete, overwrite, revoke, publish, or modify external content or accounts. Service-side writes are limited to non-destructive billing and usage records."
}save_research
Save a HookLayer result the user already received in this conversation so it appears under Saved Research in their HookMafia dashboard. 0 credits: this stores the result you already hold, it never re-runs the research tool. After a research result, offer once in one line to save it to HookMafia; call this only when the user says yes or asks to save, keep or bookmark a result. Pass the tool's structured result as `result` (billing and chain fields are dropped server-side), the kind that matches the tool, a short title, and a stable `request_id` so a retried save is deduplicated instead of duplicated. Returns the saved id and a dashboard link. Use list_saved_research / get_saved_research to read it back and compare_saved_products for 2-4 saved analyze_product results.
{
"type": "object",
"required": [
"kind",
"tool_name",
"title",
"result"
],
"properties": {
"kind": {
"enum": [
"creator_analysis",
"hook_score",
"virality_prediction",
"product_scout",
"product_analysis",
"script",
"template"
],
"type": "string",
"description": "creator_analysis (analyze_account), hook_score (score_hook), virality_prediction (predict_virality), product_scout (product_scout), product_analysis (analyze_product), script (viral_remix, match_voice), template (find_viral_template, brief_to_blueprint)"
},
"title": {
"type": "string",
"maxLength": 200,
"description": "Short plain-text title, e.g. \"@handle TikTok analysis\" or the product name"
},
"result": {
"type": "object",
"description": "The structured result of the earlier tool call, exactly as received. Up to 64 KB after server-side allowlisting."
},
"tool_name": {
"type": "string",
"description": "The HookLayer tool that produced the result, e.g. analyze_product"
},
"product_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Canonical product id for product_analysis / product_scout results"
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]{1,128}$",
"description": "Idempotency key. Reuse the same value when retrying the same save; a different result under the same key is refused."
},
"product_url": {
"type": "string",
"maxLength": 2048,
"description": "http(s) product page URL"
},
"input_summary": {
"type": "object",
"description": "What was asked: handle, platform, topic, product URL. Up to 4 KB. Never include credentials."
},
"source_timestamp": {
"type": "string",
"description": "ISO 8601 time the research ran (the result's as_of / fetched_at when present)"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"saved": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"title": {
"type": "string"
},
"saved_at": {
"type": "string",
"description": "When it was saved (ISO 8601)"
},
"saved_id": {
"type": "string"
},
"tool_name": {
"type": "string"
},
"product_id": {
"type": [
"string",
"null"
],
"description": "null unless the result is about one product"
},
"is_archived": {
"type": "boolean"
},
"product_url": {
"type": [
"string",
"null"
],
"description": "null unless a product page was saved"
},
"dashboard_url": {
"type": "string",
"description": "Opens this saved result in the HookMafia dashboard. Contains the id only, never a credential; the user signs in with their own account."
},
"source_timestamp": {
"type": [
"string",
"null"
],
"description": "When the research ran (ISO 8601), null when the source did not say"
}
}
},
"deduplicated": {
"type": "boolean",
"description": "true when the same request_id and identical content had already been saved; nothing new was written"
},
"dashboard_url": {
"type": "string"
},
"dropped_fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "Top-level result fields that are not persisted (billing, chain hints, unknown keys)"
},
"credits_charged": {
"type": "number",
"description": "Always 0"
}
}
}{
"title": "Save Research to HookMafia",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool writes one saved-research record owned by the authenticated user. It does not debit credits and does not re-run any research tool.",
"openWorldHintJustification": "This tool reads and writes HookLayer's own stored saved-research records for the authenticated user. It does not query live external social-platform or commerce data.",
"destructiveHintJustification": "This tool only creates a record. It never modifies or deletes an existing saved result or any external resource; a repeated request_id returns the existing record."
}list_saved_research
List the authenticated user's saved HookLayer research (newest first by default). Read-only, 0 credits. Filter by kind, search titles, choose sort newest|oldest|title, include archived, and page with the returned cursor. Returns summaries (id, kind, title, timestamps, dashboard link), not the full result; call get_saved_research for one. Use when the user asks 'what have I saved', 'show my saved products', 'find the analysis I saved for @handle'.
{
"type": "object",
"properties": {
"kind": {
"enum": [
"creator_analysis",
"hook_score",
"virality_prediction",
"product_scout",
"product_analysis",
"script",
"template"
],
"type": "string"
},
"sort": {
"enum": [
"newest",
"oldest",
"title"
],
"type": "string"
},
"limit": {
"type": "number",
"maximum": 50,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 100,
"description": "Case-insensitive title search"
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
},
"archived": {
"enum": [
"active",
"archived",
"all"
],
"type": "string",
"description": "Default active"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"limit": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"description": "Summary: saved_id, kind, tool_name, title, product_id, product_url, source_timestamp, saved_at, is_archived, dashboard_url"
}
},
"next_cursor": {
"type": [
"string",
"null"
],
"description": "null on the last page"
},
"dashboard_url": {
"type": "string",
"description": "The Saved Research page in HookMafia"
},
"credits_charged": {
"type": "number",
"description": "Always 0"
}
}
}{
"title": "List Saved Research",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool only reads the authenticated user's existing saved-research records. It does not debit credits or modify stored state.",
"openWorldHintJustification": "This tool reads HookLayer's own stored saved-research records for the authenticated user. It does not query live external social-platform or commerce data.",
"destructiveHintJustification": "This tool does not create, modify, or delete any stored or external resource."
}get_saved_research
Retrieve one saved result in full (the stored research payload, what was asked, timestamps) by its saved_id. Read-only, 0 credits. Only the authenticated user's own results resolve; any other id is not found. Use when the user wants to reuse, re-read or build on something they saved earlier instead of paying to run the tool again.
{
"type": "object",
"required": [
"saved_id"
],
"properties": {
"saved_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"title": {
"type": "string"
},
"result": {
"type": "object",
"description": "The stored research payload, exactly as saved (allowlisted fields only)"
},
"saved_at": {
"type": "string"
},
"saved_id": {
"type": "string"
},
"tool_name": {
"type": "string"
},
"product_id": {
"type": [
"string",
"null"
]
},
"source_ref": {
"type": [
"string",
"null"
]
},
"is_archived": {
"type": "boolean"
},
"product_url": {
"type": [
"string",
"null"
]
},
"dashboard_url": {
"type": "string"
},
"input_summary": {
"type": [
"object",
"null"
]
},
"schema_version": {
"type": "number"
},
"credits_charged": {
"type": "number",
"description": "Always 0"
},
"source_timestamp": {
"type": [
"string",
"null"
]
}
}
}{
"title": "Get Saved Research",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool only reads one of the authenticated user's existing saved-research records. It does not debit credits or modify stored state.",
"openWorldHintJustification": "This tool reads HookLayer's own stored saved-research records for the authenticated user. It does not query live external social-platform or commerce data.",
"destructiveHintJustification": "This tool does not create, modify, or delete any stored or external resource."
}compare_saved_products
Compare 2 to 4 saved analyze_product results side by side using only the stored evidence (identity, market proof, economics, competition, creator content, verdict). Read-only, 0 credits, no new analysis. Fields the source never reported are returned as not present, never estimated, and a freshness warning is included when the evidence ages differ by more than two days. Ids the user does not own come back in missing[]. Use after list_saved_research when the user asks which of their saved products to pursue.
{
"type": "object",
"required": [
"saved_ids"
],
"properties": {
"saved_ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"maxItems": 4,
"minItems": 2,
"description": "saved_id values of product_analysis results"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"missing": {
"type": "array",
"items": {
"type": "string"
},
"description": "Requested ids that are not saved product analyses owned by this user"
},
"sections": {
"type": "array",
"items": {
"type": "object"
}
},
"participants": {
"type": "array",
"items": {
"type": "object"
}
},
"dashboard_url": {
"type": "string"
},
"credits_charged": {
"type": "number",
"description": "Always 0"
},
"freshness_warning": {
"type": [
"string",
"null"
],
"description": "null when all evidence is within two days of each other"
}
}
}{
"title": "Compare Saved Products",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false,
"readOnlyHintJustification": "This tool only reads the authenticated user's existing saved product analyses and derives a comparison table from them. It does not debit credits or modify stored state.",
"openWorldHintJustification": "This tool reads HookLayer's own stored saved-research records for the authenticated user. It does not query live external social-platform or commerce data.",
"destructiveHintJustification": "This tool does not create, modify, or delete any stored or external resource."
}Prompts
Not advertised
Resources
1 advertised
HookLayer Creator Report
ui://hooklayer/creator-report-v1.html90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1200 ms
- 95th percentile latency
- 1254 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1260 ms · 18 tool(s), 1 resource(s); warnings: Advertises resources/templates/list but does not implement it
- · probe · passed · 1140 ms · metadata changed · 18 tool(s), 1 resource(s); warnings: Advertises resources/templates/list but does not implement it
- · repository · passed · updated
- · repository · passed · metadata changed · unchanged
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http hooklayer-mcp https://hooklayer.dev/api/mcpCodex
codex mcp add hooklayer-mcp --url https://hooklayer.dev/api/mcpCursor
{
"mcpServers": {
"hooklayer-mcp": {
"url": "https://hooklayer.dev/api/mcp"
}
}
}Cline
{
"mcpServers": {
"hooklayer-mcp": {
"type": "streamableHttp",
"url": "https://hooklayer.dev/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"hooklayer-mcp": {
"type": "http",
"url": "https://hooklayer.dev/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http hooklayer-mcp https://hooklayer.dev/api/mcpClaude Desktop
https://hooklayer.dev/api/mcpWindsurf
{
"mcpServers": {
"hooklayer-mcp": {
"serverUrl": "https://hooklayer.dev/api/mcp"
}
}
}Let your agent find its tools
Find servers like Hooklayer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other ai and machine learning servers
Do you run Hooklayer MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.