Skip to main content
Glama

wps_et_open

Opens spreadsheet files in WPS, supporting local and cloud-synced paths. Validates file access to avoid permission errors; ensure the file isn't already open to prevent blocking prompts.

Instructions

打开本地或云同步的表格文件。注意:若该文件已在 WPS 中打开(同名同路径),WPS 会弹出应用级原生提示框阻塞整个进程(跨文字/表格/演示所有宿主的命令都会卡住直到用户手动点掉),对象模型层无法拦截或感知。调用前建议先确认目标文件未处于打开状态。另外 WPS 是沙盒应用,只被系统授权访问 ~/Downloads、曾用 Finder/shell "open" 命令打开过的文件、或已保存过的路径;打开未授权路径会被内核拦截,本工具已做校验会明确抛错(不会假成功),遇到此错误请改用 ~/Downloads 下的文件,或先用 shell "open" 命令打开一次目标文件再重试。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes文件绝对路径
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description bears full responsibility. It discloses critical behaviors: the blocking dialog when file is already open, the sandbox path restrictions, and that errors are explicit (no false success). This level of detail for a simple open operation is exceptional.

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 efficiently structured: the first sentence states the primary purpose, followed by two separate warning paragraphs. Every sentence serves a purpose, and there is no redundant or unnecessary text. It is concise yet comprehensive.

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?

The description covers purpose, critical behavioral caveats, and error behavior. It does not explicitly describe the return value or confirm success, but for an open tool with no output schema this is a minor gap. Given the complexity (single param, no nested objects), the description is nearly complete.

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?

The single parameter 'path' has schema coverage at 100% with description '文件绝对路径'. The tool description adds context about path authorization (sandbox restrictions) but does not add new semantic meaning beyond what the schema already provides. Baseline 3 is appropriate.

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 tool opens local or cloud-synced spreadsheet files, using a specific verb (打开) and resource (表格文件). This distinguishes it from sibling tools like wps_word_open and wps_wpp_open which target different document types.

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 guidance: warns against opening files already open in WPS (causes blocking dialog) and explains sandbox restrictions with actionable advice. It does not explicitly name alternative tools, but the purpose implies when to use this tool versus sibling open tools.

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