wps_excel_clean_data
数据清洗工具,支持多种清洗操作的组合。 使用场景: - "把A列的前后空格去掉" -> 使用 trim 操作 - "把日期格式统一成年-月-日" -> 使用 unify_date 操作 - "删除空行" -> 使用 remove_empty_rows 操作 支持的操作: - trim: 去除单元格前后空格 - remove_duplicates: 删除重复行 - unify_date: 统一日期格式为 yyyy-mm-dd - remove_empty_rows: 删除空行
This record as markdown: /tools/wps-office-mcp/wps-excel-clean-data.md
What wps_excel_clean_data does on Wps Office
AI agents call wps_excel_clean_data to retrieve information from Wps Office without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
range | string | Yes | 要清洗的数据范围,如 A1:D100 |
sheet | string | — | 工作表名称,不填则使用当前活动工作表 |
operations | array | Yes | 要执行的清洗操作列表 |
Parameters from the server's own tool schema.
Why wps_excel_clean_data is rated Low
Even though wps_excel_clean_data only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
The rule that runs wps_excel_clean_data safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Wps Office, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For wps_excel_clean_data, this is the rule to start with:
wps_excel_clean_data is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Wps Office, apply this rule, and every wps_excel_clean_data call is checked against it from then on.
Questions about wps_excel_clean_data
数据清洗工具,支持多种清洗操作的组合。 使用场景: - "把A列的前后空格去掉" -> 使用 trim 操作 - "把日期格式统一成年-月-日" -> 使用 unify_date 操作 - "删除空行" -> 使用 remove_empty_rows 操作 支持的操作: - trim: 去除单元格前后空格 - remove_duplicates: 删除重复行 - unify_date: 统一日期格式为 yyyy-mm-dd - remove_empty_rows: 删除空行. It is categorised as a Read tool in the Wps Office MCP Server, which means it retrieves data without modifying state.
wps_excel_clean_data accepts 3 parameters: range, sheet, operations. Required: range, operations. The full parameter table on this page comes from the server's own tool schema.
Register the Wps Office MCP server in PolicyLayer and add a rule for wps_excel_clean_data: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Wps Office. Nothing to install.
wps_excel_clean_data is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the wps_excel_clean_data rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for wps_excel_clean_data. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
wps_excel_clean_data is provided by the Wps Office MCP server (wps-office-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Wps Office, and thousands of servers like it.
This server
Across the catalogue