Skip to main content
Glama

delete_workflow

Archive a workflow by moving it to the trash directory, where it can be restored later with restore_workflow.

Instructions

归档删除工作流(移入 trash 目录,可用 restore_workflow 恢复)。

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": {
      "id": "<id>"
    },
    "name": "delete_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden, and it does deliver the single most important behavioral fact: deletion is archival, moves the item to trash, and is recoverable via restore_workflow. It stops short of stating permission requirements, whether the workflow must be stopped first, retention of trash contents, or what the call returns.

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 front-loaded sentence with the destructive action first and the recoverability caveat layered in parentheses. No filler, no 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 one-parameter, no-output-schema tool, the definition supplies the essential behavior (soft delete, recoverable) that an agent most needs before invoking it. Minor gaps remain around the id parameter's meaning and any preconditions, but nothing critical is omitted for a simple archival delete.

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?

One required parameter ('id') with 0% schema description coverage, so the description must compensate. It implies the identifier is the workflow to be archived but never says so explicitly or gives format expectations (ID vs. name), leaving the only parameter partially underspecified.

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+resource ('归档删除工作流') and immediately qualifies it as a soft delete by naming the destination ('移入 trash 目录'). An agent can distinguish this from hard-delete or from restore_workflow without consulting 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 Guidelines3/5

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

The mention of restore_workflow implicitly signals that this is the reversible deletion path, which helps an agent choose it over a hypothetical permanent delete. However, there is no explicit when-to-use/when-not guidance, no note about prerequisites, and no statement about whether in-flight runs must be cancelled first.

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