Skip to main content
Glama

mp_list_drafts

Lists WeChat Official Account draft-box entries with draft IDs, titles, update footer, and a tab-state hint, so IDs can be chosen for publishing or deletion.

Instructions

List the drafts in 草稿箱. Returns draft ids (from each card's data-appid), titles, the 更新于 footer and a state hint. item_show_type=8 selects the 贴图 tab and is honoured while that tab holds drafts; when it is empty the console normalises the value to 0 (文章), so both the requested and the landed value are reported. The ids feed mp_publish_draft and mp_delete_draft. Limits: count is 1-20 (default 10) and only the first page is read, so a busy 草稿箱 needs further calls with a smaller count; ids are integers and must be passed as such, never as a title.

【中文】列出草稿箱里的草稿。返回草稿 id(取自每张卡片的 data-appid)、标题、「更新于」页脚和一个状态提示。item_show_type=8 选贴图标签页,只要该标签页有草稿就生效;该标签页为空时控制台会把值规范成 0(文章),所以请求值和实际落地的值都会报出来。这些 id 供 mp_publish_draft 和 mp_delete_draft 使用。限制:count 取值 1–20(默认 10),且只读第一页,草稿多时要再调一次并换小一点的 count;id 是整数,必须按整数传,不能传标题。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mp_list_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNotietu asks for item_show_type=8, article for 0; the console may normalise both to 0, and the reply reports both values / tietu 请求 item_show_type=8,article 请求 0;控制台可能把两者都规范成 0,回包里两个值都会报tietu
countNohow many cards to request from the console, 1-20; the console renders one page, so this is not a cursor / 向控制台请求多少张卡片,取值 1–20;控制台只渲染一页,所以它不是翻页游标

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the pagination limit (only the first page is read), the count bound 1-20 default 10, and the console's normalisation of item_show_type to 0 when the 贴图 tab is empty, including the fact that both requested and landed values are reported. It also flags an input-integrity constraint (ids are integers and must not be passed as titles), which is exactly the kind of failure mode an agent needs warned about.

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?

Front-loaded with the operation and return shape, then limits, then the id-feeds-publish/delete workflow note. Content is dense and each clause carries information, but the full Chinese mirror doubles the length, and the item_show_type normalisation is explained once in the description and again in the schema.

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

Completeness5/5

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

An output schema already exists, yet the description still summarises what comes back (ids, titles, footer, state hint) and where the ids come from (data-appid). Combined with the pagination and count caveats, an agent has everything needed to call this correctly and to know when to call it again.

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 the baseline would be 3; the description exceeds it by explaining the consequence of count ('only the first page is read, so a busy 草稿箱 needs further calls with a smaller count'), which the schema does not convey since it only states the numeric range. The item_show_type normalisation is also restated in prose with the reporting behaviour, adding workflow meaning beyond the enum labels.

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?

States a specific verb and resource (list drafts in 草稿箱) and enumerates the returned fields (draft id from data-appid, title, 更新于 footer, state hint), so the agent knows exactly what it gets. It does not explicitly contrast with the sibling mp_list_published, so full sibling differentiation is missing.

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

Usage Guidelines4/5

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

Clear usage context is given: 'The ids feed mp_publish_draft and mp_delete_draft' tells the agent when this tool is the prerequisite step. It also warns that a busy 草稿箱 requires further calls with a smaller count, which is practical invocation guidance. No explicit when-not-to-use or named alternative for listing published items is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.