Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Audience Demographics

tiktok_audience_demographics

Retrieve a TikTok creator's audience country and language mix from an engagement sample to inform targeting decisions.

Instructions

Audience country + language mix for a TikTok creator — engagement sample, not a follower census. Costs 3 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_audience_demographics"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 24h response cache (0 credits on hit). Default false — always fetch fresh.
videosNoHow many recent videos to sample comments from: 12 (default, 3 credits), 30 (5 credits), or 60 (8 credits).
countriesLimitNoMax countries in audienceLocations; remainder folds into other{count,percentage}. Omit for the full list (other is omitted when unused).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.2/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 burden and does real work: it discloses the statistical nature of the data (sampled, not exhaustive), the credit cost, that empty results and failures are free, and that caching is opt-in with a fresh-by-default policy. It does not describe the response shape or call out rate limits/auth, which keeps it out of the 5 band.

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?

A single dense sentence, front-loaded with the resource and scope, followed by cost and caching facts. Every clause conveys a distinct, actionable fact with 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 4-parameter read endpoint with no output schema and no annotations, the description covers cost, caching, sampling methodology, and failure charging. The remaining gap is return-value structure — it never states that results come back as country/language breakdowns — though the countriesLimit parameter hints at that shape.

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 explains url, cache, videos, and countriesLimit thoroughly. The description restates the cache behavior ('free 24h cache hit, default always fresh') but adds no syntax, format, or edge-case meaning beyond what the schema fields already say, so the baseline of 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 the specific resource ('Audience country + language mix for a TikTok creator') and immediately bounds the claim with 'engagement sample, not a follower census,' which separates it from the follower-listing siblings like tiktok_user_followers without needing to name them.

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?

The 'sample, not a census' framing plus the cost line tells an agent when this is the right tool versus pulling a follower list, and the cache parameter implies a cost/currency tradeoff. It stops short of naming an explicit alternative or stating when not to use it at all, so it lands just below the top band.

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