Skip to main content
Glama

wps_word_append_paragraph

Append a paragraph to the end of a document and apply full formatting (font, size, bold, italic, style, alignment, spacing, indent) in a single call. Works without cursor position, ideal for linear documents like papers.

Instructions

在文档末尾追加一个段落,并在同一调用内对该段落就地应用格式(字体/字号/加粗/斜体/样式名/对齐/段前段后/首行缩进/行距)。插入与格式化绑定在同一段,不依赖光标位置,可安全用于论文等线性排版。空文档直接作为首段。text 含 \x0c 可插入分页符。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boldNo加粗
textYes段落文本;含 \x0c 则插入分页符
alignNo对齐
italicNo斜体
font_nameNo字体名,如 宋体/黑体/等线
font_sizeNo字号(pt),如 12
style_nameNo段落样式名,如 "标题 1"(中文)、"正文";不给则用默认
space_afterNo段后间距(pt)
line_spacingNo行距(pt)
space_beforeNo段前间距(pt)
first_line_indentNo首行缩进(pt),正文 2 字符约 24pt
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden. It discloses key behaviors: atomic append+formatting, no cursor dependency, empty document handling, and page break via \x0c. It lacks details on error handling, undo behavior, or return value, but covers core traits adequately.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise—three sentences without redundancy. It front-loads the main purpose and function, with supporting details following efficiently.

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?

Given 11 parameters, no output schema, and many siblings, the description covers purpose, usage context, and key behavioral traits. It omits return value and error scenarios but is overall sufficient for an agent to understand when and how to use the tool.

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 coverage is 100%, so baseline is 3. The description lists formatting options but adds no significant meaning beyond the schema's parameter descriptions. It clarifies that formatting applies to the same paragraph, which is marginally useful.

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 clearly states the verb (append), resource (paragraph at end of document), and scope (with formatting in one call). It distinguishes from siblings like wps_word_insert_text (which inserts at cursor) and separate formatting tools.

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?

The description specifies it is 'independent of cursor position' and 'safe for linear typesetting like theses', and that empty documents get a first paragraph. It implicitly differentiates from cursor-dependent tools but does not explicitly name alternatives or state when not to use it.

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

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/Antares422/draftly-wps'

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