Skip to main content
Glama

Delete notification rule

stack_delete_notification_rule
Destructive

Delete a notification rule. 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_delete_notification_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYesNotification rule ID to delete
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

A4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description adds substantial behavior beyond them: the approval gate, the elicitation path, the fallback GOVERNANCE_APPROVAL_REQUIRED response with approval_id and approval_url, and the retry pattern with governance_approval_id. It also discloses that approvals are single-use, payload-bound, and expire in 24 hours, which is exactly the kind of constraint an agent cannot infer from the schema.

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

Conciseness4/5

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

The purpose is front-loaded in the first sentence and the approval mechanics follow in a logical order. It is somewhat long and the governance boilerplate likely repeats across sibling tools, but every sentence carries actionable information with no real filler.

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 two-parameter tool with no output schema, the description covers the critical unknowns: the approval flow, the failure response shape, and the retry contract. The one gap is that it never states the effect of deletion itself (permanent removal, irreversibility, or impact on active alerts), which matters for a destructive operation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description earns extra by explaining the lifecycle of governance_approval_id — where it comes from, that the same payload must be resent with it, and that it is bound to that exact payload. That is meaningful workflow semantics the schema only partly captures.

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 opening sentence gives a specific verb and resource: "Delete a notification rule." That is unambiguous and matches the title. It does not explicitly differentiate itself from siblings such as stack_update_notification_rule or stack_list_notification_rules, but the delete semantics are clear enough on their own.

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

Usage Guidelines3/5

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

The description specifies a real usage condition — that MCP and API-key sessions require human approval — which tells the agent this call may not complete in one shot. However, it gives no guidance on choosing this tool over alternatives (e.g., update vs delete, or whether dependent resources must be removed first). Usage is implied rather than directed.

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.