Skip to main content
Glama

trash_list

Lists recoverable deleted files and folders in trash, including original paths, sizes, deletion times, and storage summaries, with pagination and optional storage filtering.

Instructions

List what you can bring back from the trash: {entries: [{id, path (where it was), name, size, deleted_at, deleted_by_self, …}], total, total_bytes, storages: [{storage_name, count, bytes, newest_deleted_at}], summary, limit, offset}. total and total_bytes count every entry, not the page; summary says it in your language. Only entries you could see where they were, inside your root.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "trash_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNopage size (default 50, at most 500)
offsetNoentries to skip (total says how many there are)
storageNoonly this storage's trash (its adapter name); empty = every storage you can reach

Output Schema

NameRequiredDescriptionDefault
resultYesthe operation's JSON answer - the body its REST twin under /api/ai answers (an object)
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does add useful context: total counts all entries rather than just the page, summaries are localized, and only entries visible in their original location within the user's root are returned. It does not explicitly state read-only safety or authentication requirements, but the listing behavior and visibility constraint are well disclosed.

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

Conciseness3/5

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

The description front-loads the purpose, but it spends substantial space enumerating a return shape even though an output schema exists. The embedded object notation makes it denser than necessary, though the later notes about totals and visibility are useful.

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 three-parameter listing tool with an output schema, the definition covers the important behavioral details: pagination totals, localized summary, and visibility restrictions. The main gap is the absence of explicit guidance on when to choose this tool versus trash_restore.

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 limit, offset, and storage are already fully documented in the input schema. The description reinforces that total reflects all entries and that storage scopes to reachable storages, but it adds little parameter-level meaning beyond the schema baseline.

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 clearly states a specific verb and resource: listing trash entries that can be restored. It is understandable without opening the schema, though it does not explicitly name or distinguish itself from the sibling trash_restore tool.

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 'what you can bring back from the trash,' suggesting this is for inspecting recoverable items before restoring. However, there is no explicit when-to-use guidance, no when-not-to-use guidance, and no direct routing to trash_restore or other alternatives.

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