Skip to main content
Glama

Finewisdom 社媒与电商数据接口

douyin_product_detail_v4

Read-onlyIdempotent

抖音商品详情 v4(原生结构 + SKU 级价格库存,一次调用合并返回)。返回与 v2 相同的原生详情(status_code + promotion_h5,标题/价格区/店铺/SKU 规格表原样),另在顶层追加 sku_prices 列表:每个 SKU 的真实价格(price_fen 分 / price_yuan 元)、规格名、库存、可售状态与规格图。需要 SKU 级价格库存必用 v4(v2 不含 SKU 价格);只要归一化字段用 v3。商品不存在、风控或 SKU 价格环节失败均返回 code:false 且不扣费。单价¥0.3/次,仅成功调用计费。

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": "douyin_product_detail_v4"
  }
}

Input Schema

NameRequiredDescriptionDefault
_tokenNo备用鉴权:fw_ 开头的 token。推荐改用 HTTP Header X-FW-Token。
sku_idNo可选。详情端点要求带一个 sku_id;不传时用服务端默认值,一般无需传
product_idYes商品ID,也支持商品详情页链接或分享短链

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, idempotent, openWorld), yet the description adds substantive behavior beyond them: failure modes (product missing, risk control, SKU price stage failure all yield code:false with no charge) and the billing rule (¥0.3 per call, only successful calls billed). The only shortfall is that it doesn't mention any latency, concurrency or rate behavior.

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 key differentiator (SKU-level price/inventory) is front-loaded in the first clause, followed by return shape, sibling routing, and cost. It is dense but every sentence carries selection or billing information; the enumeration of sku_prices return fields is slightly verbose given the absence of an output schema.

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?

There is no output schema, so the description must carry the return contract — and it does, spelling out the inherited v2 native payload (status_code, promotion_h5, title/price/shop/SKU table) plus the new sku_prices fields. Combined with the failure and billing disclosure, nothing material is missing for a single-product read endpoint.

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 documents product_id (accepts ID or share link), sku_id (optional, defaulted server-side) and _token. The description adds no additional meaning about these parameters, so the baseline 3 applies.

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 resource (抖音商品详情 v4) and its exact scope: native structure identical to v2 plus a top-level sku_prices list with per-SKU price_fen/price_yuan, spec name, stock, sellable status and spec image. It also explicitly distinguishes itself from v2 (no SKU prices) and v3 (normalized fields only), so an agent can select it without opening any sibling schema.

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?

Gives an explicit routing rule: use v4 when SKU-level price/inventory is needed, use v3 when only normalized fields are needed, and notes v2 lacks SKU prices. The condition that selects this tool versus its siblings is stated, not inferred.

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.