Skip to main content
Glama

Create Notification Channel

create_notification_channel

Create a notification channel for cost alerts (POST /api/reports/cost-dashboard/notification-channels). Provide a channel_name, a channel_type (slack | teams | email | webhook) and a destination (webhook URL or email address). Returns the created channel (channel_id, channel_name, channel_type). WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "channel_name": "FinOps Slack", "channel_type": "slack", "destination": "https://hooks.slack.com/services/...", "confirm": true }.

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_name": "<channel_name>",
      "channel_type": "<channel_type>",
      "destination": "<destination>"
    },
    "name": "create_notification_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side.
destinationYesThe delivery target for the channel: a webhook URL for slack/teams/webhook, or one or more email addresses (comma-separated) for email.
channel_nameYesHuman-readable name for the channel (e.g. "FinOps Slack").
channel_typeYesChannel type: slack | teams | email | webhook. The backend validates the destination requirements server-side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses the full auth model, the org-level feature gate, the role requirement, that failures are atomic ('changes nothing'), the error-reporting behavior, and that read-only cak_ keys cannot ever perform it. That is far more than the annotations convey.

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?

Purpose is front-loaded, the parameter list follows, and the gating rules come next — a logical order. It is dense, but the only clearly expendable content is the parenthetical raw endpoint path, which does not help an agent choose or invoke the tool.

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?

No output schema exists, and the description compensates by naming the returned fields (channel_id, channel_name, channel_type). Combined with the complete authorization and confirmation rules, an agent has everything needed to call this mutation successfully or explain the refusal.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds a concrete example object showing how channel_name, channel_type, destination, and confirm combine for a valid call. It also ties destination format to channel_type (webhook URL vs. comma-separated emails), adding cross-parameter meaning beyond the 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 first sentence names a specific verb and resource ('Create a notification channel for cost alerts') and even pins the backing endpoint. An agent can distinguish it from delete_notification_channel, update_notification_channel, and list_notification_channels purely from the verb and the stated object.

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?

Strong when-to guidance: it enumerates the four prerequisites (admin:write scope, org switch, admin/super_admin role, confirm:true) and states explicitly that a failure means no change and the error should be relayed rather than retried. The only gap is that it never names sibling alternatives such as test_notification_channel or update_notification_channel for adjacent tasks.

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