Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Environment

update_environment
DestructiveIdempotent

Update an environment by ID or slug to change its name, color, description, Slack channels, and catalog properties.

Instructions

Update a specific environment 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_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the environment (fills `{id}` in /v1/environments/{id}). Pass it as `id` -- this tool has no `environment_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • addedInput schema / properties / data / properties / attributes / properties / public_name
      Added value: +{
      +  "description": "The public name of the environment shown on status pages instead of its name",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • 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 / 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.1/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, and the description does not contradict them, but it also adds nothing: it does not say whether omitted attributes are cleared (full replace) or preserved (partial update), which is the single most consequential behavior for a destructive update. It also says nothing about required permissions or side effects like notify_emails/slack notifications being triggered.

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 front-loaded and free of filler, so nothing is wasted. However, brevity here is under-specification rather than conciseness: a six-word description is not an appropriate size for a destructive nested-payload update.

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 no explanation, but the description omits everything that matters for invoking a destructive update: replace-vs-merge semantics, how the nested `data.attributes` object is interpreted, and whether partial payloads are valid. Given the nested schema and destructive annotation, this is materially incomplete.

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 only 50% and the description compensates for none of it. Saying "by id" merely echoes the schema text that already explains `id` (UUID or slug) in detail, while the complex nested `data.attributes` payload -- name, color, position, properties, public_name, notify_emails, slack_aliases, slack_channels -- is left entirely to the schema.

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?

"Update a specific environment by id" restates the tool name and title with almost no added specificity. It does confirm the operation targets one existing environment identified by id, but it never states what aspects of the environment are updatable, so an agent learns nothing it could not read from the name and the `id` parameter.

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 exclusions, and no reference to alternatives such as create_environment or get_environment. The agent must infer that this tool is the mutation path for an existing environment purely from the verb in 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