Skip to main content
Glama

Delete an alert rule

delete_alert_rule
DestructiveIdempotent

Delete an alert rule by ID, its event stops notifying its integration. The integration is kept.

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": {
      "project_id": "<project_id>",
      "alert_rule_id": "<alert_rule_id>"
    },
    "name": "delete_alert_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesID of the project to act on, see whoami
alert_rule_idYesID of the alert rule to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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, so the safety profile is covered. The description adds genuinely useful consequence detail beyond the annotations: the event stops notifying its integration, and the integration itself is preserved — this clarifies the blast radius of the delete.

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?

A single compact sentence, front-loaded with the action and resource, then the consequence. The clause 'its event stops notifying its integration' is slightly awkwardly worded but carries real information and nothing is wasted.

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 simple two-parameter destructive delete with full schema coverage and annotations declaring destructiveness and idempotency, the description covers what is needed. It could go further by noting irreversibility or permission requirements, but no critical gap blocks correct invocation.

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 description coverage is 100%, with both project_id and alert_rule_id documented including a pointer to whoami for project_id. The description only restates 'by ID' and adds no format or lookup detail beyond the schema, so the baseline 3 applies.

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 ('Delete an alert rule by ID'), making it clearly distinct from create_alert_rule, update_alert_rule, and get_alert_rule in the sibling list. It stops short of explicitly contrasting with an alternative like disabling a rule instead of deleting it.

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?

Usage is implied by the name and the delete verb, but there is no explicit when-to-use/when-not-to-use guidance, such as 'use update_alert_rule to mute instead of deleting' or mention of prerequisites (permissions, confirmation).

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.

Resources