Skip to main content
Glama

wps_reload_addin

Reload WPS add-in code without restarting the application. After modifying add-in JavaScript files, call this tool to instantly apply changes to the specified host or all hosts.

Instructions

热更新:让指定宿主的 WPS 加载项重新加载 addin 代码,无需完全退出并重启 WPS。修改加载项 js 后(含重新发布/手动同步到容器)调用它以立即生效。host 省略则三个宿主都重载。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo重载哪个宿主的加载项,默认全部
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, the description fully bears the transparency burden. It discloses that this is a hot update requiring no restart, and it affects the add-in code immediately. However, it does not mention potential side effects (e.g., state loss, reinitialization impact) or any prerequisites or permissions, which would have been useful for a mutation-like operation.

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 two concise sentences in Chinese: first defines the purpose and benefit, second explains the usage context. Every part is essential, no redundancy. It is front-loaded with the core action and benefit.

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?

For a simple tool with one optional parameter and no output schema, the description covers the core purpose, usage trigger, and default parameter behavior. Missing information (e.g., return value, error conditions) is acceptable given the tool's simplicity, but could be slightly more complete if it mentioned that it returns nothing or indicates success.

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 input schema has 100% coverage with a clear enum and description. The description adds value beyond the schema by explicitly stating the default behavior when 'host' is omitted ('所有三个宿主都重载'), which is not captured in the schema. This helps the agent understand optionality.

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 ('reload addin code'), the resource ('specified host's WPS add-in'), and the benefit (hot update without restart). It distinguishes itself from sibling document-operation tools by being a maintenance/reload utility, and the title 'reload_addin' reinforces this.

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 explicit when-to-use guidance: after modifying add-in JS (including republish/manual sync). It also explains the default behavior when 'host' is omitted. No alternative tools exist among siblings, so no exclusion criteria are needed, but explicit when-not-to-use is absent.

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