Skip to main content
Glama

SocialDataX 微信视频号 WeChat Channels MCP

wechat_get_mp_article_detail_by_url

Read-only

根据微信公众号文章链接或包含链接的分享文案获取文章详情和正文。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes微信公众号文章 / WeChat Official Account article 链接,或包含该链接的分享文案;例如 https://mp.weixin.qq.com/s/cyog0u9QpLFvdBsh9JR3_g。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
snYes公众号文章 sn 标识;不可用时为空字符串
bizYes公众号文章 biz 标识;不可用时为空字符串
idxYes公众号文章 idx 标识;不可用时为空字符串
midYes公众号文章 mid 标识;不可用时为空字符串
titleYes公众号文章标题
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
accountYes公众号账号信息
image_urlsYes正文图片链接,按页面顺序返回
source_urlYes规范化后的公众号文章链接
descriptionYes文章摘要;不可用时为空字符串
content_htmlYes正文 HTML 片段
content_textYes正文纯文本,已去除标签并压缩空白
publish_timeYes文章发布时间,秒级 Unix 时间戳;当前不可用时为 null
cover_image_urlYes文章封面图片链接;当前不可用时为 null
linked_articlesYes正文内链公众号文章列表
finder_video_cardsYes正文内嵌视频号卡片列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / finder_video_cards / items / properties / user_id / description
      Previous value: -"内嵌视频号卡片的作者用户 ID;仅 v2_...@finder 可用于用户信息或用户发布视频列表工具;不可用时为空字符串"New value: +"内嵌视频号卡片的作者用户 ID;仅 v2_...@finder 可用于用户信息或用户发布作品列表工具;不可用时为空字符串"
  2. 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: -[
      -  "biz",
      -  "mid",
      -  "idx",
      -  "sn",
      -  "title",
      -  "account",
      -  "publish_time",
      -  "cover_image_url",
      -  "description",
      -  "source_url",
      -  "content_text",
      -  "content_html",
      -  "image_urls",
      -  "linked_articles",
      -  "finder_video_cards"
      -]New value: +[
      +  "biz",
      +  "mid",
      +  "idx",
      +  "sn",
      +  "title",
      +  "account",
      +  "publish_time",
      +  "cover_image_url",
      +  "description",
      +  "source_url",
      +  "content_text",
      +  "content_html",
      +  "image_urls",
      +  "linked_articles",
      +  "finder_video_cards",
      +  "points"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / finder_video_cards / items / properties / user_id / description
      Previous value: -"内嵌视频号卡片的作者用户 ID"New value: +"内嵌视频号卡片的作者用户 ID;仅 v2_...@finder 可用于用户信息或用户发布视频列表工具;不可用时为空字符串"
  4. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, establishing this as a read-only network access tool. The description adds value by mentioning it returns both article details AND body content ('正文'), which explains the output scope. However, it doesn't disclose edge cases like what happens with invalid or expired links. 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that fits within the established field limit. The parameter description is well-structured with delimiters (;-separated: one part in the schema type and another in the example), length indicators, and example separators. It's concise and functional, though the embedded format markers add minor noise.

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?

For a single-parameter tool with 100% schema coverage, an output schema present, and clear readOnly annotations, the description is adequately complete. It functions well alongside its siblings, though it could have mentioned what fields appear in the returned article details or specified any expected error behavior for expired links.

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 coverage is 100%, so the schema fully documents the url parameter—the description repeats this same information with an example URL. The description adds marginal context by clarifying accepted input forms (link or share text), though this was already explicit in the schema's type description. This aligns with the baseline of 3 when schema has full coverage.

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?

The description clearly states the tool's function: '获取微信公众号文章详情和正文' (get WeChat article details and body content). It uses a specific verb+resource structure and distinguishes itself from sibling tools that handle videos (wechat_get_video_detail_by_url), users (wechat_get_user_info_by_url), and comments (wechat_get_video_comments_by_url) by focusing specifically on MP articles.

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?

The description indicates the accepted input format (URL or share text containing the URL). While it doesn't explicitly name alternatives, the sibling context provides clear differentiation—for video URLs, wechat_get_video_detail_by_url would be used instead. The tool's scope is well-defined and self-contained for article fetching.

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