Skip to main content
Glama

List Trash

list_trash
Read-onlyIdempotent

Lists the items in the Trash: the items that were deleted but are still restorable for 30 days. Read-only: it changes nothing. The result carries the item ids and the date every item is purged on, so they can be passed straight to restore_item.

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": "list_trash"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items to return.
queryNoOnly the items whose title or url holds it.
offsetNoPagination offset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations it discloses the 30-day retention window and, importantly, the shape of the result (item ids plus per-item purge dates) — information the annotations cannot convey. The sentence "Read-only: it changes nothing" largely restates readOnlyHint/destructiveHint and is redundant rather than additive.

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?

Three short sentences, front-loaded with the resource and its scope, with the retention and return-value facts next. The read-only restatement is the only sentence that does not fully earn its place given the annotations.

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?

There is no output schema, and the description compensates by naming the returned fields (ids, purge dates) and their downstream use with restore_item. Pagination behavior for large trash sets is left entirely to the schema, which is a minor gap for a listing tool.

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?

With 100% schema description coverage the schema already documents limit, query, and offset fully. The description adds no filtering or pagination semantics beyond that, so the baseline applies.

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?

"Lists the items in the Trash" gives a specific verb and resource, and the clause "items that were deleted but are still restorable for 30 days" defines the scope precisely enough to separate it from list_items. It never names the sibling it is not, so the differentiation is implied rather than stated.

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 establishes a clear usage context (trash-only inventory) and routes the agent forward by noting the ids "can be passed straight to restore_item." It gives no exclusions and does not explain when to prefer list_items or find_item over this listing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.