Skip to main content
Glama
Nextcloud MCP Server

Nextcloud MCP Server

by a-lagutov

clear_trash

Permanently delete a selected trash item or empty the entire trash bin when no item ID is provided; this action cannot be undone.

Instructions

Permanently delete one item from the trash bin, or empty the whole trash bin. Irreversible.

Input Schema

NameRequiredDescriptionDefault
trash_idNoTrash item id; omit to empty the whole trash bin

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses irreversibility and the effect of omitting trash_id, but does not mention required permissions, confirmation behavior, or what happens to other trash items when emptying the bin.

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, front-loaded with the core action and the irreversibility warning. Every sentence carries useful information.

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 one-parameter destructive tool with no output schema and no annotations, the description covers the essential action, the two modes, and irreversibility. It could still say more about permissions or confirmation, but is largely complete for correct invocation.

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%, and the schema already explains that trash_id should be omitted to empty the whole bin. The description restates that behavior but adds no format, validation, or edge-case detail beyond the schema.

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 states a specific verb and resource: 'Permanently delete one item from the trash bin, or empty the whole trash bin.' It distinguishes the operation from ordinary deletion and restore/list siblings by emphasizing permanence and the whole-bin mode.

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 'irreversible' and the two supported modes, but it does not explicitly say when to use this instead of delete or restore_from_trash, nor does it name alternatives or exclusions.

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