Skip to main content
Glama

wps_word_save

Save the current Word document. On first save, provide a path (e.g., ~/Downloads) to prevent the native save dialog from freezing WPS.

Instructions

保存当前文档。若该文档从未保存过(如 wps_word_new 新建后从未存过),必须传 path 参数;否则直接保存会触发原生"另存为"对话框并卡死整个 WPS 进程(已在对象模型层检测规避,会直接报错而不是卡死)。path 同样受 WPS 沙盒限制,建议用 ~/Downloads。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo首次保存时的目标路径(已保存过的文档可省略)
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively warns that omitting the path on an unsaved document would previously freeze the process but now raises an error instead. It also explains the sandbox constraint on the path. Missing details about overwrite behavior or return values, but the key safety behaviors are transparent.

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, comprising three focused sentences. It front-loads the core action, then adds necessary conditional behavior and a practical suggestion. No wasted words; every sentence adds value.

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 the tool's simplicity (one optional parameter, no output schema), the description is quite complete. It covers the main behavioral nuance (path requirement for first save) and the sandbox aspect. It does not elaborate on return values or error handling beyond the freeze mitigation, but these are minor omissions for a save tool.

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?

The schema already provides 100% coverage with a description for the single 'path' parameter. The tool description adds value by explaining when the parameter is required (first save) and the sandbox restriction with a recommended path (~/Downloads). This goes beyond the schema's simple description.

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 action '保存当前文档' (save the current document) and distinguishes it from sibling tools like wps_word_new, wps_word_open, and wps_word_close. It adds specific context about the path parameter's necessity based on save history, making the purpose unambiguous.

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 provides clear guidance on when to include the path parameter (first save) and when it can be omitted (already saved). It also warns about the sandbox restriction and recommends ~/Downloads. However, it does not explicitly compare to alternative save-related tools like wps_word_export_pdf, so some usage context is implied rather than fully explicit.

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