Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Create On Call Role

create_on_call_role

Creates a new on-call role with specified permissions and attributes, so teams can define who can access and manage operational resources.

Instructions

Creates a new On-Call Role 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": {
      "data": "<data>"
    },
    "name": "create_on_call_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

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

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the description's only job is to add context beyond that — and it adds none. It does not say whether duplicate names are rejected, what permissions the caller needs, or that the created role starts with the permission set supplied in the payload. It does not contradict the annotations, but it is empty relative to them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no wasted clauses, but the brevity is under-specification rather than economy — there is no front-loaded scope, no structure, and nothing for an agent to anchor on.

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?

An output schema exists, so return values need not be described, but for a mutation tool that accepts a large nested permission payload the description leaves everything substantive unsaid: required fields, permission semantics, error conditions, and the existence of sibling read/update tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter is a deeply nested object containing roughly 28 permission arrays, yet the description only says "from provided data". It gives no hint that `data.attributes.name` is the sole required field, that permissions are optional enum arrays, or how omitted permission arrays are treated (empty vs. inherited). This is the clearest failure of the definition.

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

Purpose2/5

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

The description restates the tool name almost verbatim: "Creates a new On-Call Role from provided data" adds no scope, no constraint, and no distinction from siblings such as create_on_call_shadow or update_on_call_role. An agent learns nothing it could not infer from the title 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 mention of prerequisites (e.g. required admin permissions), and no pointer to alternatives like update_on_call_role for modifying an existing role. The agent must infer all routing decisions from the 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