Skip to main content
Glama
Hermoso

Hermoso

Official

Search TikTok

search_tiktok

Find organic TikTok videos by keyword or hashtag, ranked by plays, with captions, creator metrics, engagement, duration, date, link, and cover data to research hooks, trends, and remixable creative.

Instructions

Organic TikTok keyword search (there is NO TikTok ad library) — top-performing videos to mine for hooks/trends/remixable creative. Returns compact JSON {desc, handle, followers, plays, likes, comments, shares, seconds, postedAt, link, cover} per video, ranked by plays. region sets where TikTok is read from, not where posts come from. Use research_ads for open-ended research; for what to POST, tiktok_ideas; for formats across a category, find_proven_formats. Spends about a credit.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_tiktok"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNomax videos returned (1–25, default 8)
queryYeskeyword or hashtag (no # needed)
regionNo
sortByNo
get_costNotrue: return the price only; nothing runs or bills
minViewsNo
datePostedNo
maxSecondsNo
minSecondsNo
maxPerCreatorNo
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.1.610
    • addedInput schema / properties / datePosted
      Added value: +{
      +  "enum": [
      +    "yesterday",
      +    "this-week",
      +    "this-month",
      +    "last-3-months",
      +    "last-6-months",
      +    "all-time"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / maxPerCreator
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / maxSeconds
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / minSeconds
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / minViews
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / region
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / sortBy
      Added value: +{
      +  "enum": [
      +    "relevance",
      +    "most-liked",
      +    "date-posted"
      +  ],
      +  "type": "string"
      +}
  2. Changed3 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
  3. Changed1 schema field changedv0.1.161
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "found": {
      -      "description": "total videos found",
      -      "type": "number"
      -    },
      -    "videos": {
      -      "description": "the compact video objects ({desc, author, handle, plays, likes, link, cover}), ranked by plays",
      -      "items": {},
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  4. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), so the description only needs to add context — and it does: it discloses that a call spends roughly a credit and that results are ranked by plays. The billing disclosure is valuable given readOnlyHint=false, and the region caveat is genuinely non-obvious. It stops short of failure modes or what happens on retry, but the schema covers idempotency and price guards.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence front-loads purpose and the differentiator, and the return-shape listing is compact rather than prose. The sibling-routing clause is dense but each name earns its place. Slight cost for cramming cost, region, output shape, and three alternatives into one paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter search tool with no output schema, the description supplies the return fields inline ({desc, handle, followers, plays, likes, comments, shares, seconds, postedAt, link, cover}), the ranking order, and the credit cost. An agent can decide to call it, budget for it, and interpret results without any other source.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 42% schema coverage across 12 parameters, the description carries a real burden, and it does clarify the non-obvious one: "region sets where TikTok is read from, not where posts come from." It also implies the query accepts a keyword or hashtag. However, it says nothing about sortBy, minViews, datePosted, the seconds bounds, or maxPerCreator, leaving most undocumented parameters unaddressed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Organic TikTok keyword search" names a specific verb and resource, and the parenthetical "there is NO TikTok ad library" pre-empts the most likely confusion with the ad-search siblings. The added framing ("top-performing videos to mine for hooks/trends/remixable creative") tells the agent what class of result to expect, not just the operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes three alternatives: research_ads for open-ended research, tiktok_ideas for what to post, and find_proven_formats for cross-category formats. That is a when-to-use/when-not-to-use map rather than a vague hint, so the agent can pick a sibling without opening other schemas.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools