Skip to main content
Glama

TikTok Remote MCP Server

tiktok_discover: GET /

hasdata_tiktok_discover_getTikTokDiscover
Read-only

Get TikTok Discover Videos

Returns the videos TikTok shows on its discover page for a keyword (tiktok.com/discover/tiktok-trends), with authors linked to the Profile and Posts endpoints. Only keywords that have a discover page work; for free-text search use the TikTok Search endpoint. Videos depend on the country: set country, otherwise any country is used. To get the next page, pass pagination.nextPageToken back as nextPageToken. Use for trend research or building a topic's video dataset.

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": {
      "keyword": "<keyword>"
    },
    "name": "hasdata_tiktok_discover_getTikTokDiscover"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoCountry whose TikTok users see the videos.
keywordYesThe discover page keyword, as words or as the page slug.
nextPageTokenNoPagination token returned by the previous response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), and the description adds context those fields cannot express: results vary by country, country is optional with a "any country" default, and author objects link out to the Profile and Posts endpoints. It stops short of describing the shape or volume of the returned video records or any rate/credit limits, which keeps it below 5.

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?

Five tight sentences, front-loaded with the verb and resource, then constraints, then pagination, then use cases — no filler. The parenthetical URL and the endpoint cross-references are dense but each carries operational 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?

With no output schema, the description carries the return-value burden and does so at a high level (discover-page videos with linked authors), plus it explains the country-dependent variability an agent would otherwise hit as a surprise. The exact video fields are unstated, which is the main remaining gap for a data-shaping 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 100%, so the baseline would be 3, but the description adds real meaning: an unset `country` yields any-country results rather than a default locale, and the pagination token must be round-tripped from `pagination.nextPageToken` in the response into the `nextPageToken` input — a rename the schema alone does not reveal.

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?

States a specific verb and resource ("Get TikTok Discover Videos") and pins it to a concrete surface, tiktok.com/discover/tiktok-trends. It also explicitly separates this from the TikTok Search endpoint, so an agent can distinguish it from the search sibling without opening either schema.

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?

Gives an explicit eligibility constraint (only keywords that have a discover page work), a named alternative for the other case (TikTok Search endpoint for free-text), and two use cases (trend research, building a topic's video dataset). Country and pagination mechanics are folded into the usage story rather than left to inference.

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.