Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Create Alert Group

create_alert_group

Create a new alert group to organize incoming alerts by defined conditions, targets, and time windows, so related alerts are grouped for routing and management.

Instructions

Creates a new alert group. 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": {
      "data": "<data>"
    },
    "name": "create_alert_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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"
      -  ]
      -}
  2. Addedv2.4.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the description need only add context such as auth requirements, team-ownership scoping, or side effects like the group accepting future alerts during its time window. Instead it only repeats deprecation advice that the schema already carries on the `attributes` field.

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 short sentences, purpose front-loaded, with the deprecation caveat as a clearly marked note. Nothing is wasted, though the note's wording is longer than the actionable content it delivers.

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 deeply nested creation tool with targets, conditions, time_window, and owner_group_ids, plus an output schema and annotations. The description covers only the name-level purpose plus one deprecation hint, leaving required vs optional field interplay, ownership restrictions, and creation side effects entirely undocumented.

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

Parameters2/5

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

Top-level schema description coverage is 0% for the single required `data` wrapper, and the description never explains that wrapper. Worse, it directs the agent toward legacy fields `group_by_alert_title` and `group_by_alert_urgency` that do not exist anywhere in the input schema, which can mislead an agent constructing a payload.

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?

"Creates a new alert group" gives a clear verb plus resource, which cleanly separates it from get_alert_group, update_alert_group, and list_alert_groups. It does not, however, explicitly name an alternative or state scope (e.g., organization-bound), so it stops short of full sibling differentiation.

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 description gives field-level guidance (prefer `conditions` over the legacy grouping fields), which is useful but is not tool-selection guidance. It never states when to call this versus update_alert_group, or what prerequisite context (targets, owning teams) a caller must have.

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