Skip to main content
Glama

list_trash

Read-only

List soft-deleted pages in a Docmost space to review or restore deleted wiki content before permanent removal.

Instructions

List soft-deleted pages in a space.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNometa.nextCursor
verboseNoFull metadata
space_idYesUUID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description usefully clarifies that results are restricted to soft-deleted items in one space, but says nothing about pagination behavior, retention/expiry of trash items, or permission requirements beyond the annotation.

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?

A single front-loaded sentence with zero filler and the key qualifier ("soft-deleted") placed where it is read first. It is efficient, though so terse that it leaves gaps elsewhere.

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

Completeness3/5

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

For a four-parameter read-only listing tool with no output schema, the definition should at least indicate that results are paginated (cursor/limit) and what shape the listed items take. The core purpose is clear but these operational details are absent.

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 75%, so baseline is 3 and the description adds no parameter meaning at all. It does not clarify the space_id UUID-or-slug format, the limit bounds, or the unusually terse cursor description ("meta.nextCursor").

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?

States a specific verb ("List") and a well-scoped resource ("soft-deleted pages") plus a container constraint ("in a space"). The qualifier "soft-deleted" implicitly separates it from list_pages, though no sibling is named.

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?

The word "soft-deleted" implies the use case (inspecting trash contents), but there is no explicit when-to-use or when-not guidance, and no pointer to list_pages for live content or to restore/delete operations for acting on results.

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