Skip to main content
Glama
cocohahaha

wechat-local-mcp

by cocohahaha

搜索微信消息

wechat_search_messages
Read-onlyIdempotent

Search text messages across all or specific WeChat chats with optional time range, pagination, and output in JSON or Markdown.

Instructions

在全部聊天或指定聊天中搜索文本消息,支持时间范围、offset/limit 和 JSON/Markdown 输出。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatsNo
limitNo
queryYes
offsetNo
end_timeNo
start_timeNo
response_formatNomarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, indicating a safe read operation. The description adds high-level features (time range, pagination, output format) but does not disclose additional behavioral details such as result ordering or limitations beyond default values.

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?

The description is a single, well-structured sentence that front-loads the core action and scope. Every part adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 7 parameters, but the description only covers about half (time range, pagination, output format). With an output schema presumably present, return values are covered, but parameter coverage is incomplete, requiring the agent to rely on schema alone for missing aspects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It mentions time range, offset/limit, and output format corresponding to parameters, but fails to explain the 'query' or 'chats' parameters or provide any format/semantics details. This is insufficient given the parameter richness.

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 specifies that the tool searches text messages in all or specific chats, with support for time range, pagination, and output formats. This effectively distinguishes it from sibling tools like wechat_find_todos or wechat_recent_messages.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus alternatives. It only lists features, leaving the agent to infer appropriate usage without explicit context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cocohahaha/wechat-local-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server