Skip to main content
Glama

tiktok_feed

Collect video metadata from TikTok's For You Page to analyze trending content and user engagement patterns.

Instructions

Scroll the For You Page like a real user and collect video metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of videos to collect (default 10)

Implementation Reference

  • The `tiktok_feed` tool is handled in the `call_tool` function by invoking `browser.scroll_feed`. It is handled together with `tiktok_trending`.
    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))]
  • The `tiktok_feed` tool schema is defined in the `TOOLS` list, specifying the `count` parameter.
    Tool(
        name="tiktok_feed",
        description="Scroll the For You Page like a real user and collect video metadata.",
        inputSchema={
            "type": "object",
            "properties": {
                "count": {"type": "integer", "description": "Number of videos to collect (default 10)", "default": 10},
            },
        },
    ),

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