Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Alert Routing Rule

update_alert_routing_rule
DestructiveIdempotent

Modify an existing alert routing rule by ID to adjust matching conditions, destination, evaluation order, or enabled status.

Instructions

Update a specific alert routing rule by id. 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": {
      "id": "<id>",
      "data": "<data>"
    },
    "name": "update_alert_routing_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the alert routing rule (fills `{id}` in /v1/alert_routing_rules/{id}). Pass it as `id` -- this tool has no `alert_routing_rule_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
      +]
    • 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

C2.8/5.0
Behavior2/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. Against that lower bar, the description adds nothing about mutation behavior: whether the nested conditions array replaces existing conditions wholesale, whether omitted fields such as enabled or position are preserved, or what state results after the call. The Note is selection guidance, not behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and waste-free. The second sentence is a bolded support-escalation note that an agent cannot act on and consumes roughly half the definition's length, so the structure is clean but the content earns only partial credit.

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, idempotent mutation on a deeply nested object where output schema exists (so return values need not be explained). The description nonetheless omits everything that matters for a safe update: replace-vs-merge semantics for attributes and conditions, handling of the retained ai_sre_provider enum, and any confirmation or targeting constraints. Given the tool's complexity, this is thin.

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?

With schema description coverage at 50%, the description is expected to compensate, but it contributes only 'by id', which the schema already states far more precisely (UUID or slug, fills {id} in the path). Nothing is said about the semantics of the data/attributes payload, ordering via position, or how conditions interact with condition_type.

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 routing rule by id.' It also partially distinguishes itself from the Alert Routes endpoint, though it never names the exact sibling tool (update_alert_route). An agent can tell the resource, but the boundary with the alert-route tools remains fuzzy.

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?

It offers one conditional redirect: advanced routing users should use the Alert Routes endpoint instead. However, the selection criterion ('advanced alert routing user') is defined only by deferring to Rootly customer support, which is not an actionable decision rule for an agent. There is no guidance on when this tool is definitely correct, nor any prerequisites or exclusions besides that one note.

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