Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Create Alert Routing Rule

create_alert_routing_rule

Creates a new alert routing rule from provided data to route alerts to specified destinations and conditions.

Instructions

Creates a new alert routing rule from provided data. Note: If you are an advanced alert routing user, you should use the Alert Routes endpoint instead of this endpoint. If you don't know whether you are an advanced user, please contact Rootly customer support.

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_routing_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • changedInput schema / properties / data / properties / attributes / properties / destination / properties / target_type / enum
      Previous value: -[
      -  "Service",
      -  "Group",
      -  "Functionality",
      -  "EscalationPolicy"
      -]New value: +[
      +  "Service",
      +  "Group",
      +  "Functionality",
      +  "EscalationPolicy",
      +  "CatalogEntity"
      +]
  2. Addedv2.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-idempotent, non-destructive write to an open-world system, so the safety profile is covered. The description adds the important behavioral distinction that this is the legacy routing path versus advanced routing, but says nothing about side effects, permissions, or what the resulting rule looks like beyond routing advice.

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, front-loaded with the action and followed by the disambiguating note; nothing is buried. 'From provided data' earns no place and could be cut, but the payload is otherwise tight.

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

Completeness4/5

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

An output schema exists and the input schema is deeply annotated, so the description only needs to settle which routing path an agent is on, which it does. Remaining gaps (permission prerequisites, whether creation is synchronous, what happens on conflict) are modest for a create endpoint.

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?

The description contributes nothing about parameters ('from provided data'), so it cannot compensate for the reported 0% top-level schema coverage. However, the nested schema itself is unusually well documented (enabled/advanced-routing behavior, owning_team_ids permission requirement, target_type caveats), so the practical gap an agent faces is small.

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?

The description opens with a specific verb and resource ('Creates a new alert routing rule'), which is distinguishable from the get/update/list siblings. It also implicitly separates itself from the advanced-routing path, though it never names the sibling tool (create_alert_route) explicitly and 'from provided data' is filler.

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?

It gives an explicit when-not condition: advanced alert routing users should use the Alert Routes endpoint, with a fallback instruction to contact support if unsure. It stops short of naming the alternative tool directly or stating prerequisites/permissions, so it is clear but not fully actionable without a lookup.

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