Skip to main content
Glama

SocialDataX 微信 WeChat MCP

wechat_search_mp_image_posts

Read-only

按关键词搜索公众号贴图,支持综合、最新、最热排序与分页。

将结果的 article_url 作为 url 传给 wechat_get_mp_article_detail_by_url 获取正文和全部图片, 或传给 wechat_get_mp_article_comments_by_url 获取评论。搜索卡片可能包含正文片段,精确标题和发布时间以详情为准。

Input Schema

NameRequiredDescriptionDefault
keywordYes公众号贴图搜索词,例如城市摄影、光谷书房;不要传链接或账号 ID。
sort_typeNogeneral 综合、time_descending 最新、hot 最热。general
page_tokenNo首次留空;翻页原样传回 next_page_token,保持 keyword 和 sort_type 不变。请在 3 天内续页;令牌失效后需重新搜索。

Output Schema

NameRequiredDescriptionDefault
itemsYes本页公众号贴图搜索结果
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes下一页分页令牌;空字符串表示已结束,应停止翻页;非空时完整原样传回 page_token,并保持 keyword 和 sort_type 不变。请在 3 天内续页;令牌失效后需重新搜索。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / items / items / properties / article_url / description
      Previous value: -"公众号贴图链接"New value: +"公众号贴图链接;作为 url 传给 wechat_get_mp_article_detail_by_url 获取正文和图片,也可用于评论查询"
    • changedOutput schema / properties / items / items / properties / publish_time / description
      Previous value: -"发布时间,秒级 Unix 时间戳;不可用时为 null"New value: +"搜索源返回的发布时间,秒级 Unix 时间戳;可能与详情不同,精确发布时间以详情为准;不可用时为 null"
    • changedOutput schema / properties / items / items / properties / title / description
      Previous value: -"公众号贴图标题"New value: +"搜索卡片展示文本,可能含正文片段;精确标题以贴图详情为准"
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly and openWorld, but the description adds real data-fidelity context: search cards may contain only a body snippet, and exact title/publish time must be taken from detail. That is a behavioral trait an agent would otherwise get wrong by trusting the card.

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?

Three compact lines: capability first, then the chaining instructions, then the caveat about card fidelity. Every sentence carries new information and nothing is repeated from the schema.

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 no explanation, and the description supplies the two things an agent needs to act: how to chain to the detail/comments tools and that card snippets are not authoritative. Nothing material is missing for a read-only search tool.

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% and the schema already documents sort_type semantics, the 3-day page_token validity, and the keyword constraints, so the schema does the heavy lifting. The description only restates that 综合/最新/最热 sorting and pagination exist, adding no syntax or format detail beyond it — baseline 3.

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: keyword search over 公众号贴图 (image posts), plus sorting and pagination. It is distinguishable from wechat_search_mp_articles (text articles) and wechat_get_mp_account_image_posts_by_account_id (by account ID) by the keyword/account axis, though it never names those siblings 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?

Gives clear downstream usage: feed article_url to wechat_get_mp_article_detail_by_url for body and images, or to wechat_get_mp_article_comments_by_url for comments. It does not state when to prefer this over wechat_search_mp_articles, so the exclusion case is left implicit.

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