Skip to main content
Glama

archive_events

Archive CloudStack events by ID, type, or date range to remove them from the active event list while preserving them for historical reference.

Instructions

Archive one or more events. Archived events are removed from the active event 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_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoComma-separated list of event IDs to archive
typeNoEvent type to archive
enddateNoEnd date for date range archival (YYYY-MM-DD). Can be used alone to archive events 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

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the core effect (removed from active list, preserved for history) but says nothing about reversibility/unarchiving, whether date-range archiving affects counts, permission needs, or failure behavior for invalid IDs — significant gaps for a mutation tool with zero annotation coverage.

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, outcome stated first and consequence second; nothing wasted and no filler.

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?

Adequate for a simple 4-parameter mutation with full schema coverage and no output schema, but it leaves open how the selectors combine (union vs intersection of ids, type, and date range) and whether archiving can be undone — both material for calling it correctly.

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 each parameter (ids, type, startdate, enddate) is already documented including the startdate-requires-enddate constraint. The description adds no further meaning, which is acceptable at full coverage but earns only the baseline.

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 ("Archive one or more events") plus a clarifying outcome: events leave the active list but are retained historically. That distinguishes it in substance from delete_events, though the sibling is never named 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 preservation note hints that this is the non-destructive alternative to deletion, but the description never says when to choose it over delete_events or list_events, and sets no preconditions.

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