Skip to main content
Glama
Decodo MCP Server

Decodo MCP Server

by Decodo

TikTok Post

tiktok_post
Read-only

Fetch a TikTok video post by URL to return raw HTML, or request XHR/fetch responses as JSON for page analysis.

Instructions

Fetch a TikTok video post by URL through the Decodo Web Data API (tiktok_post target) and return the page's raw HTML, often several hundred KB. Use it to analyse a specific TikTok video; set xhr to get a JSON list of the page's XHR/fetch requests instead of the HTML. Docs: https://help.decodo.com/docs/web-scraping-api-tiktok-post

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_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTikTok post URL, e.g. https://www.tiktok.com/@user/video/1234567890
xhrNoWhen true, includes XHR/fetch responses in the scrape result where supported by the target

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the default return is raw HTML that is 'often several hundred KB', and xhr changes the payload to a JSON list of XHR/fetch requests.

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?

Two tight sentences with the primary action and payload size front-loaded, followed by the xhr alternative and a docs link. No filler, though the parenthetical API-target reference is slightly dense.

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?

With no output schema, the description carries the return-value burden and does so by describing both the HTML and xhr JSON shapes plus payload size. It omits error/failure behavior and any auth or rate-limit notes, which keeps it just short of fully complete.

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 the baseline is 3, but the description adds meaning the schema does not: xhr returns a JSON list of the page's XHR/fetch requests *instead of* the HTML, clarifying the mode switch rather than merely 'including' responses.

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 a specific verb and resource ('Fetch a TikTok video post by URL') and names the underlying API target, which distinguishes it from the tiktok_shop_* siblings that handle products and searches rather than individual video posts.

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?

Gives a clear use case ('analyse a specific TikTok video') and explains the xhr switch as an alternative retrieval mode. It stops short of stating when not to use it or naming a sibling for other TikTok needs, so it is clear context without explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.