Skip to main content
Glama

Delete a Wiro workflow

delete_workflow
DestructiveIdempotent

Delete a workflow from the API key's workspace, for everyone: it leaves every list and the gallery, can no longer be run, and cannot be restored. Runs already started finish, and copies made from it keep working. With a team project's key this includes teammates' workflows. Without confirm: true this only describes what would be deleted; ask the user, then call again with confirm: true.

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

Input Schema

NameRequiredDescriptionDefault
slugYesThe full workflow slug or the workflow page URL.
confirmNoSet true only after the user approved the deletion.

Output Schema

NameRequiredDescriptionDefault
titleNo
deletedYes
messageYes
fullSlugYes
nextActionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes much further: irreversibility, removal from every list and the gallery, inability to run afterwards, in-flight runs completing, and clones surviving. It also discloses privileged scope for team project keys, which annotations cannot express.

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?

Front-loads the destructive scope, then consequences, then the confirm protocol — the ordering an agent needs. Every clause carries information (reversibility, side effects, team scope, two-step flow) with no filler.

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?

An output schema exists, so return values need no explanation, and the description still covers irreversibility, blast radius, team-wide effect, and the confirm handshake. Nothing material for a correct, safe invocation is missing.

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?

Schema coverage is 100%, so the baseline is 3, and the description genuinely adds meaning by establishing `confirm` as a dry-run gate rather than a simple flag, including the required user-approval step. The `slug` parameter's URL-vs-slug ambiguity is left entirely to the schema.

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 ('Delete a workflow') plus the exact scope ('from the API key's workspace, for everyone'), which immediately separates it from sibling tools like update_workflow or clone_workflow. The blast radius is spelled out so an agent knows this is not a soft-remove.

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?

Gives explicit operational guidance: without `confirm: true` the call is a preview, and the agent should ask the user before re-calling with `confirm: true`. It does not name alternative tools (e.g., update_workflow for renaming) or state when deletion is inappropriate, so it falls short of a full when/when-not/alternatives statement.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.