Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Search Users

tiktok_search_users

Search TikTok creators by username, display name or bio. Returns distinct user IDs and secUids with cursor pagination for paging through matching accounts.

Instructions

Search TikTok users — distinct creators only, id + secUid, per-counter isApproximate flags, cursor pagination. Costs 1 credit. 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_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query matched against usernames, display names and bios (min 2 characters).
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 1 credit per call.
cursorNoPagination cursor. Omit (or pass 0) for the first page; then pass the nextCursor value from the previous response verbatim — it carries the search session, not just an offset. A null nextCursor means the end of the results.
fallbackNoDeprecated — no effect, removed on 2026-12-17. Sending it adds an X-Captapi-Warning response header. When native search is unavailable the response is an empty degraded page (0 credits).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/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 discloses important traits: 1 credit per call, no charge for empty results or failures, optional 24h cache behavior, per-counter approximate flags, and cursor pagination. It omits authentication or rate-limit context, but for a search endpoint the operational and billing behavior is unusually well covered.

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 compact and front-loaded, beginning with the core action and scope before layering in return shape, cost, and cache details. Every clause carries useful information with no redundant 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?

There is no output schema or annotations, so the description must carry return and behavior context. It explains key return identity fields, pagination, approximate counters, billing, and cache behavior, making it complete enough to call correctly, though some operational details such as error modes beyond 'failures' are not expanded.

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 the schema already documents q, limit, cursor, cache, and fallback thoroughly. The description reinforces cache cost semantics but adds little parameter meaning beyond what the schema provides; baseline 3 is appropriate.

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 ('Search TikTok users') and immediately scopes it to 'distinct creators only' with identity fields 'id + secUid'. This distinguishes it from content-oriented siblings such as hashtag or post search without needing to inspect their schemas.

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

Usage Guidelines3/5

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

The description implies usage by restricting results to distinct creator accounts and explaining cache/cost trade-offs. However, it does not explicitly name when to choose this over alternatives like tiktok_search_suggestions, tiktok_top_search, or threads_search_users, nor does it state 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