Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update On Call Role

update_on_call_role
DestructiveIdempotent

Update a specific on-call role by ID to change its name or assigned permissions, helping administrators keep access controls current.

Instructions

Update a specific On-Call Role 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_on_call_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the on call role (fills `{id}` in /v1/on_call_roles/{id}). Pass it as `id` -- this tool has no `on_call_role_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 / ai_connectors_permissions
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "read",
      +      "manage"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / data / properties / attributes / properties / ai_investigations_permissions
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "read",
      +      "run"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / data / properties / attributes / properties / slug
      Removed value: -{
      -  "description": "Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedInput schema / properties / data / properties / attributes / properties / system_role
      Removed value: -{
      -  "default": "custom",
      -  "description": "The kind of role (user and custom type roles are only editable)",
      -  "items": {
      -    "enum": [
      -      "admin",
      -      "user",
      -      "custom",
      -      "observer",
      -      "no_access"
      -    ],
      -    "type": "string"
      -  },
      -  "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.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the safety profile is known. The description adds nothing beyond that: it does not explain that permission arrays may be fully replaced, that unspecified fields could be reset, or the impact of omitting attributes in 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?

It is a single clean sentence with no wasted words, but it essentially duplicates the title with minimal added information, so it barely earns its place as described content.

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?

For a destructive, open-world mutation tool that rewrites a role's permission set, the description is far too thin. Output schema covers return values, but the lacking behavioral and usage context leaves the agent without critical guidance on how the update is applied.

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 coverage sits at 50%; the 'id' parameter is documented in the schema, but the nested 'data' object with dozens of permission arrays has almost no descriptions. The description text provides no additional meaning about required attributes or how the data payload is applied, so it fails to compensate for the coverage gap.

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 description states the verb 'Update' and the resource 'On-Call Role', and 'by id' signals identity-based updating. However, it is nearly a restatement of the title, adding little beyond it apart from the id reference, and offers no distinction from siblings like get_on_call_role or create_on_call_role.

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 prerequisites, and no mention of alternatives such as create_on_call_role or get_on_call_role. The agent is left to infer usage entirely from the name and schema.

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