Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Alerts Source

update_alerts_source
DestructiveIdempotent

Updates a specific alert source by ID, letting you change its name, type, enabled status, ownership, urgency, and alert handling rules.

Instructions

Update a specific alert source 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_alerts_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the alert source (fills `{id}` in /v1/alert_sources/{id}). Pass it as `id` -- this tool has no `alert_source_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • 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, but the description adds nothing on top. It does not clarify whether this is a full replace or a partial merge, what happens to attributes omitted from `data`, or whether validation failures roll back the entire update.

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 padding, so it reads efficiently. However, the brevity is under-specification rather than discipline — the sentence is too short to carry the burden this complex tool requires.

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 mutation over a deeply nested schema (sourceable_attributes, field_mappings, resolution_rule_attributes, urgency rules) and the description addresses none of that complexity. An output schema exists, so return values need not be explained, but the update semantics and payload construction remain undocumented.

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 top-level `data` wrapper (type + attributes) carries no description in either the schema or the tool description. The description says only 'by id', adding zero meaning about how to construct the nested attributes payload, which is the hard part of invoking this tool correctly.

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?

The description names a specific verb and resource ('Update a specific alert source by id'), which cleanly separates it from the create_/get_/list_ siblings in the catalog. It does not explicitly route to an alternative, but the verb-resource pairing is unambiguous about what operation it performs.

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 guidance on when to use this versus get_alerts_source (to read current state) or create_alerts_source (for new sources), and no mention of prerequisites such as needing an existing source id. The agent must infer all usage context from the surrounding tool list.

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