Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Create Schedule Rotation

create_schedule_rotation

Creates a new schedule rotation from provided data, letting you define rotation type, handoff times, active days, and members for an on-call schedule.

Instructions

Creates a new schedule rotation from provided data

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": {
      "schedule_id": "<schedule_id>",
      "data": "<data>"
    },
    "name": "create_schedule_rotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
schedule_idYesRequired. ID of the schedule (fills `{schedule_id}` in /v1/schedules/{schedule_id}/schedule_rotations).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 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"
      -}
  2. Addedv2.4.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered by structured data. The description adds nothing further: it does not state that retries will create duplicates (non-idempotent), what permissions or plan features are required, or how nested-member creation depends on the schedule nesting feature — the latter only appears 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?

It is a single short sentence with no redundancy, so nothing needs trimming, but the brevity reflects under-specification rather than efficiency. The one clause that exists ('from provided data') is pure filler.

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 not be explained, and annotations cover the mutation/safety profile. However, for a create operation with a nested, discriminated payload and several conditional fields, the description provides no orientation at all beyond the bare action, leaving the agent to reverse-engineer structure from the schema.

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 50% schema description coverage and a deeply nested payload, the description is expected to compensate, but it adds no meaning about the 'data' envelope, the required 'type' discriminator, or how 'schedule_rotationable_type' drives which 'schedule_rotationable_attributes' variant is valid. That crucial coupling is only discoverable by reading the anyOf in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence names a specific verb and resource ('Creates a new schedule rotation'), so the core action is identifiable, but 'from provided data' is filler that adds no information. There is no differentiation from siblings such as update_schedule_rotation, create_schedule_rotation_user, or create_schedule, so an agent must infer the boundary 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, no stated prerequisites, and no mention of alternatives. An agent cannot tell from the description whether a schedule must exist first, whether rotation members should be attached here or via create_schedule_rotation_user, or when to prefer update_schedule_rotation.

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