Skip to main content
Glama

Delete snapshot

delete_snapshot
Destructive

Delete a Cloud VPS (KVM/VDS) disk snapshot by specifying the service order number and snapshot name.

Instructions

Delete a Cloud VPS (KVM/VDS) disk snapshot. Requires services:manage and a full-access API key.

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": {
      "orderNo": "<orderNo>",
      "snapname": "<snapname>"
    },
    "name": "delete_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
snapnameYesSnapshot name from list_snapshots

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the bar is lower; the description adds real value by naming the required scopes (services:manage) and the full-access API key constraint. It still omits whether the deletion is irreversible and whether the snapshot must be in a particular state.

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 short sentences, zero filler, with the destructive action front-loaded before the requirement clause. No restructuring would improve it.

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?

For a two-parameter destructive tool with rich annotations and no output schema, the description plus schema cover the essentials, and the added auth requirement closes the main gap. Missing only error/precondition behavior (e.g. what happens if the snapshot does not exist or is in use).

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%: both orderNo and snapname carry patterns, length limits, examples, and a pointer to list_snapshots as the source of the name. The description adds nothing beyond that, so the baseline 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 (Delete) and resource (Cloud VPS KVM/VDS disk snapshot), and the platform qualifier implicitly separates it from the sibling delete_firecracker_snapshot. It does not explicitly name an alternative, so it stops just short of the top band.

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

Usage Guidelines2/5

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

No guidance on when to use this versus rollback_snapshot, delete_firecracker_snapshot, or how to obtain the snapname via list_snapshots. The permission prerequisites are stated but they are authorization requirements, not when/when-not guidance.

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