Skip to main content
Glama
bkmashiro

weixin-mcp

by bkmashiro

weixin_send_file

Send file attachments to WeChat users using a local file path or URL, with optional caption and context token.

Instructions

Send a file attachment to a WeChat user. Source can be a local file path or URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient user ID (full or short prefix)
sourceYesFile source: local file path or URL
captionNoOptional text caption to send with the file
context_tokenNoOptional context_token to link reply
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It reveals that the source can be a local path or URL but says nothing about side effects, required permissions, or failure behavior, which is a significant gap for a send operation.

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 sentence that front-loads the action and recipient. It avoids wasted words and is appropriately sized for the tool's simplicity.

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 no output schema and no annotations, leaving the description to convey essential context. It omits any mention of prerequisites, authentication, or what distinguishes this from weixin_send_image, making it incomplete for safe invocation.

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?

The input schema covers all four parameters with descriptions, achieving 100% coverage. The description only restates the 'source' property's type ('local file path or URL'), adding no new information beyond what the schema already provides, so it merits the baseline score.

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 uses a specific verb ('Send') and resource ('file attachment') to define the tool's core function. It clearly states what is sent and to whom, and distinguishes itself from sibling tools like weixin_send_image by mentioning generic file attachments. However, it doesn't explicitly contrast with siblings, so it's clear but not fully differentiated.

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

Usage Guidelines3/5

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

The description implies this tool is used for sending files as attachments, but it does not specify when to choose it over weixin_send_image or weixin_send. There are no exclusion criteria or alternative tool guidance, leaving the agent to infer usage context.

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/bkmashiro/weixin-mcp'

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