Skip to main content
Glama

TikTok & TikTok Shop Data MCP Server

get_tiktok_trending_and_search

Read-onlyIdempotent

[GLOBAL CLOUD - 22+ REGIONS] Discover real-time trending TikTok videos, 922 national hot keywords with ByteDance TextNet taxonomy IDs, and search autocomplete suggestions.

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_tiktok_trending_and_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoCountry code (US, UK, VN, ID, TH, BR, JP, DE)US
keywordNoOptional search keyword for autocomplete suggestions
rapidapi_keyNoOptional X-RapidAPI-Key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuine context — real-time freshness, 22+ region coverage, and ByteDance taxonomy provenance — but omits how rapidapi_key factors in (optional per schema, unmentioned in prose) and claims 22+ regions while the region parameter enumerates only 8, an inconsistency the agent must reconcile itself.

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?

One front-loaded sentence with no filler; the bracketed region-coverage tag scopes the tool immediately and the three capabilities follow in priority order. The marketing-style 'Discover' and the raw count '922' are mildly decorative but still carry informational value.

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

Completeness3/5

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

There is no output schema, so the description must convey what comes back, and it does so at the level of data categories (videos, keywords with taxonomy IDs, autocomplete strings) without any shape or pagination detail. For a zero-required-parameter, fully schema-documented read-only tool this is adequate, but the region-count mismatch and unaddressed API-key handling leave gaps an agent may hit at call time.

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?

Schema description coverage is 100%, so all three parameters are documented structurally, setting the baseline at 3. The description adds nothing about parameter semantics beyond the schema — for example, it does not state that supplying 'keyword' switches the tool into autocomplete mode rather than trending mode, which would have been a valuable clarification.

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 names three concrete deliverables — real-time trending videos, 922 hot keywords with ByteDance TextNet taxonomy IDs, and search autocomplete suggestions — which is far more specific than the name alone. However, it never distinguishes this tool from the close sibling search_tiktok_videos_by_keyword, and 'Discover' plus the bundled name 'trending_and_search' leaves the agent guessing which of the three behaviors is authoritative.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named. Given that the name contains 'search' and a sibling exists called search_tiktok_videos_by_keyword, the absence of routing guidance is a real ambiguity the definition should resolve. Usage can only be inferred from the list of returned data types.

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.