Skip to main content
Glama

Delete Alert Channel

delete_alert_channel
Destructive

Delete a notification channel. Irreversible.

Takes two calls, like delete_alert_rule: once to preview, once with the phrase.

Any rule still pointing at this channel loses that destination silently. If it has no other channel, its firings show in the console but nobody is notified. Consider update_alert_channel with enabled false instead, which is reversible.

Needs the channels:manage capability.

channel_id: the channel's id, from list_alert_channels. confirm: the phrase from the first call's output. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Remove the old ops webhook.

{ "name": "delete_alert_channel", "arguments": { "channel_id": "8a1…" } }

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": {
      "channel_id": "<channel_id>"
    },
    "name": "delete_alert_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
workspaceNo
channel_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/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, so the description goes further: it discloses irreversibility, the two-call preview-plus-confirm protocol, silent rule detachment, the no-fallback notification loss, and the required `channels:manage` capability. This is behavioral context the agent cannot get from the structured fields.

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 nature and irreversibility, then layered detail, then a concrete example call. Slightly dense, and 'Takes two calls, like delete_alert_rule' leans on a sibling reference, but nearly every sentence carries actionable 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 destructive mutation with an output schema already documenting returns, the description supplies everything else needed: prerequisites, two-step flow, side effects, reversible alternative, parameter sourcing, and a worked example.

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

Parameters5/5

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

Schema coverage is 0%, yet the description defines all three parameters: channel_id sourced from list_alert_channels, confirm as the phrase from the first call's output, and workspace as an id, name, or `org-name/workspace-name` with a default. It fully compensates for the empty schema descriptions.

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 and resource ('Delete a notification channel. Irreversible.') and immediately distinguishes itself from sibling delete_alert_rule by noting the shared two-call preview flow. An agent knows exactly what this tool removes.

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 and the condition selecting it: 'Consider update_alert_channel with enabled false instead, which is reversible.' It also warns when not to proceed by describing the silent collateral effect on rules pointing at the channel.

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.