Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_pgy_get_creator_metrics_trend

Read-only

根据完整 user_id 获取小红书蒲公英创作者曝光、阅读、互动中位数及预估成本的日期趋势和概览。 观察指标随时间变化时使用;中位数按 note_scope 选择日常或合作笔记,可选近30/90日、图文/视频/全部、自然/全流量,默认近30日、全部类型、全流量。合作口径包含进店指标,日常口径的进店字段为 null;输出回显统计条件,不能混用。 不支持自定起止日期;90日统计窗口不保证返回90个日点。返回指标不是每日新增量或累计总量,不可跨日期求和;可能缺少日期,不补零。 成本估算口径见字段说明,不代表实际成交成本。查看某种笔记类型的成本趋势时,设置 note_type;需要商业汇总或在同一份汇总中并列查看图文和视频成本时,使用商业概览工具。逐篇表现使用笔记表现工具。 成功直接返回业务字段和 points;成功调用扣减 20 积分,失败不扣费。

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": {
      "user_id": "<user_id>"
    },
    "name": "xhs_pgy_get_creator_metrics_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
note_typeNo参与统计的笔记类型:all(默认,图文和视频)、image(图文)、video(视频)all
note_scopeNo笔记统计口径:日常笔记趋势选 daily(默认,不是按天汇总);合作笔记或进店趋势选 cooperation。输出回显口径,不可混用;成本估算依据见各字段说明daily
period_daysNo统计窗口,单位为天:整数 30 表示近30天,90 表示近90天,默认30。不支持自定义起止日期。
traffic_scopeNo流量统计范围:all(默认,全部流量)、organic(自然流量);不支持单独指定付费流量all

Output Schema

