Skip to main content
Glama

SocialDataX 微信 WeChat MCP

wechat_get_video_comments_by_url

Read-only

根据微信视频号视频链接或包含链接的分享文案获取评论列表。

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": {
      "url": "<url>"
    },
    "name": "wechat_get_video_comments_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes微信视频号视频链接,或包含该链接的分享文案;例如 https://weixin.qq.com/sph/ANxgB9MB8i,或“帮我看下这个视频 https://weixin.qq.com/sph/ANxgB9MB8i”。
page_tokenNo评论分页令牌;首次请求留空,继续翻页时必须将上一页返回的完整 next_page_token 原样传回。

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
    • changedOutput schema / properties / points / description
      Previous value: -"本次成功调用的积分消耗与调用完成时的账户积分余额。"New value: +"本次成功调用的积分消耗与账户积分余额。"
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额,可为负数。"New value: +"优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
  2. 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
  3. Changed23 schema fields changed
    • addedOutput schema / properties / comment_count / title
      Added value: +"Comment Count"
    • addedOutput schema / properties / items / items / properties / author / properties / avatar_url / title
      Added value: +"Avatar Url"
    • addedOutput schema / properties / items / items / properties / author / properties / has_wechat_channels_account / title
      Added value: +"Has Wechat Channels Account"
    • addedOutput schema / properties / items / items / properties / author / properties / name / title
      Added value: +"Name"
    • addedOutput schema / properties / items / items / properties / author / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / items / items / properties / author / title
      Added value: +"WechatVideoCommentAuthorData"
    • addedOutput schema / properties / items / items / properties / comment_id / title
      Added value: +"Comment Id"
    • addedOutput schema / properties / items / items / properties / content / title
      Added value: +"Content"
    • addedOutput schema / properties / items / items / properties / image_urls / title
      Added value: +"Image Urls"
    • addedOutput schema / properties / items / items / properties / ip_location / title
      Added value: +"Ip Location"
    • addedOutput schema / properties / items / items / properties / like_count / title
      Added value: +"Like Count"
    • addedOutput schema / properties / items / items / properties / object_id / title
      Added value: +"Object Id"
    • addedOutput schema / properties / items / items / properties / object_nonce_id / title
      Added value: +"Object Nonce Id"
    • addedOutput schema / properties / items / items / properties / publish_time / title
      Added value: +"Publish Time"
    • addedOutput schema / properties / items / items / properties / reply_count / title
      Added value: +"Reply Count"
    • addedOutput schema / properties / items / items / properties / stickers / items / properties / thumbnail_url / title
      Added value: +"Thumbnail Url"
    • addedOutput schema / properties / items / items / properties / stickers / items / properties / url / title
      Added value: +"Url"
    • addedOutput schema / properties / items / items / properties / stickers / items / title
      Added value: +"WechatVideoCommentStickerData"
    • addedOutput schema / properties / items / items / properties / stickers / title
      Added value: +"Stickers"
    • addedOutput schema / properties / items / items / title
      Added value: +"WechatVideoCommentItemData"
    • addedOutput schema / properties / items / title
      Added value: +"Items"
    • addedOutput schema / properties / next_page_token / title
      Added value: +"Next Page Token"
    • addedOutput schema / title
      Added value: +"WechatVideoCommentsResult"
  4. 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"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / items / items / properties / author / properties / has_wechat_channels_account
      Added value: +{
      +  "default": false,
      +  "description": "是否开通微信视频号",
      +  "type": "boolean"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / comment_id / description
      Previous value: -"评论 ID"New value: +"微信视频号一级评论 ID;可作为评论回复工具的 comment_id 输入。"
  7. 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"
      +]
  8. 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 可用于用户信息工具;不可用时为空字符串"
  9. 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"
      +]
  10. First observed

TDQS

A3.5/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 one useful behavioral detail beyond the annotations: it accepts messy share copy, not just a clean link. It says nothing about pagination behavior, rate limits, or failure modes for invalid/expired links.

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?

A single front-loaded sentence that names the resource and both accepted input forms with zero filler. It is efficient, though its brevity leaves no room for routing guidance.

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?

An output schema exists and the schema documents pagination, so return values and paging need no explanation in the description. For a two-parameter read-only tool this covers what an agent needs, with only the sibling-routing choice left implicit.

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 both url and page_token are already fully documented, including the share-text example and the requirement to echo next_page_token. The description merely restates the url flexibility, adding no meaning beyond the schema; 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?

States a specific verb and resource (获取评论列表 for 微信视频号视频) and constrains input to a video URL or share text containing one, which separates it in practice from the sibling that takes an object_id. It does not name that sibling explicitly, so the differentiation is implicit rather than spelled out.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer it should call this when it has a URL or share copy rather than an object ID. There is no explicit when-to-use/when-not-to-use statement and no guidance pointing to wechat_get_video_comments_by_object_id as the alternative when only an ID is available.

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