Skip to main content
Glama
datoushiwo

wechat-writer-mcp

by datoushiwo

transform_for_wechat

Converts markdown to WeChat-formatted HTML. Splits paragraphs, handles code blocks, converts hyperlinks to footnotes, adds templates, and generates three title candidates.

Instructions

将 markdown 内容转换为公众号适配的 HTML 格式。自动段落切分、代码块处理、超链接转脚注、添加头尾模板,并生成 3 个标题候选。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo文章原标题(用于生成标题候选)
raw_markdownYes原始 markdown 内容
apply_templateNo是否应用头尾模板
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It lists key automatic processes (paragraph splitting, code handling, etc.) but omits details like whether the transformation is reversible, what happens with unsupported markdown, or error handling. Adequate but not comprehensive.

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 single-sentence description packs multiple features efficiently. While it could be broken into bullet points for clarity, it is front-loaded with the primary action and free of fluff. Minor deduction for dense structure that might be harder to parse.

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?

Given the complexity (multiple automatic steps) and no output schema, the description covers core behaviors well. It mentions title candidates, templates, and specific markdown conversions. Lacks details on edge cases (e.g., images, tables) but sufficient for general use.

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

Parameters4/5

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

Schema coverage is 100%, so description adds value beyond field names. It explains that 'title' influences title candidates and 'apply_template' controls header/footer templates. This contextualizes the parameters' roles in the transformation, justifying a score above baseline.

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 converts markdown to WeChat-optimized HTML, listing specific transformations (paragraph splitting, code blocks, hyperlinks to footnotes, templates, title candidates). This distinguishes it from siblings that likely handle different stages like importing or saving.

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?

No guidance on when to use this tool versus siblings like 'import_source' or 'save_to_wechat_draft'. The description does not specify prerequisites, exclusions, or alternative tools, leaving the agent without context for selection.

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/datoushiwo/wechat-writer-mcp'

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