Skip to main content
Glama
cloud189-mcp

cloud189-mcp

by zyw294

cloud189_delete

Delete a file or directory from Tianyi Cloud Drive by ID, moving it to the recycle bin by default so it can be restored later with recycle restore. Use for cleaning up cloud storage.

Instructions

删除云端文件或目录(默认移入回收站,可用 cloud189_recycle_restore 恢复)。fileType 默认 0(文件),目录传 1。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileId": "<fileId>"
    },
    "name": "cloud189_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYes要删除的文件/目录 id(从 cloud189_list / cloud189_search 获取)
fileTypeNo0=文件(默认),1=目录

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.6

TDQS

A3.7/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 and does disclose the single most important trait: deletion defaults to the recycle bin and is recoverable via cloud189_recycle_restore. It omits whether deleting a directory removes its contents recursively, what permissions are required, and what the call returns.

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?

Two short sentences with the recoverability fact front-loaded and the parameter default second. Nothing is wasted and the most decision-relevant information comes first.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive operation with no annotations and no output schema, the description covers the essential soft-delete/restore story and the parameters are fully documented in the schema. It falls short on directory-recursion behavior, permission requirements, and expected response, which matter for a delete 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 description coverage is 100%, so both parameters are already documented, including the 0/1 enum for fileType and the source of fileId. The description only restates the fileType default and enum meaning already present in the schema, adding no new parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('删除云端文件或目录') and clarifies the default soft-delete behavior. It names cloud189_recycle_restore as the recovery path, which indirectly separates it from permanent-deletion siblings, but it never explicitly contrasts with cloud189_recycle_empty.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the verb and by the note that items go to the recycle bin and can be restored with cloud189_recycle_restore. There is no explicit when-to-use vs. when-not guidance, no mention of prerequisites or permissions, and no statement about deleting non-empty directories.

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