Skip to main content
Glama

Finewisdom 社媒与电商数据接口

douyin_product_detail_v2

Read-onlyIdempotent

抖音商品详情 v2(native 通道,直连抖音网页端)。返回抖音原始结构:status_code + promotion_h5(标题、价格、店铺券、SKU 都在 promotion_h5 里,字段与抖音同名同层,不做字段转换)。要抖音原生字段时用 v2;要归一化字段(标题/价格/已售数/图片/规格)用 v3。商品不存在或风控时返回 code:false 且不扣费。单价¥0.2/次,仅成功调用计费。

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the readOnly/openWorld/idempotent annotations by describing the return envelope (status_code + promotion_h5, field names and nesting identical to Douyin, no field transformation), the failure path (商品不存在或风控 → code:false), and the billing rule (¥0.2/次,仅成功调用计费). The no-charge-on-failure and per-call cost details are operationally important and appear nowhere in structured fields.

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?

Four short sentences, front-loaded with channel and return shape, then the v2-vs-v3 routing rule, then failure and pricing. Nothing is repeated from the schema or annotations, and every clause carries decision-relevant information.

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?

No output schema exists, yet the description fully specifies the response envelope (status_code + promotion_h5) and where the useful fields live, plus the failure indicator. Combined with the pricing note, an agent has everything needed to call this and interpret the result.

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 product_id accepting IDs/page links/short links and sku_id's role in returning a full promotion_h5. The description adds no parameter meaning beyond that, 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 verb+resource (抖音商品详情 v2) plus the channel it uses (native 通道,直连抖音网页端), and explicitly contrasts itself with sibling douyin_product_detail_v3 by return shape. An agent can pick between v2 and v3 without opening either 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 selection rule: use v2 for raw Douyin-native fields, use v3 for normalized fields (标题/价格/已售数/图片/规格). It also names the sibling by exact name, leaving no inference about the alternative.

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.