Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Fixter. If you published it, claim ownership there.

Set Alert Rule Destinations

set_alert_rule_destinations
DestructiveIdempotent

Replace where one alert rule's alerts are delivered. Routing only: the rule's spec and status are untouched.

channelIds are registry channel UUIDs (the id field from the investigation service's list_alert_channels, not Slack channel ids). Omit or pass null to clear the rule's own routing so it inherits the tenant's alerting default (Settings > Notifications, or the investigation service's set_notification_destinations with source alerting). Pass an empty list to switch this rule's alerts off entirely. A per-rule setting outranks the source-level one.

Destinations are not stored on the rule; they are forwarded to the notification gateway. An unknown channel id is rejected and nothing changes. Read the current value with get_alert_rule_destinations.

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": {
      "ruleId": "<ruleId>"
    },
    "name": "set_alert_rule_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleIdYesThe rule id (UUID)
channelIdsNoRegistry channel UUIDs to deliver to; empty list = off; omit = inherit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the destructiveHint/idempotentHint annotations, it discloses that destinations are not persisted on the rule but forwarded to the notification gateway, that an unknown channel id causes full rejection with no partial change, and that a per-rule setting outranks the source-level one. This is exactly the kind of non-obvious effect an agent needs before mutating routing.

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?

The key scope statement and the routing-only caveat are front-loaded, and the remaining paragraphs are information-dense rather than padded. It is long for a two-parameter tool, with some overlap between the parameter paragraph and the schema, but nearly every sentence carries actionable content.

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, idempotent routing mutation with no output schema, the description covers the write path, the read path, inheritance and precedence semantics, and failure atomicity. Nothing an agent needs to call it safely and correctly is missing.

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 baseline is 3; the description earns extra by clarifying that channelIds are registry channel UUIDs from list_alert_channels and explicitly are not Slack channel ids, a distinction the schema does not make. The omit/empty/null semantics largely restate the schema's own description of channelIds.

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 gives a precise verb and resource ('Replace where one alert rule's alerts are delivered') and immediately delimits scope with 'Routing only: the rule's spec and status are untouched', which separates it from save_alert_rule and set_alert_rule_status without needing their schemas.

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?

It enumerates the three calling modes and their effects: omit/null to inherit the tenant default, empty list to switch alerts off, populated list to route. It also names the read counterpart (get_alert_rule_destinations) and the source-level alternative (set_notification_destinations with source alerting), plus the precedence rule between them.

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