Skip to main content
Glama
hetiankong

WeChat Local Agent MCP

by hetiankong

message_media

Locate existing local media paths in WeChat chats by supplying chat ID and optional message identifiers, enabling retrieval of media file locations.

Instructions

Locate existing local message media paths; requires WECHAT_MCP_ENABLE_MEDIA=1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
local_idNo
server_id_strNo
allow_derived_writeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It conveys a read-only intent ('locate') and the environment variable requirement, but it does not disclose what happens when media is missing, whether permissions are needed, or how the 'allow_derived_write' parameter affects behavior (implying potential writes). The write-capable parameter is a notable omission for transparency.

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 concise sentence with no wasted words. It front-loads the core purpose and includes a key prerequisite, making it highly efficient for an agent to parse.

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

Completeness2/5

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

The tool has 4 parameters, no annotation support, and zero schema descriptions, so the description must provide substantial context. It only specifies the core function and a prerequisite, but omits how to choose between local_id and server_id_str, the meaning of 'chat', and behavior around derived writes. Although an output schema exists, the input side and usage context remain severely under-specified.

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

Parameters1/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 by explaining parameters. It provides no details about 'chat', 'local_id', 'server_id_str', or 'allow_derived_write'. The parameter titles in the schema are minimal, and the description does not clarify their roles (e.g., how to specify a message vs a chat, or the implications of derived writes). This leaves the agent guessing.

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 the tool's function with a specific verb ('locate') and resource ('existing local message media paths'), which clearly conveys its purpose. However, it does not explicitly differentiate from sibling media tools like extract_message_files or ocr_message_images, so it misses the top score.

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 only usage guidance is the prerequisite 'requires WECHAT_MCP_ENABLE_MEDIA=1', which is a condition rather than guidance on when to use this tool versus alternatives. There is no mention of when-not to use it, nor any reference to sibling tools, leaving the agent without clear selection criteria.

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/hetiankong/wechat-local-agent-mcp'

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