Skip to main content
Glama

商品数据

pdd_goods_data

Retrieve product-level analytics with yesterday and real-time metrics, promotion spend/ROI, and store-level data. Enable precise yesterday figures via withYesterdayFullDay option.

Instructions

拉取商品维度数据(纯 JSON):全部商品列表,每商品含昨日全天指标、今日实时指标、活动推荐;附带推广数据(昨日,单元花费/ROI/商品ID)与店铺级今日实时。withYesterdayFullDay=true 时逐商品拉取更精确的昨日数据(较慢)。如需 Excel 报表,用 pdd-daily-report skill。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
shopNo店铺名(多店铺时指定,对应 config/shops.json 的键名;省略=默认店铺)
withYesterdayFullDayNo逐商品拉取昨日全天精确数据(较慢,约30秒)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses that this is a pure JSON fetch, enumerates the data included, and warns about slowness when the flag is enabled. It does not mention rate limits or errors, but for a read-only data pull the key behaviors are covered.

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?

The description is one dense sentence that front-loads the core purpose, then gives the response contents, the flag behavior, and the alternative skill. There is no filler and each clause earns its place.

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?

For a tool with two fully documented optional parameters and no output schema, the description conveys what the response contains (categorized metrics, promotion data, shop-level data) and the performance implication of the flag. Missing details like exact JSON keys or error behavior are minor for this simple fetch tool.

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 both parameters. The description repeats the withYesterdayFullDay trade-off but does not add substantial new meaning beyond what the schema provides.

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?

The description opens with a specific verb and resource ('拉取商品维度数据') and enumerates exactly what is included: all products, yesterday full-day metrics, today real-time metrics, activity recommendations, promotion data, and shop-level real-time data. This clearly separates it from sibling tools like an overview or a single-goods detail tool.

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 explicitly states a when-not and alternative for Excel reports ('如需 Excel 报表,用 pdd-daily-report skill') and explains the trade-off of enabling withYesterdayFullDay=true (more accurate but slower). It does not exhaustively compare against all sibling data tools, but the context is clear.

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