Skip to main content
Glama

HandleHaul

TikTok following

tiktok_get_following
Read-onlyIdempotent

Accounts that a public TikTok account follows, about 30 per page. An account can hide this list: then the page is empty and meta.list_hidden is true. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).

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": {
      "user": "<user>"
    },
    "name": "tiktok_get_following"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns TikTok's raw JSON in data instead of our fields (same price). Default false.
userYesTikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a handle we have not seen in 7 days may cost 1 extra credit for the lookup (see meta.lookup_credits); an id or secUid never does.
freshNotrue skips the cache and fetches live data (full price). Default false.
cursorNopagination.next_cursor from the previous page. Leave out for the first page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, yet the description still layers on non-obvious behavior: roughly 30 accounts per page, the empty-page-plus-meta.list_hidden signal for private lists, and the pagination loop condition. It also discloses billing nuances (1 credit per page, nothing charged from cache, on errors, or with a sandbox key), which is exactly the cost context annotations cannot convey.

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?

Four compact sentences, front-loaded with what the tool returns before moving to edge cases, pagination mechanics, and cost. There is no filler, and each sentence contributes a distinct fact an agent needs to call the tool correctly.

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?

With no output schema, the description compensates by naming the response fields that matter (meta.list_hidden, pagination.next_cursor, pagination.has_more) and explaining how to consume them. For a read-only, four-parameter list tool, nothing an agent needs is missing.

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 parameter docs already carry the syntax burden for user, raw, fresh, and cursor. The description still adds value by explaining the cursor's role in the pagination contract and by tying the page size to the call, going slightly beyond restating the schema.

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 opens with a specific verb+resource: 'Accounts that a public TikTok account follows,' which unambiguously identifies the following-list direction and implicitly contrasts with the followers tool. It stops short of naming a sibling alternative outright, but the resource is precise enough that no agent would confuse the two.

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 gives concrete operational guidance: paginate by feeding pagination.next_cursor back as cursor while pagination.has_more is true, and explains the hidden-list case so the agent does not misinterpret an empty page as an error. What it does not do is state when to prefer this tool over tiktok_get_followers or tiktok_search, leaving that to the caller.

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.