Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Shop Product Details

tiktok_shop_product_details

Fetch TikTok Shop product details from a product URL, including price, sold and stock counts, seller info, and images; use cache=true for a free 24h cached response.

Instructions

PDP — price (sku_min when guest min is *), sold vs stock, seller id/url, images[]. Unresolved URL is 404 at 0 credits. Costs 2 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_shop_product_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTikTok Shop product URL, e.g. https://shop.tiktok.com/view/product/1731410956394792439?region=BR or https://www.tiktok.com/shop/pdp/1731098552908944370. 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.
regionNoTwo-letter market region (default US). A region= or oec_region= query on the product URL wins over this default so a BR share URL is not fetched as US. Echoed as data.region.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/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 load and does the operationally important parts well: exact cost (2 credits), that unresolved URLs return 404 at 0 credits, that empty results and failures are never charged, and how the cache affects billing. It omits auth requirements, rate limits, and pagination, but the cost and caching disclosure is above average for a no-annotation tool.

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?

The definition is short, front-loaded with the return payload, then billing, then caching — a sensible order with no filler. It is telegraphic to the point of opacity in places ('sku_min when guest min is *'), which costs a little clarity but not wordiness.

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?

There is no output schema, and the description compensates by listing the key returned fields and the failure/billing behavior an agent needs to decide whether to call it. Given a simple single-URL fetch with fully documented parameters, the remaining gap is mainly the absence of the full return shape and auth prerequisites.

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, and region in detail, including region precedence and cross-platform rejection. The description re-states the cache behavior rather than adding new meaning, and its parenthetical about sku_min/guest min concerns output values, not parameter semantics. 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 names the resource (PDP / product detail page) and enumerates what it returns — price, sold vs stock, seller id/url, images[] — so the agent knows this is a single-product lookup. It hedges by using the jargon abbreviation 'PDP' and never states a verb, and it does not distinguish itself from siblings like tiktok_shop_products or tiktok_shop_product_reviews.

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 context is only implied: it presumes the caller already has a product URL. The one explicit usage instruction is the cost/latency tradeoff — 'Pass cache=true for a free 24h cache hit (default always fresh)' — which is genuinely actionable. There is no guidance on when to choose this over the product-list or search siblings.

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