NameRequiredDescriptionDefault
itemsYes平台返回的日期序列,统计口径由 note_scope、period_days、note_type、traffic_scope 回显;90日统计窗口不保证返回90个日点,成本口径见各字段说明;可能缺少日期,不补零、不插值、不跨日期求和;未知时为 null,明确为空时为 []
pointsYes本次成功调用的积分消耗与账户积分余额。
summaryYes平台提供的概览指标及其日期,不是趋势各点之和;缺失时为 null
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
note_typeNo参与统计的笔记类型:all(默认,图文和视频)、image(图文)、video(视频)all
note_scopeYes笔记统计口径:日常笔记趋势选 daily(默认,不是按天汇总);合作笔记或进店趋势选 cooperation。输出回显口径,不可混用;成本估算依据见各字段说明
period_daysNo统计窗口,单位为天:整数 30 表示近30天,90 表示近90天,默认30。不支持自定义起止日期。
traffic_scopeNo流量统计范围:all(默认,全部流量)、organic(自然流量);不支持单独指定付费流量all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / note_type
      Added value: +{
      +  "default": "all",
      +  "description": "参与统计的笔记类型:all(默认,图文和视频)、image(图文)、video(视频)",
      +  "enum": [
      +    "all",
      +    "image",
      +    "video"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / period_days
      Added value: +{
      +  "default": 30,
      +  "description": "统计窗口,单位为天:整数 30 表示近30天,90 表示近90天,默认30。不支持自定义起止日期。",
      +  "enum": [
      +    30,
      +    90
      +  ],
      +  "type": "integer"
      +}
    • addedInput schema / properties / traffic_scope
      Added value: +{
      +  "default": "all",
      +  "description": "流量统计范围:all(默认,全部流量)、organic(自然流量);不支持单独指定付费流量",
      +  "enum": [
      +    "all",
      +    "organic"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / items / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "date": {
      -          "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      -          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -          "title": "Date",
      -          "type": "string"
      -        },
      -        "estimated_cpm": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估千次曝光成本,单位元/千次曝光;daily 结合报价及近30日日常和合作笔记的自然流量曝光中位数估算,cooperation 结合近30日合作笔记价格和曝光量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      -          "title": "Estimated Cpm"
      -        },
      -        "estimated_interaction_cost": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估单次互动成本,单位元/互动;daily 结合报价及近30日日常和合作笔记的互动中位数估算,cooperation 结合近30日合作笔记价格和互动量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      -          "title": "Estimated Interaction Cost"
      -        },
      -        "estimated_read_cost": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估单次阅读成本,单位元/阅读;daily 结合报价及近30日日常和合作笔记的自然流量阅读中位数估算,cooperation 结合近30日合作笔记价格和阅读量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      -          "title": "Estimated Read Cost"
      -        },
      -        "estimated_store_visit_cost": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估进店成本,单位元/进店;结合近30日跨域(小红星/小红盟等)合作笔记价格与跨域进店UV计算,仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本",
      -          "title": "Estimated Store Visit Cost"
      -        },
      -        "impression_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      -          "title": "Impression Median"
      -        },
      -        "interaction_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      -          "title": "Interaction Median"
      -        },
      -        "outbound_store_visit_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数",
      -          "title": "Outbound Store Visit Median"
      -        },
      -        "read_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      -          "title": "Read Median"
      -        }
      -      },
      -      "required": [
      -        "date",
      -        "impression_median",
      -        "read_median",
      -        "interaction_median",
      -        "estimated_cpm",
      -        "estimated_interaction_cost",
      -        "estimated_read_cost",
      -        "outbound_store_visit_median",
      -        "estimated_store_visit_cost"
      -      ],
      -      "title": "PgyCreatorMetricsTrendItem",
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "date": {
      +          "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      +          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +          "title": "Date",
      +          "type": "string"
      +        },
      +        "estimated_cpm": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的平台预估千次曝光成本,单位元/千次曝光;按本次统计条件返回,具体估算口径由平台决定,不按本响应中位数反算报价;仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +          "title": "Estimated Cpm"
      +        },
      +        "estimated_interaction_cost": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的平台预估单次互动成本,单位元/互动;按本次统计条件返回,具体估算口径由平台决定,不按本响应中位数反算报价;仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +          "title": "Estimated Interaction Cost"
      +        },
      +        "estimated_read_cost": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的平台预估单次阅读成本,单位元/阅读;按本次统计条件返回,具体估算口径由平台决定,不按本响应中位数反算报价;仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +          "title": "Estimated Read Cost"
      +        },
      +        "estimated_store_visit_cost": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的平台预估进店成本,单位元/进店;采用跨域(小红星/小红盟等)合作笔记价格与跨域进店UV等平台口径,不自行反算;仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本",
      +          "title": "Estimated Store Visit Cost"
      +        },
      +        "impression_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +          "title": "Impression Median"
      +        },
      +        "interaction_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +          "title": "Interaction Median"
      +        },
      +        "outbound_store_visit_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数",
      +          "title": "Outbound Store Visit Median"
      +        },
      +        "read_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +          "title": "Read Median"
      +        }
      +      },
      +      "required": [
      +        "date",
      +        "impression_median",
      +        "read_median",
      +        "interaction_median",
      +        "estimated_cpm",
      +        "estimated_interaction_cost",
      +        "estimated_read_cost",
      +        "outbound_store_visit_median",
      +        "estimated_store_visit_cost"
      +      ],
      +      "title": "PgyCreatorMetricsTrendItem",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / items / description
      Previous value: -"平台返回的日期序列;中位数按 note_scope 选择日常或合作笔记,固定图文+视频、近30日、全流量,成本口径见各字段说明;可能缺少日期,不补零、不插值;未知时为 null,明确为空时为 []"New value: +"平台返回的日期序列,统计口径由 note_scope、period_days、note_type、traffic_scope 回显;90日统计窗口不保证返回90个日点,成本口径见各字段说明;可能缺少日期,不补零、不插值、不跨日期求和;未知时为 null,明确为空时为 []"
    • addedOutput schema / properties / note_type
      Added value: +{
      +  "default": "all",
      +  "description": "参与统计的笔记类型:all(默认,图文和视频)、image(图文)、video(视频)",
      +  "enum": [
      +    "all",
      +    "image",
      +    "video"
      +  ],
      +  "title": "Note Type",
      +  "type": "string"
      +}
    • addedOutput schema / properties / period_days
      Added value: +{
      +  "default": 30,
      +  "description": "统计窗口,单位为天:整数 30 表示近30天,90 表示近90天,默认30。不支持自定义起止日期。",
      +  "enum": [
      +    30,
      +    90
      +  ],
      +  "title": "Period Days",
      +  "type": "integer"
      +}
    • changedOutput schema / properties / summary / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "date": {
      -        "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      -        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -        "title": "Date",
      -        "type": "string"
      -      },
      -      "estimated_cpm": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估千次曝光成本,单位元/千次曝光;daily 结合报价及近30日日常和合作笔记的自然流量曝光中位数估算,cooperation 结合近30日合作笔记价格和曝光量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      -        "title": "Estimated Cpm"
      -      },
      -      "estimated_interaction_cost": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估单次互动成本,单位元/互动;daily 结合报价及近30日日常和合作笔记的互动中位数估算,cooperation 结合近30日合作笔记价格和互动量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      -        "title": "Estimated Interaction Cost"
      -      },
      -      "estimated_read_cost": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估单次阅读成本,单位元/阅读;daily 结合报价及近30日日常和合作笔记的自然流量阅读中位数估算,cooperation 结合近30日合作笔记价格和阅读量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      -        "title": "Estimated Read Cost"
      -      },
      -      "estimated_store_visit_cost": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估进店成本,单位元/进店;结合近30日跨域(小红星/小红盟等)合作笔记价格与跨域进店UV计算,仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本",
      -        "title": "Estimated Store Visit Cost"
      -      },
      -      "impression_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      -        "title": "Impression Median"
      -      },
      -      "interaction_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      -        "title": "Interaction Median"
      -      },
      -      "outbound_store_visit_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数",
      -        "title": "Outbound Store Visit Median"
      -      },
      -      "read_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      -        "title": "Read Median"
      -      }
      -    },
      -    "required": [
      -      "date",
      -      "impression_median",
      -      "read_median",
      -      "interaction_median",
      -      "estimated_cpm",
      -      "estimated_interaction_cost",
      -      "estimated_read_cost",
      -      "outbound_store_visit_median",
      -      "estimated_store_visit_cost"
      -    ],
      -    "title": "PgyCreatorMetricsTrendItem",
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      +        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +        "title": "Date",
      +        "type": "string"
      +      },
      +      "estimated_cpm": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的平台预估千次曝光成本,单位元/千次曝光;按本次统计条件返回,具体估算口径由平台决定,不按本响应中位数反算报价;仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +        "title": "Estimated Cpm"
      +      },
      +      "estimated_interaction_cost": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的平台预估单次互动成本,单位元/互动;按本次统计条件返回,具体估算口径由平台决定,不按本响应中位数反算报价;仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +        "title": "Estimated Interaction Cost"
      +      },
      +      "estimated_read_cost": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的平台预估单次阅读成本,单位元/阅读;按本次统计条件返回,具体估算口径由平台决定,不按本响应中位数反算报价;仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +        "title": "Estimated Read Cost"
      +      },
      +      "estimated_store_visit_cost": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的平台预估进店成本,单位元/进店;采用跨域(小红星/小红盟等)合作笔记价格与跨域进店UV等平台口径,不自行反算;仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本",
      +        "title": "Estimated Store Visit Cost"
      +      },
      +      "impression_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +        "title": "Impression Median"
      +      },
      +      "interaction_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +        "title": "Interaction Median"
      +      },
      +      "outbound_store_visit_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数",
      +        "title": "Outbound Store Visit Median"
      +      },
      +      "read_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +        "title": "Read Median"
      +      }
      +    },
      +    "required": [
      +      "date",
      +      "impression_median",
      +      "read_median",
      +      "interaction_median",
      +      "estimated_cpm",
      +      "estimated_interaction_cost",
      +      "estimated_read_cost",
      +      "outbound_store_visit_median",
      +      "estimated_store_visit_cost"
      +    ],
      +    "title": "PgyCreatorMetricsTrendItem",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / traffic_scope
      Added value: +{
      +  "default": "all",
      +  "description": "流量统计范围:all(默认,全部流量)、organic(自然流量);不支持单独指定付费流量",
      +  "enum": [
      +    "all",
      +    "organic"
      +  ],
      +  "title": "Traffic Scope",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedOutput schema / properties / points / description
      Previous value: -"本次成功调用的积分消耗与调用完成时的账户积分余额。"New value: +"本次成功调用的积分消耗与账户积分余额。"
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额,可为负数。"New value: +"优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
  3. Changed2 schema fields changed
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额。"New value: +"本次接口完成时看到的当前积分余额,可为负数。"
    • removedOutput schema / properties / points / properties / balance / minimum
      Removed value: -0
  4. Changed6 schema fields changed
    • changedOutput schema / properties / items / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "date": {
      -          "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      -          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -          "type": "string"
      -        },
      -        "estimated_cpm": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估千次曝光成本,单位元/千次曝光;daily 结合报价及近30日日常和合作笔记的自然流量曝光中位数估算,cooperation 结合近30日合作笔记价格和曝光量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费"
      -        },
      -        "estimated_interaction_cost": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估单次互动成本,单位元/互动;daily 结合报价及近30日日常和合作笔记的互动中位数估算,cooperation 结合近30日合作笔记价格和互动量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费"
      -        },
      -        "estimated_read_cost": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估单次阅读成本,单位元/阅读;daily 结合报价及近30日日常和合作笔记的自然流量阅读中位数估算,cooperation 结合近30日合作笔记价格和阅读量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费"
      -        },
      -        "estimated_store_visit_cost": {
      -          "anyOf": [
      -            {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的预估进店成本,单位元/进店;结合近30日跨域(小红星/小红盟等)合作笔记价格与跨域进店UV计算,仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本"
      -        },
      -        "impression_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null"
      -        },
      -        "interaction_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null"
      -        },
      -        "outbound_store_visit_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数"
      -        },
      -        "read_median": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null"
      -        }
      -      },
      -      "required": [
      -        "date",
      -        "impression_median",
      -        "read_median",
      -        "interaction_median",
      -        "estimated_cpm",
      -        "estimated_interaction_cost",
      -        "estimated_read_cost",
      -        "outbound_store_visit_median",
      -        "estimated_store_visit_cost"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "date": {
      +          "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      +          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +          "title": "Date",
      +          "type": "string"
      +        },
      +        "estimated_cpm": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的预估千次曝光成本,单位元/千次曝光;daily 结合报价及近30日日常和合作笔记的自然流量曝光中位数估算,cooperation 结合近30日合作笔记价格和曝光量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +          "title": "Estimated Cpm"
      +        },
      +        "estimated_interaction_cost": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的预估单次互动成本,单位元/互动;daily 结合报价及近30日日常和合作笔记的互动中位数估算,cooperation 结合近30日合作笔记价格和互动量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +          "title": "Estimated Interaction Cost"
      +        },
      +        "estimated_read_cost": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的预估单次阅读成本,单位元/阅读;daily 结合报价及近30日日常和合作笔记的自然流量阅读中位数估算,cooperation 结合近30日合作笔记价格和阅读量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +          "title": "Estimated Read Cost"
      +        },
      +        "estimated_store_visit_cost": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的预估进店成本,单位元/进店;结合近30日跨域(小红星/小红盟等)合作笔记价格与跨域进店UV计算,仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本",
      +          "title": "Estimated Store Visit Cost"
      +        },
      +        "impression_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +          "title": "Impression Median"
      +        },
      +        "interaction_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +          "title": "Interaction Median"
      +        },
      +        "outbound_store_visit_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数",
      +          "title": "Outbound Store Visit Median"
      +        },
      +        "read_median": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +          "title": "Read Median"
      +        }
      +      },
      +      "required": [
      +        "date",
      +        "impression_median",
      +        "read_median",
      +        "interaction_median",
      +        "estimated_cpm",
      +        "estimated_interaction_cost",
      +        "estimated_read_cost",
      +        "outbound_store_visit_median",
      +        "estimated_store_visit_cost"
      +      ],
      +      "title": "PgyCreatorMetricsTrendItem",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / items / title
      Added value: +"Items"
    • addedOutput schema / properties / note_scope / title
      Added value: +"Note Scope"
    • changedOutput schema / properties / summary / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "date": {
      -        "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      -        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -        "type": "string"
      -      },
      -      "estimated_cpm": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估千次曝光成本,单位元/千次曝光;daily 结合报价及近30日日常和合作笔记的自然流量曝光中位数估算,cooperation 结合近30日合作笔记价格和曝光量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费"
      -      },
      -      "estimated_interaction_cost": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估单次互动成本,单位元/互动;daily 结合报价及近30日日常和合作笔记的互动中位数估算,cooperation 结合近30日合作笔记价格和互动量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费"
      -      },
      -      "estimated_read_cost": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估单次阅读成本,单位元/阅读;daily 结合报价及近30日日常和合作笔记的自然流量阅读中位数估算,cooperation 结合近30日合作笔记价格和阅读量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费"
      -      },
      -      "estimated_store_visit_cost": {
      -        "anyOf": [
      -          {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的预估进店成本,单位元/进店;结合近30日跨域(小红星/小红盟等)合作笔记价格与跨域进店UV计算,仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本"
      -      },
      -      "impression_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null"
      -      },
      -      "interaction_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null"
      -      },
      -      "outbound_store_visit_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数"
      -      },
      -      "read_median": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null"
      -      }
      -    },
      -    "required": [
      -      "date",
      -      "impression_median",
      -      "read_median",
      -      "interaction_median",
      -      "estimated_cpm",
      -      "estimated_interaction_cost",
      -      "estimated_read_cost",
      -      "outbound_store_visit_median",
      -      "estimated_store_visit_cost"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "description": "平台指标日期(YYYY-MM-DD),不是查询日期;历史点的具体滚动窗口未明确",
      +        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +        "title": "Date",
      +        "type": "string"
      +      },
      +      "estimated_cpm": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的预估千次曝光成本,单位元/千次曝光;daily 结合报价及近30日日常和合作笔记的自然流量曝光中位数估算,cooperation 结合近30日合作笔记价格和曝光量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +        "title": "Estimated Cpm"
      +      },
      +      "estimated_interaction_cost": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的预估单次互动成本,单位元/互动;daily 结合报价及近30日日常和合作笔记的互动中位数估算,cooperation 结合近30日合作笔记价格和互动量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +        "title": "Estimated Interaction Cost"
      +      },
      +      "estimated_read_cost": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的预估单次阅读成本,单位元/阅读;daily 结合报价及近30日日常和合作笔记的自然流量阅读中位数估算,cooperation 结合近30日合作笔记价格和阅读量估算;不按本响应中位数反算报价,仅供参考,不是实际成交成本;零值或缺失时为 null,不表示免费",
      +        "title": "Estimated Read Cost"
      +      },
      +      "estimated_store_visit_cost": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的预估进店成本,单位元/进店;结合近30日跨域(小红星/小红盟等)合作笔记价格与跨域进店UV计算,仅供参考,不是实际成交成本或ROI;仅 cooperation 返回,daily、零值或缺失时为 null;进店中位数为0时仍可能有有效成本",
      +        "title": "Estimated Store Visit Cost"
      +      },
      +      "impression_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的笔记曝光量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +        "title": "Impression Median"
      +      },
      +      "interaction_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的笔记互动量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +        "title": "Interaction Median"
      +      },
      +      "outbound_store_visit_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的合作笔记外溢进店量中位数,不是进店总人数、订单或成交量;仅 cooperation 返回,真实0保留,daily 或未知时为 null;不能与进店成本反算价格或人数",
      +        "title": "Outbound Store Visit Median"
      +      },
      +      "read_median": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "该日期对应的笔记阅读量中位数;不是当日新增或累计总量,不可跨日期求和;未知时为 null",
      +        "title": "Read Median"
      +      }
      +    },
      +    "required": [
      +      "date",
      +      "impression_median",
      +      "read_median",
      +      "interaction_median",
      +      "estimated_cpm",
      +      "estimated_interaction_cost",
      +      "estimated_read_cost",
      +      "outbound_store_visit_median",
      +      "estimated_store_visit_cost"
      +    ],
      +    "title": "PgyCreatorMetricsTrendItem",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / title
      Added value: +"PgyCreatorMetricsTrend"
  5. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description adds substantive behavior: cooperation scope includes 进店 metrics while daily scope returns null for those fields, the 90-day window may not return 90 date points, missing dates are not zero-filled, values are not daily increments or cumulative totals and cannot be summed across dates, and cost estimates are not actual transaction cost. It also discloses billing behavior (20 credits on success, no charge on failure) and that the response echoes the statistical scope, which must not be mixed across calls.

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?

