Skip to main content
Glama

tikdataapi: TikTok data

Trending videos

get_trending_videos
Read-onlyIdempotent

Videos of the explore feed that TikTok shows a logged-out visitor, as TikTok gives them, with no repeats in one answer. No cursor: a call after the cache window (2 minutes) gives a new set. 1 credit per video.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_trending_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoVideos to return, 1 to 50. Default 16. There is no next page.
freshNoRead TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, the description discloses important behavior: no repeats within one answer, no cursor-based pagination, a 2-minute cache window, refresh behavior, and a 1-credit-per-video cost. It does not describe permissions or error handling, but adds substantial operational context.

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 definition is compact and front-loads the core scope before operational details. Phrasing such as 'as TikTok gives them' is slightly redundant with the preceding explore-feed description, but every sentence otherwise carries useful information.

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

Completeness4/5

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

For a two-parameter read-only list tool with full schema coverage and safety annotations, the description covers pagination behavior, caching, refresh semantics, and credit cost. It does not describe the shape of returned video objects, but that is a minor gap for a simple retrieval tool.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3. The description adds meaning beyond the schema by explaining the 2-minute cache window and per-video credit cost, which help interpret count and fresh.

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 identifies the resource and scope: explore-feed videos shown to a logged-out TikTok visitor, with no repeats in a single response. It is easy to distinguish from general video or search tools, though it does not explicitly name any sibling alternative.

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 explains refresh behavior and credit cost but gives no explicit when-to-use guidance or comparison against alternatives such as search_videos or get_videos. The intended use is implied by the purpose, not stated as routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.