Skip to main content
Glama

Delete an alert

delete_alert
DestructiveIdempotent

Delete an alert and its matches (ids from list_alerts). To stop it for a while, update_alert with status "paused" keeps it. Ask before deleting.

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": {
      "alert_id": "<alert_id>"
    },
    "name": "delete_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
alert_idYesThe alert id, from list_alerts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already flag destructiveHint=true, so the safety profile is known; the description goes further by disclosing what is destroyed beyond the alert itself (its matches), which the annotations cannot express. It also imposes a confirmation step not present in the structured fields, so an agent knows to check with the user before calling.

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, no filler: the destructive scope comes first, the alternative second, the confirmation requirement last. Every clause carries actionable information.

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

Completeness5/5

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

For a one-parameter destructive mutation with annotations covering idempotency and destructiveness and no output schema expected, the description covers the cascade, the id source, the non-destructive alternative, and the confirmation norm. Nothing needed to call it correctly is missing.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains alert_id. The parenthetical '(ids from list_alerts)' restates the same provenance rather than adding format, validation, or edge-case meaning, so this sits at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Delete an alert') and immediately widens the scope by naming the cascade ('and its matches'), with the id source parenthetically tied to list_alerts. That is enough to separate it from update_alert and list_alert_hits without opening any schema.

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

Usage Guidelines5/5

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

It names a concrete alternative and the condition that selects it ('To stop it for a while, update_alert with status "paused" keeps it'), which is an explicit when-not-to-delete rule. It also adds a procedural precondition ('Ask before deleting') and tells the agent where ids come from.

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.