Skip to main content
Glama

Finewisdom 社媒与电商数据接口

douyin_product_detail

Read-onlyIdempotent

获取抖音商品详情(v1)。抖音商品详情有三个通道、返回结构不同不能混用:要抖音原生 promotion_h5 结构用 douyin_product_detail_v2;要已归一化的标准字段(标题/价格/优惠价/已售数/店铺/图片/规格)用 douyin_product_detail_v3;v1 适合已有 v1 解析代码的场景。单价¥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"
  }
}

Input Schema

NameRequiredDescriptionDefault
_tokenNo备用鉴权:fw_ 开头的 token。推荐改用 HTTP Header X-FW-Token。
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 declare readOnly, idempotent, non-destructive and open-world, and the description adds genuinely non-obvious behavior: ¥0.3 per call, billing only on success, and automatic refund on failure or empty result. It also discloses the cross-channel incompatibility constraint. It stops short of describing what v1 actually returns (only that it differs from v2/v3 and is presumably the legacy shape), which is the one behavioral detail an agent still has to guess.

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?

Front-loaded with purpose, then the three-channel routing rule, then cost/billing terms — no filler sentences and no repetition of the title or schema. Every clause carries routing or billing information an agent would otherwise lack.

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 and only two simple params, the description covers routing, cost, and billing failure semantics well. The remaining gap is that v1's own return structure is described only by contrast ('not v2's promotion_h5, not v3's normalized fields') rather than positively, so an agent cannot preview the response shape.

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 coverage is 100% — product_id and the fallback _token are both documented inline, including the recommendation to prefer the X-FW-Token header. The description adds no parameter-level meaning beyond the schema, 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 and resource ('获取抖音商品详情 v1') and immediately positions it inside a three-channel family, naming both siblings douyin_product_detail_v2 and douyin_product_detail_v3 with the return shape each one yields. An agent can tell which of the three detail tools to pick without opening any 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 explicit selection rules: use v2 for the native promotion_h5 structure, v3 for normalized fields (title/price/discount price/sold count/shop/images/SKUs), v1 when existing v1 parsing code is in place. It also warns the return structures cannot be mixed, which is a real exclusion constraint rather than generic advice.

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.