Skip to main content
Glama

Prepare a Post

prepare_post

准备一条要发布到 PowPow 的泡泡(保存为草稿,不会公开)。真正公开必须再调用 publish_post 并带上返回的 draft_id。content 是正文(最多 5000 字);images 是用户在对话里上传的图片(最多 3 张)——用户发了图,就把那张图作为文件传进这个参数(用客户端给出的文件引用,不要自己编造 URL);正文和图片至少要有一样。place 是可选地名,会解析成地图位置,发布后这条泡泡会出现在该地点。草稿 1 小时内有效。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "prepare_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeNo地点名,如「故宫博物院」「国贸」。留空则发布为不带位置的普通帖子(只进信息流,不进地图)
imagesNo用户在对话里上传的图片,最多 3 张。用户发了图就带上这个参数,用客户端给出的文件引用;不要自己编造 download_url 或图片链接
contentYes正文,最多 5000 字。直接写给人看的内容,不要包含 HTML 标签。只发图时可以不传

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only supply readOnly=false, destructive=false, openWorld=false — a bare safety profile. The description adds real behavioral context beyond that: the output is a non-public draft, the draft expires in 1 hour (草稿 1 小时内有效), and a second call is required to go live. It stops short of covering draft quota, cleanup, or whether a draft can be discarded, so it is strong rather than exhaustive.

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 single most decision-relevant fact (this creates a private draft), then per-parameter notes, then the expiry caveat. Sentences are dense but purposeful; a couple of clauses (5000 字 / 最多 3 张) duplicate the schema and could be trimmed.

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?

With no output schema, the description still names the one return value that matters for chaining (draft_id) plus the 1-hour validity window, and it covers the non-obvious image-reference handling rule. Minor gaps remain around other returned fields and draft lifecycle, but an agent has enough to call and chain it correctly.

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 baseline is 3; the description adds value by explaining that place is geocoded (会解析成地图位置) and that the post then surfaces at that location, and by warning not to fabricate download_url values for images. It loses a point for restating limits already in the schema (5000 字, 最多 3 张) and for saying 正文和图片至少要有一样, which is looser than the schema's required:["content"] and could leave an agent unsure whether content may be omitted.

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?

States a specific verb and resource (准备一条要发布到 PowPow 的泡泡/草稿) and immediately marks the scope limit that defines it: saved as draft, not public. It explicitly contrasts with the sibling publish_post, so an agent distinguishes the two without opening either schema.

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

Usage Guidelines5/5

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

Gives the exact when-to-use/when-not rule: this tool only creates the draft, and真正公开必须再调用 publish_post 并带上返回的 draft_id. The alternative tool and the condition that selects it are both named, leaving nothing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.