Skip to main content
Glama

Update Notification Channel

update_notification_channel
Idempotent

Edit a notification channel in place (PUT /api/reports/cost-dashboard/notification-channels/{id}): rename it, point a Slack/Teams channel at a new webhook URL, or replace an email channel's address list. The channel type can't change. Alert rules, budgets and report schedules reference channels by id and resolve them at send time, so the change reaches every one of them on its next send — no need to re-save them. Returns the channel (the webhook URL is never echoed back). 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_id": "chan-123", "email_addresses": ["finops@acme.com", "cfo@acme.com"], "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_id": "<channel_id>"
    },
    "name": "update_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.
channel_idYesThe id of the channel to edit (from list_notification_channels).
webhook_urlNoSlack / Teams channels only: the new incoming-webhook URL (https, Slack or Teams host). Omit to keep the current one.
channel_nameNoNew display name for the channel.
email_addressesNoEmail channels only: the FULL replacement address list (at least one). Omit to keep the current list.

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?

Goes well beyond the annotations (readOnly=false, idempotent=true, destructive=false) by disclosing the downstream effect that alert rules, budgets and report schedules resolve channels by id at send time and need no re-save. It also documents the write gate in full — admin:write scope, org switch, admin/super_admin role, confirm:true — plus that failures change nothing and the error names the missing precondition, and that read-only cak_ keys can never succeed. The return-value caveat (webhook URL never echoed back) is additional behavior the annotations do not 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?

Front-loaded with the action and the editable fields, then side effects, then the write gate, then an example — a sensible order with no filler sentences. The ALL-CAPS write-gate passage is long and slightly shouty, but every clause carries an actionable prerequisite, so the length is defensible.

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 mutation tool with no output schema, it covers what an agent needs: the effect on referencing objects, the full authorization checklist, the no-op-on-failure behavior, error-relay guidance, secret-redaction on return, and an example invocation. Nothing material is missing for correct selection or invocation.

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, but the description adds real meaning: it ties webhook_url to Slack/Teams channels and email_addresses to email channels, explains that the type is immutable (so these fields are conditionally applicable), and gives a concrete example payload showing confirm:true alongside a full address list. The confirm requirement is also restated in natural language with the reason (the server checks org role separately).

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?

Names a specific verb and resource ('Edit a notification channel in place'), gives the endpoint (PUT /api/reports/cost-dashboard/notification-channels/{id}), and enumerates the three concrete edits (rename, repoint webhook, replace email list). It also states the hard boundary ('The channel type can't change'), which separates this from delete+create paths.

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?

Clear context for when to use it: in-place edits to an existing channel, with the explicit exclusion that channel type cannot be changed here. It stops short of naming the alternative path (delete_notification_channel + create_notification_channel) for a type change, so the agent must infer that rather than being routed to it.

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