Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Channel Details

tiktok_channel_details

Resolve a TikTok @handle or profile URL to its user ID and secUid, returning createTime, seller status, bio link, and decoded privacy flags for account profiling and verification.

Instructions

Resolve a TikTok @handle to id + secUid — createTime, ttSeller, bioLink, decoded privacy flags. 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": {
      "url": "<url>"
    },
    "name": "tiktok_channel_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoSet true to include TikTok's upstream user/statsV2 blob under raw, plus createTimeUnix (unix twin of createTime). Default false — curated fields only.
urlYesTikTok profile URL, @handle, or username, e.g. https://tiktok.com/@username. Not a YouTube channel URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the response cache (default TTL). Default false — always fetch fresh. Prefer cacheMaxAge when you need 1d–30d freshness control.
cacheMaxAgeNoMax age of a cached response: 1d, 3d, 7d, 14d, or 30d. When set, enables caching with that TTL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does it reasonably well: it discloses the 1-credit cost, that empty results and failures are never charged, and that caching changes freshness behavior. It stops short of covering auth requirements, rate limits, or error/timeout behavior beyond billing.

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 core action and return payload are front-loaded in the first clause, followed by billing and caching notes in short sentences. Every sentence adds either cost, failure, or caching information; there is 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 single-handle lookup with no output schema, the description enumerates the returned fields and covers the billing and caching model, which is what an agent needs to call it correctly. Auth, rate limits, and what happens on partial decode failures are the remaining gaps.

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 baseline is 3, but the description adds meaning the schema lacks: that a cache hit is free (no credit charged) and that the default is always-fresh despite the 24h TTL option. It still defers to the schema for raw, cacheMaxAge, and URL format details.

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 gives a specific verb and resource ("Resolve a TikTok @handle to id + secUid") and names the payload fields returned (createTime, ttSeller, bioLink, decoded privacy flags). The explicit TikTok platform framing, reinforced by the schema's cross-platform warning, makes it distinguishable from instagram_channel_details and youtube_channel_details without opening either 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?

It states concrete usage conditions: pass cache=true for a free 24h hit, otherwise default is always-fresh fetching. It does not spell out when to prefer this over sibling lookups such as tiktok_channel_posts, but that boundary is self-evident from the field list. Cost and freshness tradeoffs are clearly framed.

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