Skip to main content
Glama

delete_alerts

Delete CloudStack alerts by ID, type, or date range, with access scoped to root admins, domain admins, and users.

Instructions

Delete one or more alerts. Root admins can delete any alerts; domain admins can only delete alerts from their domain; users can only delete their alerts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoComma-separated list of alert IDs to delete
typeNoAlert type to delete
enddateNoEnd date for date range deletion (YYYY-MM-DD). Can be used alone to delete alerts older than this date.
startdateNoStart date for date range deletion (YYYY-MM-DD). Requires enddate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the authorization model, which is real behavioral value, but it never states that the operation is irreversible, whether deletion is hard or soft, whether affects cascade, or what the call returns.

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?

Two short sentences with the core action front-loaded and zero filler. It is efficient, though the brevity comes at the cost of some information an agent calling a destructive tool would want.

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

Completeness3/5

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

For a destructive, annotation-free tool with four optional and mutually combinable selectors, the permission note does useful work but leaves gaps: no warning about irreversibility, no statement of what happens when multiple selectors are combined, and no return-value description.

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%, and the schema already explains the ids list, type, and the startdate/enddate pairing including the 'enddate alone' case. The description adds no meaning beyond that, so the baseline of 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 one or more alerts'), so the agent knows exactly what the tool does. It does not, however, distinguish itself from the visible sibling archive_alerts, which is the obvious adjacent operation.

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 permission sentence implies when the call will succeed (root admin vs. domain admin vs. regular user), which is useful eligibility context. There is no guidance on delete vs. archive, or on which of the four optional selectors to prefer, leaving the when-to-use decision to inference.

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

Deploy Server

Other Tools