Skip to main content
Glama

delete_flow

Deletes a conversation flow or manages flow folders (create_folder, rename_folder, delete_folder, merge_duplicate_folders). Destructive actions (delete_flow, delete_folder) require confirm=true after explicit user confirmation.

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": "delete_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoOperation to perform (default 'delete_flow').delete_flow
agentIdNoAgent ID or display name. Defaults to the active agent in context.
confirmNoMust be set to true ONLY after the user has explicitly confirmed deleting the flow or folder.
folderNameNoTarget folder name (for 'create_folder' or the new name in 'rename_folder').
flowIdentifierNoName or ID of the flow to delete (when action='delete_flow').
folderIdentifierNoName or ID of the folder to rename or delete (when action='rename_folder' or 'delete_folder').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "delete_flow",
      -  "create_folder",
      -  "rename_folder",
      -  "delete_folder"
      -]New value: +[
      +  "delete_flow",
      +  "create_folder",
      +  "rename_folder",
      +  "delete_folder",
      +  "merge_duplicate_folders"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full disclosure burden and does well: it identifies exactly which actions are destructive (delete_flow, delete_folder) and imposes a human-confirmation gate before them. It stops short of stating irreversibility, permission requirements, or what happens to flows/campaigns that reference a deleted flow.

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?

Two sentences with no waste: the scope of actions comes first and the safety constraint second. The most consequential information (destructive actions need confirmation) is stated plainly and early.

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?

For a 6-parameter, 5-action mutation tool with no annotations and no output schema, the description covers the destructive path but merely names create_folder, rename_folder, and merge_duplicate_folders without explaining their behavior or results. It leaves the agent to guess at merge semantics and what a successful response looks like.

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?

Schema description coverage is 100%, so the schema already documents every parameter including the action enum and the confirm precondition. The description's mention of confirm=true largely restates the schema, adding no syntax, defaults, or edge-case semantics (e.g., how flowIdentifier resolves names vs IDs).

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?

States a specific verb and resource ('Deletes a conversation flow') and enumerates the sibling folder actions (create_folder, rename_folder, delete_folder, merge_duplicate_folders). This clearly separates it from create_flow, clone_flow, update_flow, and trigger_flow, though it doesn't explicitly say why folder management lives here rather than in update_flow.

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?

It gives a concrete usage rule — destructive actions require confirm=true after explicit user confirmation — which is genuinely actionable. However, it never states when to use this tool versus update_flow/create_flow/clone_flow, or when merge_duplicate_folders is appropriate over delete_folder, leaving action selection to inference from the enum.

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.

Resources