Skip to main content
Glama

list_trash

Lists workflows in the trash directory, enabling users to select and restore archived workflows.

Instructions

列出归档删除(trash 目录)里的工作流,供恢复时挑选。

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full behavioral burden. The verb 列出 implies a read-only listing, and the trash scope is disclosed, but the description says nothing about pagination, retention/expiry of trashed items, or whether the returned entries are restorable as-is. For a simple zero-parameter list tool this is a modest gap rather than a serious one.

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?

A single sentence that front-loads the resource (trash directory) and closes with the use case. There is no redundant wording and nothing that could be trimmed without losing meaning.

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?

There is no output schema and no annotations, so the description is the only source of behavioral information. It never indicates what a listed entry contains (names, identifiers needed to invoke restore_workflow), which matters because the agent must pass something to the restore step. Beyond that omission, the definition is adequate for a zero-parameter listing 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 no parameters, so the baseline is 4. The description correctly implies the only implicit scoping is the trash directory itself, matching the empty input schema without misleading the agent.

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?

The description gives a specific verb (列出/list) and a specific resource (工作流 in the trash/归档删除 directory), plus the purpose of the listing (供恢复时挑选). An agent can distinguish it from list_workflows, which covers live workflows. The only shortfall is that no sibling tool is named explicitly, so the contrast is inferred 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 Guidelines3/5

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

'供恢复时挑选' implies the tool is used as a precursor to restore_workflow, which gives useful implied usage context. However, it never states when this listing should not be used or which alternative to call instead; the routing to the restore path is left to inference.

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