Skip to main content
Glama

WeChat_publish_draft

Publish a pre-created WeChat Official Account draft by providing its draft_media_id and access_token, and receive a publish_id to track the publishing task.

Instructions

发布微信公众号草稿

Metadata:

  • input: access_token, draft_media_id

  • output: success, error, errmsg, publish_id

参数说明:

  • access_token: 接口凭证

  • draft_media_id: 草稿ID,即WeChat_create_draft返回的draft_media_id

  • publish_id: 发布任务ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It lists input and output fields, including publish_id as a task ID which hints at asynchronous publishing, but it does not disclose side effects, reversibility, or error conditions. Some behavioral context is present 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 description is relatively short, front-loaded with the main purpose, and uses a structured Metadata list. There is slight redundancy between the metadata section and the parameter explanation, but it remains clear and easy to scan.

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?

For a simple wrapper-style tool, the description covers necessary inputs and outputs, including the publish task ID. It could be improved by explicitly stating that publishing creates a task and may be asynchronous, but overall it provides sufficient context given the tool's simplicity.

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

Parameters5/5

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

The schema only has a generic 'args' string with 0% description coverage. The description fully compensates by enumerating access_token and draft_media_id with explanations and explicitly linking draft_media_id to the output of WeChat_create_draft, adding meaningful parameter semantics beyond the schema.

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 opens with '发布微信公众号草稿' which clearly states the action (publish) and resource (WeChat Official Account draft). It is distinct from sibling tools like create/del draft, making the purpose unambiguous.

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 parameter section mentions that draft_media_id comes from WeChat_create_draft, implying a workflow but not explicitly stating when to use this tool versus alternatives. It lacks explicit when-to-use or when-not-to-use guidance, though the context is somewhat implied.

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/kakaxi3019/wechat_oa_mcp'

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