Skip to main content
Glama

Delete automation

delete_automation
Destructive

Permanently deletes an automation together with its run history and statistics. Contacts in the middle of a DM flow stop receiving its messages. Deactivating with set_automation_status keeps the history and can be undone; deleting cannot.

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": {
      "brand": "<brand>",
      "automationId": "<automationId>"
    },
    "name": "delete_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
automationIdYesAutomation id from list_automations
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds what those hints cannot: run history and statistics are destroyed, in-flight DM flows cut off contacts mid-sequence, and the action is irreversible unlike deactivation. That is exactly the operational context a destructive call needs.

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?

Three short sentences, front-loaded with the destructive scope, then the live impact, then the reversible alternative. No filler or hedging.

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 destructive mutation with no output schema, the description covers consequences and reversibility well. The remaining gap is the confirmationToken parameter and any permission prerequisites, neither of which is mentioned anywhere.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%: only automationId carries a description ("Automation id from list_automations"), while brand and confirmationToken are undocumented. The description says nothing about any parameter, and notably omits the existence of a confirmationToken, which implies a confirmation step the agent would want to know about.

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 ("Permanently deletes an automation") plus the exact scope of what goes with it ("run history and statistics"), which separates it from every other delete_* sibling and from save_/get_automation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly names the alternative (set_automation_status) and the condition that selects it: keep history and remain reversible versus delete irreversibly. The when-not-to-use case is stated, not inferred.

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