Skip to main content
Glama

List deleted items

list_deleted
Read-only

Lists deleted projects, clips, library items, and templates newest first with restore and purge details, so you can review what was removed and decide what to recover or delete permanently.

Instructions

Restorable deletes (the Deleted page): one newest-first list of projects, clips of live projects, library items and templates. Returns { items: [{ kind, id, title, deletedAt, purgeAt, storedBytes, canPurge, … }], total, truncated } (max 200) plus keepDays / libraryDays / templateDays. purgeAt null = kept until deleted forever. restore_project / restore_clip / restore_asset / restore_layer_template bring them back; purge_project / purge_clip / purge_asset / purge_layer_template remove them for good.

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_deleted"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.26.3

TDQS

A4.2/5.0
Behavior3/5

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

readOnlyHint=true is consistent with a listing tool, so no contradiction. Beyond that, the description adds genuine behavior: newest-first ordering, a 200-item cap with a 'truncated' flag, and the meaning of purgeAt null ('kept until deleted forever'), plus the keepDays/libraryDays/templateDays retention values. That is meaningful context, though most of it is really return-shape information rather than operational caveats.

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?

Front-loaded with the scope and the return shape, and every sentence carries information – retention semantics and the restore/purge routing are not filler. It is dense, packing the full result envelope and sibling names into two long sentences, which is efficient but slightly hard to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description takes on the burden of describing returns and does so fully: envelope keys, per-item fields, the 200-item truncation limit, and the retention-day fields. Combined with the restore/purge routing, an agent has everything needed to call it and act on the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so the baseline is 4 and there is no parameter meaning to add. The description instead spends its space on result semantics (kind, id, title, deletedAt, purgeAt, storedBytes, canPurge), which is useful but outside this dimension.

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?

States a specific verb and resource ('Restorable deletes (the Deleted page)') and enumerates the exact entity kinds covered: projects, clips of live projects, library items and templates. It is clearly distinguishable from the live-content list_* siblings by the 'deleted' scope, and it names the restore_*/purge_* counterparts.

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 frames the tool as the Deleted page – a single newest-first list across entity kinds – which tells an agent this is the entry point for recovery workflows. It also routes follow-up actions to restore_project/restore_clip/restore_asset/restore_layer_template and purge_* explicitly. It stops short of an explicit exclusion statement (e.g. 'use list_projects for live projects'), so a 4 rather than a 5.

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

Deploy Server

Other Tools