Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Escalation Policy

update_escalation_policy
DestructiveIdempotent

Modify an existing escalation policy by ID, including its name, description, groups, services, repeat count, and business hours, through Rootly.

Instructions

Update a specific escalation policy 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_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the escalation policy (fills `{id}` in /v1/escalation_policies/{id}). Pass it as `id` -- this tool has no `escalation_policy_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • changedInput schema / properties / data / properties / attributes / properties / business_hours / properties / time_zone / description
      Previous value: -"Time zone for business hours"New value: +"Time zone for business hours IANA time zone name, e.g. 'America/New_York' or 'Europe/Paris'."
    • removedInput schema / properties / data / properties / attributes / properties / business_hours / properties / time_zone / enum
      Removed value: -[
      -  "International Date Line West",
      -  "Etc/GMT+12",
      -  "American Samoa",
      -  "Pacific/Pago_Pago",
      -  "Midway Island",
      -  "Pacific/Midway",
      -  "Hawaii",
      -  "Pacific/Honolulu",
      -  "Alaska",
      -  "America/Juneau",
      -  "Pacific Time (US & Canada)",
      -  "America/Los_Angeles",
      -  "Tijuana",
      -  "America/Tijuana",
      -  "Arizona",
      -  "America/Phoenix",
      -  "Mazatlan",
      -  "America/Mazatlan",
      -  "Mountain Time (US & Canada)",
      -  "America/Denver",
      -  "Central America",
      -  "America/Guatemala",
      -  "Central Time (US & Canada)",
      -  "America/Chicago",
      -  "Chihuahua",
      -  "America/Chihuahua",
      -  "Guadalajara",
      -  "America/Mexico_City",
      -  "Mexico City",
      -  "Monterrey",
      -  "America/Monterrey",
      -  "Saskatchewan",
      -  "America/Regina",
      -  "Bogota",
      -  "America/Bogota",
      -  "Eastern Time (US & Canada)",
      -  "America/New_York",
      -  "Indiana (East)",
      -  "America/Indiana/Indianapolis",
      -  "Lima",
      -  "America/Lima",
      -  "Quito",
      -  "Atlantic Time (Canada)",
      -  "America/Halifax",
      -  "Caracas",
      -  "America/Caracas",
      -  "Georgetown",
      -  "America/Guyana",
      -  "La Paz",
      -  "America/La_Paz",
      -  "Puerto Rico",
      -  "America/Puerto_Rico",
      -  "Santiago",
      -  "America/Santiago",
      -  "Newfoundland",
      -  "America/St_Johns",
      -  "Asuncion",
      -  "America/Asuncion",
      -  "Brasilia",
      -  "America/Sao_Paulo",
      -  "Buenos Aires",
      -  "America/Argentina/Buenos_Aires",
      -  "Montevideo",
      -  "America/Montevideo",
      -  "Greenland",
      -  "America/Nuuk",
      -  "Mid-Atlantic",
      -  "Atlantic/South_Georgia",
      -  "Azores",
      -  "Atlantic/Azores",
      -  "Cape Verde Is.",
      -  "Atlantic/Cape_Verde",
      -  "Casablanca",
      -  "Africa/Casablanca",
      -  "Edinburgh",
      -  "Europe/London",
      -  "Lisbon",
      -  "Europe/Lisbon",
      -  "London",
      -  "Monrovia",
      -  "Africa/Monrovia",
      -  "UTC",
      -  "Etc/UTC",
      -  "Amsterdam",
      -  "Europe/Amsterdam",
      -  "Belgrade",
      -  "Europe/Belgrade",
      -  "Berlin",
      -  "Europe/Berlin",
      -  "Bern",
      -  "Europe/Zurich",
      -  "Bratislava",
      -  "Europe/Bratislava",
      -  "Brussels",
      -  "Europe/Brussels",
      -  "Budapest",
      -  "Europe/Budapest",
      -  "Copenhagen",
      -  "Europe/Copenhagen",
      -  "Dublin",
      -  "Europe/Dublin",
      -  "Ljubljana",
      -  "Europe/Ljubljana",
      -  "Madrid",
      -  "Europe/Madrid",
      -  "Paris",
      -  "Europe/Paris",
      -  "Prague",
      -  "Europe/Prague",
      -  "Rome",
      -  "Europe/Rome",
      -  "Sarajevo",
      -  "Europe/Sarajevo",
      -  "Skopje",
      -  "Europe/Skopje",
      -  "Stockholm",
      -  "Europe/Stockholm",
      -  "Vienna",
      -  "Europe/Vienna",
      -  "Warsaw",
      -  "Europe/Warsaw",
      -  "West Central Africa",
      -  "Africa/Algiers",
      -  "Zagreb",
      -  "Europe/Zagreb",
      -  "Zurich",
      -  "Athens",
      -  "Europe/Athens",
      -  "Bucharest",
      -  "Europe/Bucharest",
      -  "Cairo",
      -  "Africa/Cairo",
      -  "Harare",
      -  "Africa/Harare",
      -  "Helsinki",
      -  "Europe/Helsinki",
      -  "Jerusalem",
      -  "Asia/Jerusalem",
      -  "Kaliningrad",
      -  "Europe/Kaliningrad",
      -  "Kyiv",
      -  "Europe/Kyiv",
      -  "Pretoria",
      -  "Africa/Johannesburg",
      -  "Riga",
      -  "Europe/Riga",
      -  "Sofia",
      -  "Europe/Sofia",
      -  "Tallinn",
      -  "Europe/Tallinn",
      -  "Vilnius",
      -  "Europe/Vilnius",
      -  "Baghdad",
      -  "Asia/Baghdad",
      -  "Istanbul",
      -  "Europe/Istanbul",
      -  "Kuwait",
      -  "Asia/Kuwait",
      -  "Minsk",
      -  "Europe/Minsk",
      -  "Moscow",
      -  "Europe/Moscow",
      -  "Nairobi",
      -  "Africa/Nairobi",
      -  "Riyadh",
      -  "Asia/Riyadh",
      -  "St. Petersburg",
      -  "Volgograd",
      -  "Europe/Volgograd",
      -  "Tehran",
      -  "Asia/Tehran",
      -  "Abu Dhabi",
      -  "Asia/Muscat",
      -  "Baku",
      -  "Asia/Baku",
      -  "Muscat",
      -  "Samara",
      -  "Europe/Samara",
      -  "Tbilisi",
      -  "Asia/Tbilisi",
      -  "Yerevan",
      -  "Asia/Yerevan",
      -  "Kabul",
      -  "Asia/Kabul",
      -  "Almaty",
      -  "Asia/Almaty",
      -  "Astana",
      -  "Ekaterinburg",
      -  "Asia/Yekaterinburg",
      -  "Islamabad",
      -  "Asia/Karachi",
      -  "Karachi",
      -  "Tashkent",
      -  "Asia/Tashkent",
      -  "Chennai",
      -  "Asia/Kolkata",
      -  "Kolkata",
      -  "Mumbai",
      -  "New Delhi",
      -  "Sri Jayawardenepura",
      -  "Asia/Colombo",
      -  "Kathmandu",
      -  "Asia/Kathmandu",
      -  "Dhaka",
      -  "Asia/Dhaka",
      -  "Urumqi",
      -  "Asia/Urumqi",
      -  "Rangoon",
      -  "Asia/Yangon",
      -  "Bangkok",
      -  "Asia/Bangkok",
      -  "Hanoi",
      -  "Jakarta",
      -  "Asia/Jakarta",
      -  "Krasnoyarsk",
      -  "Asia/Krasnoyarsk",
      -  "Novosibirsk",
      -  "Asia/Novosibirsk",
      -  "Beijing",
      -  "Asia/Shanghai",
      -  "Chongqing",
      -  "Asia/Chongqing",
      -  "Hong Kong",
      -  "Asia/Hong_Kong",
      -  "Irkutsk",
      -  "Asia/Irkutsk",
      -  "Kuala Lumpur",
      -  "Asia/Kuala_Lumpur",
      -  "Perth",
      -  "Australia/Perth",
      -  "Singapore",
      -  "Asia/Singapore",
      -  "Taipei",
      -  "Asia/Taipei",
      -  "Ulaanbaatar",
      -  "Asia/Ulaanbaatar",
      -  "Osaka",
      -  "Asia/Tokyo",
      -  "Sapporo",
      -  "Seoul",
      -  "Asia/Seoul",
      -  "Tokyo",
      -  "Yakutsk",
      -  "Asia/Yakutsk",
      -  "Adelaide",
      -  "Australia/Adelaide",
      -  "Darwin",
      -  "Australia/Darwin",
      -  "Brisbane",
      -  "Australia/Brisbane",
      -  "Canberra",
      -  "Australia/Canberra",
      -  "Guam",
      -  "Pacific/Guam",
      -  "Hobart",
      -  "Australia/Hobart",
      -  "Melbourne",
      -  "Australia/Melbourne",
      -  "Port Moresby",
      -  "Pacific/Port_Moresby",
      -  "Sydney",
      -  "Australia/Sydney",
      -  "Vladivostok",
      -  "Asia/Vladivostok",
      -  "Magadan",
      -  "Asia/Magadan",
      -  "New Caledonia",
      -  "Pacific/Noumea",
      -  "Solomon Is.",
      -  "Pacific/Guadalcanal",
      -  "Srednekolymsk",
      -  "Asia/Srednekolymsk",
      -  "Auckland",
      -  "Pacific/Auckland",
      -  "Fiji",
      -  "Pacific/Fiji",
      -  "Kamchatka",
      -  "Asia/Kamchatka",
      -  "Marshall Is.",
      -  "Pacific/Majuro",
      -  "Wellington",
      -  "Chatham Is.",
      -  "Pacific/Chatham",
      -  "Nuku'alofa",
      -  "Pacific/Tongatapu",
      -  "Samoa",
      -  "Pacific/Apia",
      -  "Tokelau Is.",
      -  "Pacific/Fakaofo",
      -  "America/Adak",
      -  "America/Atka",
      -  "US/Aleutian",
      -  "America/Vancouver",
      -  "Canada/Pacific",
      -  "America/Miquelon",
      -  "Australia/Eucla",
      -  "Australia/LHI",
      -  "Australia/Lord_Howe",
      -  "Chile/EasterIsland",
      -  "Pacific/Easter",
      -  "Pacific/Gambier",
      -  "Pacific/Pitcairn",
      -  "Pacific/Marquesas",
      -  "Pacific/Kiritimati",
      -  "Pacific/Norfolk",
      -  "Asia/Rangoon",
      -  "Europe/Kiev",
      -  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

C2.8/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; the description adds no behavioral context whatsoever. Most importantly, the idempotent hint suggests full-replacement semantics (omitting fields may clear them), which is never stated despite being critical for destructuring a nested attributes object.

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?

A single front-loaded sentence with no wasted words and the key identifier ('by id') surfaced immediately. Its brevity is efficient rather than padded, though the space saved is not spent on anything more useful.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the input schema documents most parameter meaning. However, for a destructive, non-trivial nested mutation with many sibling update tools, the description omits replacement semantics, required-vs-optional handling, and any routing guidance, leaving real gaps.

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?

The description only repeats 'by id', which the schema already explains in detail, including the note that there is no escalation_policy_id argument. With only 50% schema description coverage and a deeply nested data/attributes object, the description does nothing to clarify which attributes are required, what partial updates do, or how repeat_count and business_hours interact.

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: updating a single escalation policy identified by id. It does not differentiate this tool from the many sibling update_* tools (e.g., update_escalation_level, update_escalation_path, update_alert), leaving the agent to infer selection from names 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 when-to-use guidance at all: no mention of preconditions, no reference to get_escalation_policy to fetch current state first, and no exclusion of the level/path update tools. The agent must infer everything from the tool name.

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