Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Search Suggestions

tiktok_search_suggestions

Expand a seed keyword into ranked TikTok search autocomplete suggestions to uncover trending queries and long-tail keyword ideas. Supports country, language, and limit controls.

Instructions

Get the autocomplete terms TikTok suggests in its search bar for a keyword — the real phrases people search, ranked, so you can find trending queries and long-tail keyword ideas. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "q": "<q>"
    },
    "name": "tiktok_search_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSeed keyword to expand into autocomplete suggestions, e.g. skincare.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 20, max 100). Flat 2 credits per call.
countryNoTwo-letter ISO country code that localizes the suggestions to a market, e.g. US, GB, DE. Default US.
languageNoInterface language for the suggestions, e.g. en-US or de-DE. Default en-US.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does most of it: it discloses the 2-credit cost, the no-charge guarantee for empty results and failures, and the 24h cache behavior with its free-hit semantics. It does not mention authentication requirements, rate limits, or what a returned suggestion item looks like, which are the remaining gaps.

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?

Two dense sentences with the purpose front-loaded, followed by cost and caching rules. Every clause carries information an agent needs — what the data is, what it costs, and how to avoid the cost — with no filler.

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 five-parameter, read-only lookup with no output schema and no annotations, the definition covers purpose, billing, and caching thoroughly. The notable omission is any hint about the shape or ordering of returned suggestions, which the agent must infer from 'ranked' alone.

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 coverage is 100%, so q, cache, limit, country, and language are already documented with examples and defaults. The description reinforces the cache economics (free on hit vs 2 credits fresh), which adds modest meaning beyond the schema but does not explain the other parameters. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description uses a specific verb and resource — 'autocomplete terms TikTok suggests in its search bar for a keyword' — and clarifies what that data represents ('real phrases people search, ranked'). This clearly separates it from sibling tools like tiktok_top_search or tiktok_search_by_hashtag, which return posts rather than query suggestions.

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

Usage Guidelines4/5

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

It states the concrete use case ('find trending queries and long-tail keyword ideas') and gives explicit guidance on when to pass cache=true versus the always-fresh default. It stops short of naming alternatives or stating when not to use this tool, so it is clear context without exclusions.

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

Deploy Server

Other Tools