Skip to main content
Glama

delete_automation

Destructive

DESTRUCTIVE: Delete an automation by automationId; it cannot be restored. No new runs start, its queued runs and runs waiting on a wait step are cancelled when they come due, any triggers it registered in the user's connected apps are turned off at Composio, and it disappears from the list. Only call after the user explicitly confirms the deletion. A teammate's rule may be deleted only by the team's owner or an admin (403 AUTOMATION_ACCESS_DENIED otherwise).

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

Input Schema

NameRequiredDescriptionDefault
automationIdYes

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 only flag destructiveHint=true; the description goes well beyond by enumerating the blast radius: no new runs, queued runs and wait-step runs cancelled when due, triggers disabled at Composio, item removed from the list. It also names the authorization rule and the exact error code (403 AUTOMATION_ACCESS_DENIED) for the denied case, which an agent needs to interpret a failed 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 warning, then consequences, then preconditions — a good order for a dangerous tool. It is a single dense sentence, which slightly hurts scanability, but every clause carries distinct information about effects or permissions.

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?

For a one-parameter destructive mutation with no output schema, the description covers irreversibility, side effects on runs and external triggers, authorization, and the confirmation requirement. Nothing an agent needs in order to call it safely is missing, aside from parameter sourcing hints.

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 0% for the single required automationId, and the description only restates it as the lookup key without adding format, source, or where to obtain it (e.g., from list/get tools). That is minimal compensation for the coverage gap, so baseline-plus is the right ceiling.

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?

Opens with a specific verb+resource and an explicit severity marker ('DESTRUCTIVE: Delete an automation by automationId'), then distinguishes itself from the sibling cancel_automation_execution by describing deletion's permanence and cascading effects. An agent can tell exactly what this does without opening 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 Guidelines4/5

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

Gives a clear precondition ('Only call after the user explicitly confirms the deletion') and states who may invoke it (team owner or admin), with the failure mode named. It stops short of explicitly pointing to cancel_automation_execution as the non-destructive alternative for stopping runs, which is the obvious sibling comparison an agent would want.

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.