Skip to main content
Glama

Update notification rule

stack_update_notification_rule
Destructive

Replace a notification rule's delivery methods, event types or minimum severity. Calls from MCP and API-key sessions require human approval. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours.

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": {
      "rule_id": "<rule_id>"
    },
    "name": "stack_update_notification_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsNoNew event types
rule_idYesNotification rule ID (nch_...)
min_severityNoNew minimum severity
destination_idsNoNew delivery method IDs
governance_approval_idNoApproval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, after a human approved it in the dashboard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description goes well beyond them: MCP and API-key sessions need human approval, elicitation-capable clients prompt inline, otherwise a GOVERNANCE_APPROVAL_REQUIRED payload with approval_id and approval_url is returned. It also discloses that approvals are single-use, bound to the exact payload, and expire in 24 hours. It does not spell out that replacing delivery methods discards the previous configuration, leaving the destructive mechanics implicit.

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 purpose sentence is correctly front-loaded, but the second sentence is a long run-on that chains elicitation, the GOVERNANCE_APPROVAL_REQUIRED fallback, and the resubmission flow into one awkward clause ("and the same payload sent with governance_approval_id"). Splitting the approval flow into discrete statements would earn the same information at lower reading cost.

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 five-parameter mutation with no output schema, the description supplies the missing return-value story (GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url) and the full approval lifecycle. The one material gap is replace semantics when optional fields are omitted.

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 100%, so the schema already defines rule_id, events, min_severity, destination_ids, and governance_approval_id, making 3 the baseline. The description adds real meaning for governance_approval_id (obtained from a GOVERNANCE_APPROVAL_REQUIRED response, re-submitted to apply), but does not resolve whether omitting a replacement field leaves the existing value intact or clears it.

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?

"Replace a notification rule's delivery methods, event types or minimum severity" is a specific verb plus resource, and the sibling set (create/delete/list notification rules) makes clear this is the mutation path. It does not name a sibling explicitly, but the operation is unambiguous.

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?

The text never states when to use this versus stack_create_notification_rule or stack_delete_notification_rule, nor any precondition (e.g., rule must exist, fields omitted are left unchanged or cleared). The only conditional content concerns the approval workflow, which is behavior rather than tool selection guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.