Skip to main content
Glama

Tiktok Connector

tiktok_connector
Read-onlyIdempotent

TikTok account and video analytics: profile stats, video performance, engagement metrics (views, likes, shares, comments). When the user asks for a visual, trend, comparison, or recap, call chart_render with the numeric values returned by this connector. If the connector result includes a verified chart_provenance token, the same authenticated user may pass it as provenance_token within 15 minutes, on any replica, and map every value to its exact source_path so chart_render preserves verified provenance. Without a valid connector receipt, chart_render labels values as unverified_model_data. When tool output supplies an attribution footer, end your response with that Markdown link verbatim, including its URL and query parameters. Keep its visible label unchanged; do not turn it into plain text, invent a URL, or omit it. Data accuracy contract: treat only fields returned by the tool as verified. Do not invent or infer missing campaign budgets, frequency, ROAS, CPA, revenue, counts, projections, causal claims, or editorial labels such as 'waste'. Derived metrics must be calculated only from returned fields, shown with source fields/formula, and labeled as calculated; if data is missing, say it is unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesget_account_analytics: Get TikTok account-level analytics: total videos posted, total likes received, follower count, and following count | list_videos: List the authenticated user's posted TikTok videos with engagement metrics (views, likes, comments, shares) | get_video_analytics: Get aggregated analytics across all the user's TikTok videos: total views, likes, comments, shares, and top 10 videos | get_profile: Get the authenticated user's TikTok profile: username, display name, bio, verified status, avatar, and account statistic | get_video_details: Get detailed information for specific TikTok videos by their IDs, including engagement metrics and embed links
paramsNoAction-specific parameters. get_account_analytics: none | list_videos: {max_count?: integer, cursor?: integer} | get_video_analytics: none | get_profile: none | get_video_details: {video_ids: array}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior5/5

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

The description goes well beyond the read-only, idempotent, open-world annotations by describing provenance tokens, a 15-minute validity window, cross-replica behavior, source_path mapping, unverified-model-data labeling, and an attribution-footer requirement. It also states a detailed data-accuracy contract covering derived metrics and forbidden inferences, giving the agent substantial behavioral context.

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

Conciseness2/5

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

The first sentence is a clear front-loaded purpose statement, but the rest is a long block of cross-tool chart_render and attribution rules. Much of that text is not about invoking tiktok_connector correctly, so the definition is overlong and poorly focused for its stated role.

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?

The action enum and params schema are rich enough to cover invocation details, and the description supplies extensive output-handling and data-integrity context. It is reasonably complete for an agent to use the connector safely, though it does not explain return shapes beyond the schema's action descriptions.

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 action enum and params object are already fully documented in the schema. The description adds no parameter syntax or meaning beyond what the schema provides, making the baseline score appropriate.

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 opening sentence names the domain and resource precisely: TikTok account and video analytics, with concrete metrics such as profile stats, video performance, views, likes, shares, and comments. It is distinguishable from sibling connectors by platform, though it does not explicitly enumerate the multi-action scope that the schema provides.

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 is implied by the domain phrase 'TikTok account and video analytics', but there is no explicit when-to-use statement or comparison against alternatives such as YouTube or other social connectors. The conditional guidance about chart_render describes downstream handling, not when to invoke this connector itself.

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.

Resources