Skip to main content
Glama

Delete a sequence

delete_sequence
Destructive

Permanently deletes a sequence with its steps and enrollments while keeping replies in the inbox and leads in their table; pause it first, then confirm before deleting.

Instructions

Permanently delete a sequence with its steps and enrollments; replies it got stay in the inbox and the leads stay in their table. Refused while it's active (pause it first). Confirm with the user before deleting.

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": {
      "sequence_id": "<sequence_id>"
    },
    "name": "delete_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequence_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes well beyond them: it discloses exactly what is destroyed (steps, enrollments), what is retained (replies, leads), and that the operation is irreversible ('permanently'). It also adds a runtime prerequisite (must not be active) and a required human confirmation step, 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?

Three short sentences, front-loaded with the destructive action and its scope, then the precondition, then the safety instruction. No filler, and each clause adds distinct information.

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 tool with annotations and no output schema, the definition covers blast radius, irreversibility, preconditions, and user-confirmation duties. The only residual gap is the identifier's format, which is minor at this complexity.

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 coverage is 0% – sequence_id is typed as a string with no description – so the schema contributes nothing beyond the name. The description never clarifies how to supply the identifier or whether it accepts an ID versus a name, leaving the single argument only implicitly understood.

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?

The description gives a specific verb and resource ('Permanently delete a sequence') plus the exact cascade scope ('with its steps and enrollments'). It also separates this from non-sequence deletions by spelling out what survives ('replies... stay in the inbox', 'leads stay in their table'), though it never names a sibling tool explicitly.

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?

It states a clear blocking condition ('Refused while it's active (pause it first)'), which effectively routes the agent to pause the sequence first, and adds a procedural guardrail ('Confirm with the user before deleting'). It stops short of naming pause_sequence or contrasting with delete_rows/delete_table for other resources.

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