Skip to main content
Glama

Update Alert Channel

update_alert_channel
DestructiveIdempotent

Change a notification channel: rename it, re-point it, or enable/disable it.

Only what you pass changes; a channel's secrets are left alone if you do not resubmit them. A channel's type cannot be changed — create a new one instead.

A channel that has failed to deliver several times in a row is disabled automatically; pass enabled true to bring it back once you have fixed it.

Needs the channels:manage capability.

channel_id: the channel's id, from list_alert_channels. name: a new label. url: for a webhook — a new https URL to POST to. recipients: for email — the full replacement list of addresses. enabled: turn delivery on or off. 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:

Disable the ops webhook for now.

{ "name": "update_alert_channel", "arguments": { "channel_id": "8a1…", "enabled": false } }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameNo
enabledNo
workspaceNo
channel_idYes
recipientsNo

Output Schema

TableJSON 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 flag destructiveHint=true, idempotentHint=true and openWorldHint=true, but the description goes well beyond them: secrets are preserved unless resubmitted, the type field is immutable, repeated delivery failures cause automatic disabling, and the call requires the `channels:manage` capability. These are exactly the operational facts an agent needs before mutating a channel.

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 purpose, then behavioral rules, then a per-parameter glossary, then a worked example — a logical progression with almost no filler. It is on the long side, but every section carries information not available in the structured fields, so the length is defensible rather than padding.

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?

A mutation tool with destructiveHint=true, no schema descriptions, and no enum hints — the risky categories — yet the description covers partial-update behavior, immutability, auth capability, auto-disable recovery, and workspace disambiguation. An output schema exists, so return values need not be described. Nothing an agent needs to call this safely is missing.

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 description coverage is 0%, so the description carries the full burden — and it does: channel_id (source: list_alert_channels), name (new label), url (https POST target for webhooks), recipients (full replacement list, not a merge), enabled (delivery on/off), and workspace (id, name, or `org-name/workspace-name` disambiguation, with default noted). The 'full replacement' wording for recipients is semantics the schema cannot express.

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 ('Change a notification channel') and immediately enumerates the three shapes of change (rename, re-point, enable/disable), which cleanly separates it from create_alert_channel and delete_alert_channel in the sibling list. An agent can identify the tool's job 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 Guidelines5/5

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

Explicitly states partial-update semantics ('Only what you pass changes'), a hard exclusion with a redirect ('A channel's type cannot be changed — create a new one instead'), a recovery scenario (auto-disabled channels, pass enabled true after fixing), and points to list_alert_channels for obtaining channel_id. When-to-use, when-not-to-use, and the alternative are all present.

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