Skip to main content
Glama
wiroai

Wiro MCP Server

Official
by wiroai

Delete a Wiro workflow

delete_workflow
DestructiveIdempotent

Permanently remove a workflow from the API key's workspace so it leaves all lists and the gallery and cannot be run or restored; confirmation is required before deletion.

Instructions

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.

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. Addedv1.4.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotent, but the description goes well beyond them: it discloses irreversibility, removal from lists and gallery, loss of runnability, that in-flight runs finish, that existing copies survive, and that a team key affects teammates' workflows. This is exactly the behavioral context an agent needs before a destructive call.

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?

Front-loaded with the destructive scope, then consequences, then the confirmation protocol. Every clause carries information, though the middle sentences are dense and could be broken up slightly for scanability.

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 covers scope, side effects, irreversibility, and the confirmation workflow. Nothing an agent needs to call this safely 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; the description earns extra by explaining what confirm=false actually does (returns a description of what would be deleted rather than deleting), which the schema only hints at. Slug's URL-or-slug flexibility is left 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 scope ('from the API key's workspace, for everyone'), which cleanly separates it from update_workflow, clone_workflow, and the agent-deletion siblings.

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 an explicit two-step protocol: without confirm it is a dry run, so ask the user and call again with confirm: true. That is clear operational guidance, though it never names an alternative action (e.g. archive/update) for cases where deletion is too strong.

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