Skip to main content
Glama
FuturixAI-and-Quantum-Works

zerodrive-mcp-server

restore_from_trash

Recovers deleted files or folders from trash to their original location, or to root if original folder is missing.

Instructions

Restore a file or folder from the trash back to its original location. If the original parent folder no longer exists, the item is restored to the root directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesThe unique identifier of the file or folder to restore
typeNoType of item to restore. If not provided, the system will auto-detect.
Behavior3/5

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

With no annotations, the description partially covers behavior: it explains the restoration to original location and fallback to root. However, it omits details like required permissions, idempotency, or what happens if the item is already restored.

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 sentences, no wasted words. Critical information (purpose and edge case) is front-loaded. Every sentence serves a purpose.

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 restoration tool with no output schema, the description covers the main function and a key edge case (missing parent). It could be improved by mentioning that restore is only possible from trash (implicitly clear from name) and any constraints (e.g., user must have permissions).

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 coverage is 100% (both parameters described in schema). The description adds no additional meaning beyond the schema's descriptions of 'itemId' and 'type' (with auto-detect). Baseline score of 3 applies.

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 verb 'restore' and the resource 'file or folder from the trash'. It distinguishes this tool from siblings like 'empty_trash' (permanent deletion) and 'delete_folder' (moves to trash) by focusing on restoration.

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 description implies usage for restoring trashed items and mentions the fallback to root if parent missing, but does not explicitly state when to use versus alternatives like 'empty_trash' or when not to use (e.g., if item was permanently deleted).

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

Install Server

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/FuturixAI-and-Quantum-Works/zerodrive-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server