Skip to main content
Glama

Delete an alert

delete_alert
DestructiveIdempotent

Delete an alert. Needs confirm: true; without it the tool only shows what it would delete. To pause an alert instead, use update_alert with enabled: false.

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
siteNoSite domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site.
confirmNoSet to true to really do it. Without it, the tool only describes what it would do.
alert_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is known. The description adds non-obvious behavior: the confirm flag gates a dry-run preview rather than a silent no-op, which materially changes how the agent should call it. It doesn't say whether related deliveries survive the deletion, but that's a minor gap against already-rich annotations.

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, front-loaded with the action, then the safety gate, then the alternative intent. No filler; each sentence carries distinct decision-relevant information.

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?

No output schema exists, and the description explains what the dry-run path returns ('shows what it would delete') and how to achieve a non-destructive alternative. Slightly incomplete on the blast radius of a real delete (e.g. alert delivery history), but otherwise sufficient for a 3-parameter destructive tool.

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 67% and the schema already fully documents 'confirm' and 'site'. The description's confirm explanation therefore restates structured data rather than adding new meaning, and it says nothing about alert_id beyond the name. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Delete an alert') and explicitly routes the agent to the sibling alternative (update_alert with enabled: false) for the pause case. An agent can distinguish this from update_alert and the other delete_* siblings 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?

Gives the exact precondition ('Needs confirm: true') and the consequence without it ('only shows what it would delete'), plus a named alternative with its parameter value for the different intent. Both when-to-use and when-to-use-something-else are covered.

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