Skip to main content
Glama

list_trash

Lists deleted profiles in the recycle bin, showing which items are recoverable so users can decide whether to restore them.

Instructions

列出回收站中的档案(已删除、可恢复项)。

何时调用:用户想知道删了哪些档案、能否恢复时。 恢复:restore_profile(profile_name="<档案名>")。

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

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden alone. It discloses the collection's scope (deleted, recoverable items) and thereby implies a read-only listing, and it points to the recovery path, but it says nothing about ordering, pagination, retention or expiry of trashed items, or whether results are scoped per user.

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 lines, each doing a distinct job: what it lists, when to call it, and how to restore. It is front-loaded and free of filler, 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?

For a zero-parameter read tool with an output schema, the definition covers purpose, trigger, and the natural next step, which is enough for correct invocation. The only gap is operational behavior such as ordering or retention, which matters when presenting trash results but is not required to call the tool.

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 zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool is 4. Nothing in the description misleads about inputs.

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 states a specific verb and resource (列出回收站中的档案) and narrows the scope with '已删除、可恢复项', which distinguishes it from a listing of active profiles such as list_profiles. The agent can tell what this tool returns without inspecting the 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 an explicit trigger: call this when the user wants to know which files were deleted or whether they can be restored. It also names the follow-up action (restore_profile) with a concrete argument shape, though it does not explicitly exclude the case where the user actually wants to see active profiles.

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