Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Alert Group

update_alert_group
DestructiveIdempotent

Update an alert group by ID to change its name, targets, grouping conditions, description, time window, or owning teams. Use conditions for advanced grouping instead of legacy fields.

Instructions

Update a specific alert group by id. Note: For enhanced functionality and future compatibility, consider using the advanced alert grouping with conditions field instead of the legacy group_by_alert_title, group_by_alert_urgency, and attributes fields.

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": {
      "id": "<id>",
      "data": "<data>"
    },
    "name": "update_alert_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the alert group (fills `{id}` in /v1/alert_groups/{id}). Pass it as `id` -- this tool has no `alert_group_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.0.0
    • removedInput schema / properties / data / properties / attributes / properties / group_by_alert_title
      Removed value: -{
      -  "description": "[DEPRECATED] Whether the alerts should be grouped by titles. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.",
      -  "enum": [
      -    1,
      -    0
      -  ],
      -  "type": "integer"
      -}
    • removedInput schema / properties / data / properties / attributes / properties / group_by_alert_urgency
      Removed value: -{
      -  "description": "[DEPRECATED] Whether the alerts should be grouped by urgencies. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.",
      -  "enum": [
      -    1,
      -    0
      -  ],
      -  "type": "integer"
      -}
    • removedInput schema / properties / data / properties / attributes / properties / slug
      Removed value: -{
      -  "description": "Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedInput schema / properties / data / properties / id
      Removed value: -{
      -  "description": "Accepted for JSON:API client compatibility, but ignored. The resource to update is identified by the id in the path.",
      -  "type": "string"
      -}
  2. Addedv2.4.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds migration guidance pointing to `conditions` over legacy grouping fields, which is useful behavioral context, but it never explains that this is a full replacement update where omitted fields may be cleared or overwritten.

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?

Two sentences, purpose front-loaded, with the compatibility note following. No filler, though the note references fields (`group_by_alert_title`, `group_by_alert_urgency`) that do not appear in the input schema, which makes it read as stale boilerplate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive nested-object mutation with 50% schema coverage, and the description omits the most important operational fact: whether `data` replaces the whole alert group or merges into it. It also cites legacy field names that are not present in the schema, so the guidance cannot be acted on directly.

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

Parameters3/5

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

Schema description coverage is only 50%, and the description does not describe the `id` or `data` envelope semantics. It does add meaningful field-level steering by naming which grouping fields are legacy and pointing to `conditions`, which partially compensates but leaves the replacement-vs-merge behavior of `data` unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Update a specific alert group by id'), which cleanly separates it from create_alert_group and get_alert_group siblings. It does not differentiate from other update_* siblings, but those operate on different resources so the ambiguity is low.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The usage note gives real guidance, but it is about which fields to prefer rather than when to call this tool versus an alternative. There is no statement about prerequisites, permissions, or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools