Skip to main content
Glama

SocialDataX 微信视频号 WeChat Channels MCP

wechat_get_video_detail_by_encrypted_object_id

Read-only

根据微信视频号合法 encrypted_object_id 获取视频详情;用户已提供时直接使用,否则可从 wechat_search_videos 结果获取。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
encrypted_object_idYes微信视频号合法 encrypted_object_id;用户已提供时原样使用,否则可从 wechat_search_videos 返回项获取。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
videoYes视频资源信息;当前不可用时为 null
authorYes作者信息
imagesYes图文作品按顺序返回图片资源;视频作品为空数组
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
object_idYes微信视频号详情对象 ID;不可用时为空字符串
like_countYes点赞数
topic_tagsYes作品文案中的话题标签;无话题时为空数组;每项只返回 name
descriptionYes作品描述;不可用时为空字符串
ip_locationYes作品发布时的 IP 属地;没有 IP 属地时为空字符串
share_countYes转发/分享数
content_typeYes内容类型;视频返回 video,图文返回 image
publish_timeYes发布时间,秒级 Unix 时间戳
collect_countYes收藏数
comment_countYes评论数
cover_image_urlYes封面图或图文首图缩略资源链接;当前不可用时为 null
object_nonce_idYes微信视频号对象 nonce ID;后续评论等能力需要复用时原样保留

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / video / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "duration_ms": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "视频时长,单位毫秒;当前不可用时为 null"
      -      },
      -      "video_url": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "微信视频号视频资源链接;用于后续下载或转附件处理,不保证可直接播放;不可用时为 null。"
      -      }
      -    },
      -    "required": [
      -      "video_url",
      -      "duration_ms"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "duration_ms": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "视频时长,单位毫秒;当前不可用时为 null"
      +      },
      +      "height": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "视频高度,像素;当前不可用时为 null"
      +      },
      +      "video_url": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "微信视频号视频资源链接;用于后续下载或转附件处理,不保证可直接播放;不可用时为 null。"
      +      },
      +      "width": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "视频宽度,像素;当前不可用时为 null"
      +      }
      +    },
      +    "required": [
      +      "video_url",
      +      "duration_ms",
      +      "width",
      +      "height"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / encrypted_object_id / description
      Previous value: -"微信视频号搜索结果返回的 encrypted_object_id;如果来自搜索结果,请原样传入。"New value: +"微信视频号合法 encrypted_object_id;用户已提供时原样使用,否则可从 wechat_search_videos 返回项获取。"
  3. Changed2 schema fields changed
    • changedOutput schema / properties / author / properties / user_id / description
      Previous value: -"作者微信视频号用户 ID;仅 v2_...@finder 可用于用户信息或用户发布视频列表工具;不可用时为空字符串"New value: +"作者微信视频号用户 ID;仅 v2_...@finder 可用于用户信息或用户发布作品列表工具;不可用时为空字符串"
    • changedOutput schema / properties / ip_location / description
      Previous value: -"视频发布时的 IP 属地;没有 IP 属地时为空字符串"New value: +"作品发布时的 IP 属地;没有 IP 属地时为空字符串"
  4. 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: -[
      -  "object_id",
      -  "object_nonce_id",
      -  "content_type",
      -  "description",
      -  "topic_tags",
      -  "cover_image_url",
      -  "video",
      -  "images",
      -  "like_count",
      -  "collect_count",
      -  "comment_count",
      -  "share_count",
      -  "publish_time",
      -  "ip_location",
      -  "author"
      -]New value: +[
      +  "object_id",
      +  "object_nonce_id",
      +  "content_type",
      +  "description",
      +  "topic_tags",
      +  "cover_image_url",
      +  "video",
      +  "images",
      +  "like_count",
      +  "collect_count",
      +  "comment_count",
      +  "share_count",
      +  "publish_time",
      +  "ip_location",
      +  "author",
      +  "points"
      +]
  5. Changed1 schema field changed
    • changedOutput schema / properties / author / properties / user_id / description
      Previous value: -"作者微信视频号用户 ID;不可用时为空字符串"New value: +"作者微信视频号用户 ID;仅 v2_...@finder 可用于用户信息或用户发布视频列表工具;不可用时为空字符串"
  6. Changed2 schema fields changed
    • addedOutput schema / properties / topic_tags
      Added value: +{
      +  "description": "作品文案中的话题标签;无话题时为空数组;每项只返回 name",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "description": "话题标签名称",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "object_id",
      -  "object_nonce_id",
      -  "content_type",
      -  "description",
      -  "cover_image_url",
      -  "video",
      -  "images",
      -  "like_count",
      -  "collect_count",
      -  "comment_count",
      -  "share_count",
      -  "publish_time",
      -  "ip_location",
      -  "author"
      -]New value: +[
      +  "object_id",
      +  "object_nonce_id",
      +  "content_type",
      +  "description",
      +  "topic_tags",
      +  "cover_image_url",
      +  "video",
      +  "images",
      +  "like_count",
      +  "collect_count",
      +  "comment_count",
      +  "share_count",
      +  "publish_time",
      +  "ip_location",
      +  "author"
      +]
  7. 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 description is not required to restate safety. It adds the constraint that the ID must be valid and gives its source, but no additional behavior such as failure modes or output shape is disclosed. No contradiction with annotations.

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?

One compact sentence that front-loads the purpose and then gives the input-source rule; no filler or redundant restatement of the tool name. Every 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?

With read-only annotations, a complete output schema, and a single fully documented parameter, the definition covers what an agent needs to call it. The only notable gap is not explicitly routing URL-holders to wechat_get_video_detail_by_url, but the tool name and encrypted_object_id parameter make the distinction inferable.

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 the schema text essentially repeats the main description ('合法 encrypted_object_id; 用户已提供时原样使用,否则可从 wechat_search_videos 返回项获取'). The description adds no parameter meaning beyond the schema, so 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 clear action (获取视频详情) and a specific resource (微信视频号合法 encrypted_object_id), making the tool's purpose obvious. It does not explicitly contrast with the URL-based sibling wechat_get_video_detail_by_url, but the identifier type is unambiguous in both name and description.

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 tells the agent to use the user-provided ID directly and otherwise obtain it from wechat_search_videos results, which is clear procedural guidance. It does not mention when to prefer the URL-based sibling, so exclusions are missing.

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