Skip to main content
Glama

SocialDataX 微信 WeChat MCP

wechat_get_video_comments_by_object_id

Read-only

已有同一条视频的 object_id 和 object_nonce_id 时获取评论列表;用户已提供合法组合时直接使用,否则可从作品详情结果或一级评论结果获取;搜索结果只有 encrypted_object_id 时先调用详情工具。

Input Schema

NameRequiredDescriptionDefault
object_idYes微信视频号视频的 object_id,例如 14882122090270235141;用户已提供时直接使用,否则可从作品详情或一级评论结果获取;获取评论或评论回复时请与同一条视频的 object_nonce_id 一起原样传入。
page_tokenNo评论分页令牌;首次请求留空,继续翻页时必须将上一页返回的完整 next_page_token 原样传回。
object_nonce_idYes微信视频号视频的 object_nonce_id,例如 12801331239707625908_0_39_0_0;用户已提供时直接使用,否则可从作品详情或一级评论结果获取;获取评论或评论回复时请与同一条视频的 object_id 一起原样传入。

Output Schema

NameRequiredDescriptionDefault
itemsYes当前页评论列表;过滤后可能为空数组
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
comment_countYes评论总数
next_page_tokenYes下一页不透明分页令牌;为空表示没有更多评论。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回;next_page_token 只能用于同一微信视频号评论分页链路;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / items / items / properties / image_urls
      Added value: +{
      +  "description": "评论图片完整链接列表;没有时为空数组。链接可能失效,有效期未知;需长期保存时及时下载,图片格式以文件内容为准。",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / items / items / properties / stickers
      Added value: +{
      +  "description": "评论表情包列表;按原顺序返回,没有时为空数组",
      +  "items": {
      +    "properties": {
      +      "thumbnail_url": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "表情包缩略图链接;没有时为 null;链接可能失效,有效期未知"
      +      },
      +      "url": {
      +        "description": "表情包原图链接;可能是静态图片或动图。链接可能失效,有效期未知;需长期保存时及时下载,图片格式以文件内容为准。",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / items / items / properties / author / properties / has_wechat_channels_account
      Added value: +{
      +  "default": false,
      +  "description": "是否开通微信视频号",
      +  "type": "boolean"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / object_id / description
      Previous value: -"微信视频号视频的 object_id,例如 14882122090270235141;获取评论或评论回复时请与同一条视频的 object_nonce_id 一起原样传入。"New value: +"微信视频号视频的 object_id,例如 14882122090270235141;用户已提供时直接使用,否则可从作品详情或一级评论结果获取;获取评论或评论回复时请与同一条视频的 object_nonce_id 一起原样传入。"
    • changedInput schema / properties / object_nonce_id / description
      Previous value: -"微信视频号视频的 object_nonce_id,例如 12801331239707625908_0_39_0_0;获取评论或评论回复时请与同一条视频的 object_id 一起原样传入。"New value: +"微信视频号视频的 object_nonce_id,例如 12801331239707625908_0_39_0_0;用户已提供时直接使用,否则可从作品详情或一级评论结果获取;获取评论或评论回复时请与同一条视频的 object_id 一起原样传入。"
    • changedOutput schema / properties / items / items / properties / comment_id / description
      Previous value: -"评论 ID"New value: +"微信视频号一级评论 ID;可作为评论回复工具的 comment_id 输入。"
  4. Changed2 schema fields changed
    • changedInput schema / properties / object_id / description
      Previous value: -"微信视频号视频的 object_id,例如 14882122090270235141;获取评论时请与同一条视频的 object_nonce_id 一起原样传入。"New value: +"微信视频号视频的 object_id,例如 14882122090270235141;获取评论或评论回复时请与同一条视频的 object_nonce_id 一起原样传入。"
    • changedInput schema / properties / object_nonce_id / description
      Previous value: -"微信视频号视频的 object_nonce_id,例如 12801331239707625908_0_39_0_0;获取评论时请与同一条视频的 object_id 一起原样传入。"New value: +"微信视频号视频的 object_nonce_id,例如 12801331239707625908_0_39_0_0;获取评论或评论回复时请与同一条视频的 object_id 一起原样传入。"
  5. Changed2 schema fields changed
    • addedOutput schema / properties / points
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
      +  "properties": {
      +    "balance": {
      +      "description": "本次接口完成时看到的当前积分余额。",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "cost": {
      +      "description": "本次请求最终确认消耗的积分。",
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "cost",
      +    "balance"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "items",
      -  "next_page_token",
      -  "comment_count"
      -]New value: +[
      +  "items",
      +  "next_page_token",
      +  "comment_count",
      +  "points"
      +]
  6. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / author / properties / user_id / description
      Previous value: -"评论作者微信视频号用户 ID;可能是 @finder 或 @stranger;仅 @finder 可用于用户信息工具;不可用时为空字符串"New value: +"评论作者微信视频号用户 ID;可能是 @finder 或 @stranger;仅 v2_...@finder 可用于用户信息工具;不可用时为空字符串"
  7. Changed2 schema fields changed
    • addedOutput schema / properties / comment_count
      Added value: +{
      +  "description": "评论总数",
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "items",
      -  "next_page_token"
      -]New value: +[
      +  "items",
      +  "next_page_token",
      +  "comment_count"
      +]
  8. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful acquisition-path context (where the id pair comes from, and the fallback to the detail tool), but discloses nothing about pagination behavior, rate limits, or result shape beyond what the schema/output schema already carry.

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?

The trigger condition is front-loaded and the whole thing is a single semicolon-delimited sentence with no filler. It is dense but efficiently sized for the amount of routing information it carries.

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 read-only, output-schema-backed list tool, the definition covers the material gaps: how to obtain the required id pair, the fallback when only an encrypted_object_id is available, and the sibling tool to call first. Nothing essential for correct invocation is missing.

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% and every parameter is documented in the schema itself, including the page_token pagination contract. The description's parameter-related content is largely a restatement of the schema's object_id/object_nonce_id guidance, so it adds little beyond the structured fields — baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('获取评论列表' — get comment list) and scopes it to the case where the caller already holds the video's object_id/object_nonce_id pair. The identifier-based scoping implicitly distinguishes it from sibling wechat_get_video_comments_by_url, though it never names that sibling explicitly.

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 gives clear routing preconditions: use directly if the user supplied a valid id pair, otherwise source the ids from the work-detail or first-level-comment results, and if only an encrypted_object_id exists, call the detail tool first. It does not, however, contrast against wechat_get_video_comments_by_url, so the when-to-use-this-over-that choice is only partly resolved.

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