Skip to main content
Glama

list_trash

List documents and databases moved to workspace trash, newest first, with their original paths for restore. Items stay 30 days; sheet rows and moodboard items are excluded.

Instructions

List what delete_document, delete_rows and delete_database have moved to the workspace trash, newest first. Each item reports the path it was deleted from — pass that to restore_from_trash. Items are kept 30 days. Sheet rows and moodboard items are not recoverable and never appear here.

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": {
      "workspace": "<workspace>"
    },
    "name": "list_trash"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceYesWorkspace path/name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses sort order (newest first), retention policy (30 days), the fields each item reports, and the categories that are permanently unrecoverable. Gaps remain around pagination/result limits and any permission requirements, so it is not exhaustive.

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?

Four short sentences, each doing distinct work: purpose, return-item guidance, retention, and exclusions. The core action and ordering are front-loaded with no redundant restatement of the tool name.

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?

No output schema exists, and the description compensates by saying what each item contains (the deleted-from path) and how long items survive. For a simple one-parameter listing tool this is nearly complete; only pagination or result-size behavior is left unstated.

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?

There is a single required parameter with 100% schema coverage, so the schema already explains it. The description reinforces scope by framing the result set as the "workspace trash," but adds no syntax or format guidance beyond that implication — baseline 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 opens with a specific verb and resource ("List what ... moved to the workspace trash") and names the three producers (delete_document, delete_rows, delete_database), so an agent can distinguish this read-only listing from the deletion siblings without opening a schema.

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

Usage Guidelines4/5

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

It gives a clear forward path — take the reported path and pass it to restore_from_trash — and draws an explicit exclusion boundary (sheet rows and moodboard items are never recoverable and never appear here), which tells the agent when this tool will not help. It stops short of stating when to prefer this over other listing tools, but the trash-recovery context is unambiguous.

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