Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Escalation Level

update_escalation_level
DestructiveIdempotent

Update a specific escalation level by ID to adjust its delay, position, notification targets, paging strategy, or escalation policy path.

Instructions

Update a specific escalation level by id

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

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the escalation level (fills `{id}` in /v1/escalation_levels/{id}). Pass it as `id` -- this tool has no `escalation_level_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 / notification_target_params / description
      Previous value: -"Escalation level's notification targets"New value: +"Escalation level's notification targets. Must include at least one target other than ai_sre."
    • 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.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say whether `data.attributes` replaces or merges with existing level configuration, what is lost on a destructive update, or whether notification targets are overwritten wholesale — meaningful gaps for a destructive mutation.

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 single sentence is front-loaded and free of filler, which is good structurally. But its brevity comes at the cost of under-specification rather than efficiency — there is no second sentence carrying the update semantics an agent needs.

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 update with a deeply nested object payload, and an output schema exists so return values need not be described. Even so, the definition leaves out replace-vs-merge behavior, required target constraints, and any warning about destructive scope — the agent has to infer update semantics from the schema alone.

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?

Schema description coverage is only 50%, and the description contributes almost nothing: 'by id' merely restates the `id` parameter, while the entire `data` payload (attributes, notification_target_params, paging strategy fields) is left to the schema. It does not clarify update semantics such as whether omitted attributes are preserved or cleared.

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 states a specific verb and resource ('Update a specific escalation level') and adds the 'by id' scoping detail, so an agent knows exactly which object type is being mutated. It does not, however, contrast itself with siblings such as get_escalation_level, list_escalation_levels, or update_escalation_path, so differentiation relies on the tool name alone.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus create_escalation_level, get_escalation_level, or the path/policy updaters, and no stated prerequisites such as needing an existing escalation level id. The word 'specific' implies an existing record must be chosen, but no alternative or exclusion is named.

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