Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Alert Event

update_alert_event
DestructiveIdempotent

Modify the details or author of a user-created note alert event; system-generated events remain immutable to preserve audit trail integrity.

Instructions

Updates a specific alert event. Only alert events with kind 'note' (user-created notes) can be updated. System-generated events are immutable to maintain audit trail integrity.

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>"
    },
    "name": "update_alert_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the alert event (fills `{id}` in /v1/alert_events/{id}). Pass it as `id` -- this tool has no `alert_event_id` argument.
dataNo

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

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds context those annotations cannot convey: the mutation is restricted to user-created notes and refused for system events to preserve audit-trail integrity. That is useful preconditions/error information beyond the structured hints. It does not contradict the write/destructive annotations, since a note update can still overwrite existing content.

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

Conciseness5/5

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

Three short sentences, scope stated first and the restriction plus its rationale immediately after. Every sentence carries a constraint the agent needs; nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with an output schema present (so return values need no explanation), the definition covers eligibility, immutability, and audit rationale. The remaining gap is the shape of the payload — which attributes can be changed and whether the update is partial or full — which the 50%-covered schema leaves ambiguous.

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

Parameters3/5

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

Schema coverage is only 50%: `id` is documented well and the nested `attributes.details`/`user_id` carry brief descriptions, but the description itself says nothing about which attributes are updatable or that `data` only accepts note-related fields. It does imply that wrote content is a note message, but an agent gets no guidance on whether the update replaces or merges fields.

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?

States a specific verb and resource: 'Updates a specific alert event.' The added eligibility rule (only kind 'note') further narrows the scope and separates it from the get_/list_/create_ alert_event siblings, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use condition ('Only alert events with kind "note" (user-created notes) can be updated') and a when-not ('System-generated events are immutable'). It does not point to an alternative tool for the immutable case, which keeps it below 5.

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