Skip to main content
Glama

mp_write_body

Writes segmented plain text to a live WeChat Official Account draft body, appending new content or replacing the full text.

Instructions

写入分段纯文本。append 追加,replace 替换全文。

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": {
      "text": "<text>"
    },
    "name": "mp_write_body"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoappend
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It discloses that replace overwrites the full text, but it does not state whether the write is persistent, whether it requires save/authorization, or what side effects occur.

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 two compact sentences with the main action front-loaded and no wasted wording. It is terse, though the mode explanation could be structured more explicitly.

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

Completeness2/5

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

For a write tool with no annotations and no output schema, the definition leaves important context unstated: what body is being written, whether changes persist, and how this relates to save-draft or passage-replacement siblings. The mode semantics are covered, but behavioral completeness is weak.

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

Parameters3/5

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

Schema description coverage is 0%, so the description should compensate. It adds meaningful semantics for mode by explaining that append adds content while replace swaps the entire text, but the required text parameter is only loosely described as segmented plain text.

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?

The description states a specific verb (写入/write) and resource (分段纯文本/segmented plain text), and it explains the two mode outcomes. It does not differentiate the tool from siblings such as mp_replace_passage or mp_save_draft, which keeps it below a 5.

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 append versus replace behavior is explained, which implies when to choose each mode. However, there is no guidance on when to use this tool instead of mp_replace_passage or when a subsequent mp_save_draft is required.

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