Front-loaded with purpose then usage routing then caveats, and nearly every sentence carries a constraint an agent could otherwise get wrong. It is dense and long, with some overlap against the enum descriptions in the schema (note_type, note_scope definitions appear twice), which keeps it short of a 5.

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?

For a five-parameter metric-trend tool with an output schema, the description covers everything that would cause a wrong call: window limits, missing-date semantics, non-additivity of returned metrics, scope-mixing prohibition, and cost caveats. Return-field formatting is delegated to the output schema and field descriptions, which is appropriate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real disambiguation the schema only hints at: note_scope=daily means daily-notes basis, not a per-day aggregation, and cooperation scope is the one carrying 进店 fields. It also ties note_type to the intended cost-trend use case. The remaining parameters (period_days, traffic_scope) are restated largely as the schema already documents them.

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: retrieving date-trend and overview of exposure, read, engagement medians and estimated cost for an XHS Pgy creator, keyed on full user_id. It also implicitly delineates scope from siblings by naming commercial overview and notes performance as different jobs, so an agent can separate this trend tool from the per-note and summary tools without opening schemas.

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?

Explicitly says when to use it (观察指标随时间变化时), how to select granularity (note_type for a given note type's cost trend), and which alternatives handle other cases: 商业概览工具 for commercial rollups or side-by-side image/video cost, 笔记表现工具 for per-note performance. It also states a hard exclusion — custom start/end dates are not supported — which is exactly the kind of routing constraint an agent needs.

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.

Resources