Skip to main content
Glama
cloud189-mcp

cloud189-mcp

by zyw294

cloud189_recycle_restore

Restores a specified file or directory from the Tianyi Cloud Drive recycle bin using its fileId, letting you recover accidentally deleted items back to your drive.

Instructions

从回收站恢复指定的文件/目录(需要回收站里的 fileId)。

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_recycle_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYes回收站条目的 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.6

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full behavioral burden, yet it discloses almost nothing about the mutation: it does not say whether restoration overwrites an existing file with the same name, where the item is restored to, whether it requires permissions, or what happens if the id is stale. The only behavioral signal is the requirement that the fileId come from the recycle bin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the action and its precondition are stated in order. Its brevity borders on under-specification for a mutation tool, which keeps it from a 5.

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

Completeness2/5

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

Given no annotations, no output schema, and an irreversible-looking restore operation, the definition should say what a successful restore yields and how failures (missing or expired ids) surface. None of that is present, leaving an agent with only the precondition.

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% for the single fileId parameter, so the schema already documents it as '回收站条目的 id'. The description reinforces the non-obvious point that this id belongs to the recycle-bin namespace rather than a normal file listing, but adds no format, constraint, or example beyond that.

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?

The description names a specific verb (从回收站恢复 = restore from recycle bin) and a specific resource (指定的文件/目录), which distinguishes it from the sibling cloud189_recycle_empty (which empties the bin) and cloud189_recycle_list. It stops short of explicitly contrasting with those siblings, so an agent must infer the boundary.

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?

The parenthetical '(需要回收站里的 fileId)' implies you must first obtain an id from the recycle bin, hinting at a list-then-restore workflow, but the description never states when to use this versus cloud189_recycle_list or cloud189_recycle_empty, and never names an alternative. Usage is implied rather than instructed.

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