Skip to main content
Glama

tiktok_trending

Retrieve trending videos from TikTok's For You feed to analyze popular content and identify viral trends for content strategy.

Instructions

Get trending/For You videos from TikTok feed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of videos (default 20)

Implementation Reference

  • The handler logic for "tiktok_trending" (and "tiktok_feed") in `server.py` calls the `scroll_feed` method on the `browser` object.
    elif name == "tiktok_trending" or name == "tiktok_feed":
        results = await browser.scroll_feed(arguments.get("count", 20))
        return [TextContent(type="text", text=json.dumps(results, indent=2, ensure_ascii=False))]
  • Registration and input schema definition for the "tiktok_trending" tool.
    Tool(
        name="tiktok_trending",
        description="Get trending/For You videos from TikTok feed.",
        inputSchema={
            "type": "object",
            "properties": {
                "count": {"type": "integer", "description": "Number of videos (default 20)", "default": 20},
            },
        },
    ),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/follox42/tiktok-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server