Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_pgy_get_creator_metrics_trend

Read-only

根据完整 user_id 获取小红书蒲公英创作者曝光、阅读、互动中位数及预估成本的日期趋势和概览。 观察指标随时间变化时使用;中位数按 note_scope 选择日常或合作笔记,固定图文+视频、近30日、全流量,不支持自选日期。合作口径包含进店指标,日常口径的进店字段为 null;输出回显口径,不能混用。 返回指标不是每日新增量或累计总量,不可跨日期求和;可能缺少日期,不补零。 成本估算口径见字段说明,不代表实际成交成本;按图文/视频拆分的成本及商业汇总使用商业概览工具,逐篇表现使用笔记表现工具。 成功直接返回业务字段和 points;成功调用扣减 20 积分,失败不扣费。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
note_scopeNo笔记统计口径:日常笔记趋势选 daily(默认,不是按天汇总);合作笔记或进店趋势选 cooperation。输出回显口径,不可混用;成本估算依据见各字段说明daily

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes平台返回的日期序列;中位数按 note_scope 选择日常或合作笔记,固定图文+视频、近30日、全流量,成本口径见各字段说明;可能缺少日期,不补零、不插值;未知时为 null,明确为空时为 []
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
summaryYes平台提供的概览指标及其日期,不是趋势各点之和;缺失时为 null
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
note_scopeYes笔记统计口径:日常笔记趋势选 daily(默认,不是按天汇总);合作笔记或进店趋势选 cooperation。输出回显口径,不可混用;成本估算依据见各字段说明

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses cost behavior (成功扣减 20 积分,失败不扣费), data semantics (median values, cooperation scope includes 进店 fields while daily returns null, no cross-date summation, missing dates are not zero-filled), and response shape (business fields plus points). These are material operational facts an agent cannot infer from annotations.

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?

Dense but front-loaded: purpose, then usage, then behavioral caveats. Every clause carries information, though a few points (口径不可混用, 成本口径见字段说明) are repeated across description and schema, adding mild redundancy.

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?

With an output schema present, return values need not be enumerated, and the description still confirms what success returns. Combined with cost semantics, scope caveats, and explicit sibling routing, an agent has everything required to call this correctly.

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 description coverage is 100%, so the baseline is 3; the description adds meaning by explaining what the cooperation vs daily scopes imply for 进店 fields and consumption rules. It reinforces the '不可混用' constraint but largely echoes the schema's own note_scope description, so it stops short of a 5.

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 precise verb and resource: fetching date trends and overviews of XHS Pgy creator exposure, reads, interaction medians and estimated cost. It scopes what is fixed (图文+视频, 近30日, 全流量) and explicitly names the sibling tools that cover adjacent needs (商业概览 and 笔记表现), so an agent can distinguish it 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 gives the trigger condition ('观察指标随时间变化时使用'), the selection rule for note_scope (daily vs cooperation), the hard exclusion ('不支持自选日期'), and routes split-by-format/commercial totals to 商业概览工具 and per-note performance to 笔记表现工具. When-to-use, when-not, and alternatives are all present.

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