Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Schedule Rotation

update_schedule_rotation
DestructiveIdempotent

Update a specific schedule rotation by ID to change its name, timing, active days, rotation type, or members in Rootly.

Instructions

Update a specific schedule rotation 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_schedule_rotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the schedule rotation (fills `{id}` in /v1/schedule_rotations/{id}). Pass it as `id` -- this tool has no `schedule_rotation_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.0.0
    • addedInput schema / properties / data / properties / attributes / properties / active_time_type / default
      Added value: +"all_day"
    • addedInput schema / properties / data / properties / attributes / properties / active_time_type / description
      Added value: +"Schedule rotation active time type"
    • addedInput schema / properties / data / properties / attributes / properties / active_time_type / enum
      Added value: +[
      +  "all_day",
      +  "same_time",
      +  "custom"
      +]
    • removedInput schema / properties / data / properties / attributes / properties / active_time_type / items
      Removed value: -{
      -  "default": "all_day",
      -  "description": "Schedule rotation active time type",
      -  "enum": [
      -    "all_day",
      -    "same_time",
      -    "custom"
      -  ],
      -  "type": "string"
      -}
    • 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 destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that bar: it does not say whether the payload replaces or merges existing rotation config, nor mention that updating schedule_rotation_members requires the schedule nesting feature (a constraint buried in the schema).

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 waste-free and front-loaded, but at this level of brevity it is under-specified rather than efficient. It also gives no structural hint about the update payload an agent must construct.

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 with deeply nested anyOf payload schemas and conditional feature requirements, yet the description covers none of that. An output schema exists, so return values need not be explained, but update semantics and constraints are missing.

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 50%, and the two top-level arguments are id and a large nested data object. The description only echoes 'by id', which the schema already explains in detail, and says nothing about the required type discriminator, schedule_rotationable_type, or which attributes are mutable.

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 schedule rotation) and the keying mechanism (by id). It does not distinguish itself from siblings such as get_schedule_rotation, list_schedule_rotations, or update_schedule, but an agent can still tell what it does.

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, no prerequisite or permission statement, and no mention of when to choose update_schedule or create_schedule_rotation instead. Only the implicit 'needs an id' requirement is conveyed.

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