Skip to main content
Glama

archive_alerts

Archives CloudStack alerts by ID, type, or date range, removing them from the active list while preserving them for historical reference.

Instructions

Archive one or more alerts. Archived alerts are removed from the active alert list but preserved for historical reference.

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": "archive_alerts"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the central post-condition: alerts leave the active list but are retained. It omits reversibility (can alerts be unarchived?), permission requirements, and what happens when zero filter parameters are supplied.

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?

Two tight sentences with the action front-loaded and the behavioral consequence immediately after. No filler or redundancy.

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 mutation tool with no annotations and no output schema, the description covers the outcome but leaves open how the optional filters interact, whether an empty call archives everything, and what the response contains. Adequate but with clear gaps given the parameter interplay.

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%, so the four parameters (ids, type, enddate, startdate) are already documented, including that startdate requires enddate. The description adds nothing about how these filters combine, precedence between ids and the date range, or the effect of passing no parameters, 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?

The description names a specific verb and resource ("Archive one or more alerts") and adds the key semantic distinction that archived alerts are removed from the active list but retained historically. This distinguishes it in spirit from a delete operation, though it never names the sibling delete_alerts or archive_events explicitly.

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 only implied: the phrase "preserved for historical reference" hints that archiving is preferable to deletion when history matters, but no alternative tool is named and no when-not-to-use condition is given. An agent must infer the choice between archive_alerts and delete_alerts.

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