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},
            },
        },
    ),
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'Get trending/For You videos' but doesn't specify if this is a read-only operation, requires authentication, has rate limits, or what the output format might be. For a tool with no annotations, this leaves significant gaps in understanding its behavior.

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

Conciseness5/5

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

The description is extremely concise and front-loaded with a single, clear sentence that directly states the tool's purpose without any wasted words. It efficiently communicates the core function, earning a top score for brevity and structure.

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

Completeness2/5

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

Given the lack of annotations and output schema, the description is incomplete for a tool that likely returns video data. It doesn't explain what information is returned (e.g., video URLs, metadata, trends), how results are formatted, or any behavioral constraints, making it inadequate for full contextual understanding.

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?

The description doesn't add any parameter-specific information beyond what's in the input schema, which has 100% coverage for the single parameter 'count'. Since the schema already fully documents the parameter, the baseline score of 3 is appropriate, as the description doesn't compensate or provide extra meaning.

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

Purpose4/5

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

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('trending/For You videos from TikTok feed'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'tiktok_feed' or 'tiktok_hashtag', which might offer similar content retrieval, so it doesn't reach the highest score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With many sibling tools available (e.g., 'tiktok_feed', 'tiktok_search', 'tiktok_user_videos'), there's no indication of context, prerequisites, or exclusions, leaving the agent to guess based on tool names alone.

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

Install Server

Other Tools

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