Skip to main content
Glama

tikdataapi: TikTok data

Account search

search_users
Read-onlyIdempotent

Accounts that the account search of TikTok (the "Users" tab) finds for a query, in the order of TikTok. Each entry is a short profile: id, username, sec_uid, nickname, bio, avatar, verified, followers (rounded by TikTok) and likes. For the full, exact profile use get_user or get_users. 1 credit per account; a query with no result gives an empty list and costs nothing.

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": {
      "query": "<query>"
    },
    "name": "search_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoResults on this page, 1 to 50. Default 10. A page can come back shorter; next_cursor then continues with no gap.
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.
queryYesWords to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: cooking
cursorNonext_cursor from the previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, open-world, idempotent and non-destructive, so the bar is lower; the description still adds substantive behavior: TikTok-native result ordering, the exact short-profile fields returned, that followers are rounded by TikTok, and the credit model (1 credit per account, empty result costs nothing). These cost and fidelity caveats are exactly the context annotations cannot carry.

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?

Three sentences, front-loaded with what the tool returns and how results are ordered, then the alternative, then cost. Every sentence contributes new information and nothing is repeated from the schema.

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

Completeness5/5

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

Although there is no output schema, the description enumerates the returned profile fields and notes rounding, ordering and empty-result behavior, and it names the sibling to use for full profiles. An agent has everything needed to select and invoke it correctly.

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%, with count, fresh, cursor and query each documented including limits, paging continuation and 2x cache-bypass pricing. The description adds no parameter-level meaning beyond noting the empty-result case, so the baseline 3 applies.

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: accounts found by TikTok's account search ("Users" tab) for a query. It also pins down ordering ("in the order of TikTok") and contrasts the result with the exact profiles returned by get_user/get_users, so an agent can distinguish it from siblings without opening any schema.

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?

Explicitly routes the agent to get_user or get_users when a full, exact profile is needed, which is the main alternative decision for this resource. It does not spell out when a search is preferable to other search_* tools or discuss cache/fresh trade-offs as a usage rule, but the context is clear.

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.