Skip to main content
Glama
Decodo MCP Server

Decodo MCP Server

by Decodo

TikTok Shop Product

tiktok_shop_product
Read-only

Fetch a TikTok Shop product page by product ID via Decodo Web Data API and return Markdown, enabling price, seller, and description extraction.

Instructions

Fetch a TikTok Shop product page by product ID through the Decodo Web Data API (tiktok_shop_product target) and return it as Markdown. Use it when you know a TikTok Shop product ID and need its price, seller or description. Docs: https://help.decodo.com/docs/web-scraping-api-tiktok-shop-product

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": {
      "product_id": "<product_id>"
    },
    "name": "tiktok_shop_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoCountry code for the request (e.g., US, GB, DE)
jsRenderNoShould the request be opened in a headless browser, false by default
deviceTypeNoDevice type to emulate for the request
product_idYesTikTok Shop product ID (e.g., "1731541214379741272")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description adds genuinely new behavior: the call is proxied through the Decodo Web Data API using the `tiktok_shop_product` target and the response is Markdown. It omits failure modes (invalid/removed product IDs) and rendering/latency behavior implied by jsRender.

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 sentences plus a docs link, with the action and output format front-loaded and the usage condition immediately after. Slight repetition of 'TikTok Shop product' but nothing wasteful.

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 correctly states the return format (Markdown) and the categories of data available. For a simple single-resource fetch with full schema coverage, that is nearly complete; only edge-case behavior for missing products is unaddressed.

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 country, jsRender, deviceType, and product_id are all documented in the schema itself. The description only reinforces that the product ID is the key lookup input and adds no syntax, defaults, or guidance for country or device emulation. Baseline 3 is 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 description pairs a concrete verb (fetch) with a concrete resource (a TikTok Shop product page by product ID) and names the output format (Markdown). The 'by product ID' framing implicitly separates it from the search-style sibling, but no sibling is ever named, so differentiation still needs inference.

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?

It gives a clear trigger condition: use it when you already know a TikTok Shop product ID and want price, seller, or description. That is enough to route an agent away from search flows, but there is no explicit when-not or named alternative (e.g. tiktok_shop_search for keyword lookup).

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