Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
WeChat_create_draftA

创建微信公众号草稿

Metadata:

  • input: access_token, image_url, title, content, author, digest, content_source_url, need_open_comment

  • output: success, error, draft_media_id, image_media_id

参数说明:

  • access_token: 接口凭证

  • image_url: 封面图片URL

  • title: 文章标题

  • content: 图文消息内容,支持HTML,<2万字符,<1M

  • author: (可选)作者名称

  • digest: (可选)摘要,默认取正文前54字

  • content_source_url: (可选)原文URL

  • need_open_comment: (可选)0关闭评论(默认),1开启

WeChat_del_draftA

删除微信公众号草稿

Metadata:

  • input: access_token, media_id

  • output: success, error, errcode, errmsg

参数说明:

  • access_token: 接口凭证

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

WeChat_del_materialB

删除微信公众号永久素材

Metadata:

  • input: access_token, media_id

  • output: success, error, errcode, errmsg

参数说明:

  • access_token: 接口凭证

  • media_id: 素材ID,即WeChat_create_draft返回的image_media_id

WeChat_get_access_tokenB

获取微信公众号Access Token

Metadata:

  • input: AppID, AppSecret

  • output: success, error, access_token, expires_in

参数说明:

  • AppID: 公众号唯一凭证

  • AppSecret: 公众号凭证密钥

  • expires_in: 凭证有效时间(秒),默认7200

WeChat_publish_draftA

发布微信公众号草稿

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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct action: creating, deleting drafts, deleting materials, fetching tokens, and publishing. The only potential overlap between del_draft and del_material is resolved by clear parameter descriptions referencing the specific media IDs returned from create_draft.

Naming Consistency4/5

All tools follow a consistent WeChat_verb_noun pattern with snake_case. The only minor deviation is the use of 'del' as an abbreviation instead of the full 'delete', but it's applied consistently across both delete operations.

Tool Count5/5

Five tools is well-scoped for a focused WeChat draft management workflow. Each tool serves a necessary step in creating, publishing, and cleaning up articles, with no redundant or missing obvious tools for the intended scope.

Completeness3/5

The set covers create, publish, and delete for drafts, plus token retrieval and material deletion. However, it lacks get/list/update draft operations, which are essential for managing existing drafts, forcing agents to rely on previously stored IDs.

Maintenance

ActivityInactive
ResponsivenessWithin a week