Skip to main content
Glama

Create Alert Channel

create_alert_channel

Create a place for alerts to be delivered: a webhook, an email list, or Slack.

This provisions a real outbound effect. Once a rule points at this channel, alert content leaves the platform to wherever you named — for a webhook, an HTTP POST to that URL. The payload carries the alert title (which is a span's error message, so it can contain model output), its labels, counts, and a sample of trace ids.

Needs the channels:manage capability.

name: a label for the channel, 1 to 120 characters. channel_type: webhook, email, or slack. url: for a webhook — the https URL to POST to. recipients: for email — 1 to 20 addresses. slack_channel_id: for Slack — a channel id from the connected Slack workspace. Slack must be connected in the console first. enabled: whether it starts receiving deliveries. Defaults to true. 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:

Send my alerts to this webhook.

{ "name": "create_alert_channel", "arguments": {
    "name": "ops webhook", "channel_type": "webhook",
    "url": "https://hooks.example.com/rius"
} }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameYes
enabledNo
workspaceNo
recipientsNo
channel_typeYes
slack_channel_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavioral details: this provisions a real outbound effect, alert content leaves the platform via HTTP POST, and the payload can contain model output from span error messages. It also states the required `channels:manage` capability, giving the agent a clear safety and permission picture.

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?

The description is front-loaded with purpose and outbound-effect details, then moves to capability requirements, parameter semantics, and a concrete example. Every sentence earns its place because the schema provides no parameter descriptions, and the structure is easy to scan.

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?

Given a multi-type creation tool with 0% schema description coverage, the description covers purpose, side effects, required capability, all parameter semantics, defaults, and an example. Since an output schema exists, return values need not be explained, so nothing essential is missing for correct invocation.

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?

With 0% schema description coverage, the description fully compensates by documenting all seven parameters, including constraints (name 1-120 characters, recipients 1-20 addresses), type-specific semantics (`url` for webhook, `slack_channel_id` for Slack), the Slack-connection prerequisite, and workspace format details. This adds substantial meaning beyond the bare schema.

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?

The description uses a specific verb and resource: create a delivery channel for alerts, naming the three supported types (webhook, email, Slack). It distinguishes itself from sibling create_alert_rule by explaining that this tool provisions the destination rather than the rule, so an agent can pick correctly 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?

The description clearly gives context for when to use the tool: creating a place for alerts to be delivered, with each channel type explained. It does not explicitly name alternatives or exclusions, such as using update_alert_channel for edits, so it stops short of full routing guidance.

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