Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Profile Region

tiktok_profile_region

Identify a TikTok creator's likely country and language from a profile URL or handle, returning stable IDs and core profile stats for audience research and localization.

Instructions

Find out where a TikTok creator is likely based and what language they use — country, language, stable ids, and core profile stats. 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": {
      "url": "<url>"
    },
    "name": "tiktok_profile_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoSet true to include TikTok's upstream user/statsV2 blob under raw. 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 7d response cache (0 credits on hit). 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

A3.7/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 burden and does well: it discloses cost (2 credits), the no-charge guarantee for empty results and failures, and the caching default (always fresh unless cache=true). One flaw: it says cache=true yields a '24h cache hit' while the schema documents a 7d response cache, an internal inconsistency the agent must resolve.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with what the tool returns, followed by cost and caching. Almost every clause earns its place; only the opening phrasing ('Find out where ... is likely based') is slightly wordy relative to the field list that follows.

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 4-parameter read tool with no output schema and no annotations, the description is adequately complete: it enumerates the returned fields and the billing/caching contract. Gaps are the undocumented raw toggle and unstated behavior for private, deleted, or nonexistent profiles, which matters given the 'likely based' framing.

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 baseline is 3 and the schema already explains url, cache, cacheMaxAge, and raw. The description reinforces only the cache parameter's cost behavior and omits raw and cacheMaxAge entirely, adding little beyond structured fields — and its cache TTL claim conflicts with the schema's 7d.

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 states a specific verb and resource — locate a TikTok creator's likely country/language and return ids plus profile stats. It is unambiguous about what the endpoint produces, though it never names a sibling (e.g. tiktok_search_users or tiktok_channel_details) so the agent must infer the boundary from the name alone.

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?

Usage context is implied rather than stated: it fits when you already have a handle/URL and need geo/language attribution. There is no explicit 'use this instead of X' routing, and the schema carries the actual matching constraint (URL platform must match). Caching guidance is present but framed as a cost lever, not as a when-to-use rule.

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