Skip to main content
Glama

TokConnect: TikTok Research

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as TikTok MCP by TokConnect. If you published it, claim ownership there.

Top-selling TikTok Shop videos

video_top_selling
Read-onlyIdempotent

[Shop Analytics] The top 10 shoppable videos by estimated revenue over a date range, with revenue, units, views, GPM, ad metrics (CPA, ROAS, ad revenue share), whether it is AI-generated, and the creator. This ranking takes no filters; to study one niche, rank its products with product_top_selling, then use product method=video_sales. Pass a row's id to video method=transcript or products. Example: {"window":"7d"}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "video_top_selling"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoShop Analytics: custom range end, YYYY-MM-DD.
startNoShop Analytics: custom range start, YYYY-MM-DD.
detailNofull adds the raw record (large).compact
regionNoMarket code, default US: US, GB, DE, FR, ES, JP, TH, VN, ID, MY, PH, BR, MX, PL, IT, NL, IE.
windowNoShop Analytics: range ending at the last complete day (about 2 days ago). Default 30d.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / detail / description
      Previous value: -"compact (default) returns the useful fields; full adds the full raw record (large)."New value: +"full adds the raw record (large)."
    • removedInput schema / properties / detail / maxLength
      Removed value: -2048
    • changedInput schema / properties / end / description
      Previous value: -"Shop Analytics methods: custom range end, YYYY-MM-DD (capped at the last complete day)."New value: +"Shop Analytics: custom range end, YYYY-MM-DD."
    • removedInput schema / properties / end / maxLength
      Removed value: -2048
    • changedInput schema / properties / region / description
      Previous value: -"Market as an ISO country code, default US. Shop Analytics methods: sales data for that market, amounts in its currency. Live methods that take it (search, video detail, creator posts, Shop pages): TikTok as seen in that market where TikTok serves it. Core: US, GB, DE, FR, ES, JP, TH, VN, ID, MY, PH, BR, MX. Extended: PL, IT, NL, IE. Other countries are refused. See shop_regions."New value: +"Market code, default US: US, GB, DE, FR, ES, JP, TH, VN, ID, MY, PH, BR, MX, PL, IT, NL, IE."
    • removedInput schema / properties / region / maxLength
      Removed value: -2048
    • changedInput schema / properties / start / description
      Previous value: -"Shop Analytics methods: custom range start, YYYY-MM-DD."New value: +"Shop Analytics: custom range start, YYYY-MM-DD."
    • removedInput schema / properties / start / maxLength
      Removed value: -2048
    • changedInput schema / properties / window / description
      Previous value: -"Shop Analytics methods: date range ending at the last complete day (about 2 days ago). Default 30d. Use start/end for a custom range."New value: +"Shop Analytics: range ending at the last complete day (about 2 days ago). Default 30d."
    • removedInput schema / properties / window / maxLength
      Removed value: -2048
  2. Changed1 schema field changed
    • changedInput schema / properties / detail / description
      Previous value: -"compact (default) returns the useful fields; full adds the raw upstream payload (large)."New value: +"compact (default) returns the useful fields; full adds the full raw record (large)."
  3. Changed1 schema field changed
    • changedInput schema / properties / region / description
      Previous value: -"Shop Analytics methods: market as an ISO country code, default US. Core: US, GB, DE, FR, ES, JP, TH, VN, ID, MY, PH, BR, MX. Extended: PL, IT, NL, IE. Other countries are refused. Amounts are in the market's currency. See shop_regions."New value: +"Market as an ISO country code, default US. Shop Analytics methods: sales data for that market, amounts in its currency. Live methods that take it (search, video detail, creator posts, Shop pages): TikTok as seen in that market where TikTok serves it. Core: US, GB, DE, FR, ES, JP, TH, VN, ID, MY, PH, BR, MX. Extended: PL, IT, NL, IE. Other countries are refused. See shop_regions."
  4. Changed1 schema field changed
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "Shop Analytics methods: market as an ISO country code, default US. Core: US, GB, DE, FR, ES, JP, TH, VN, ID, MY, PH, BR, MX. Extended: PL, IT, NL, IE. Other countries are refused. Amounts are in the market's currency. See shop_regions.",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
  5. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so safety is covered. The description adds real behavioral context beyond them: results are capped at the top 10, no filtering is possible, and the window ends at the last complete day (~2 days ago). It stops short of describing pagination or how estimated revenue is computed, which keeps it from a 5.

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?

It is dense but front-loaded, moving from what the tool returns to its scoping limitation, then to alternatives and follow-on tools, closing with a minimal example. Every clause carries routing or behavioral information; nothing is redundant with the title.

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 an output schema present, the description does not need to fully specify return values, yet it still summarizes the key metrics. For a zero-required-parameter ranking tool, it covers scope, defaults, region behavior, alternatives, and follow-on usage, leaving no practical gap for correct invocation.

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 coverage is 100% and each parameter already carries a description, so the schema does the heavy lifting. The description adds little parameter-level detail beyond a concrete example call ({"window":"7d"}) and the reiteration that no filter parameters exist. Baseline 3 is appropriate when the schema is this complete.

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 opens with a specific verb+resource framing: 'The top 10 shoppable videos by estimated revenue over a date range,' then enumerates the metrics returned (revenue, units, views, GPM, CPA/ROAS, AI-generated flag, creator). It clearly differentiates itself from ranking siblings by noting the scope is videos and that niches are studied via product_top_selling instead.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states an explicit when-not constraint ('This ranking takes no filters') and names the alternative workflow for a filtered/niche analysis: product_top_selling then product method=video_sales. It also documents the follow-on path (pass a row's id to video method=transcript or products), so an agent knows both entry and continuation.

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