Skip to main content
Glama

css__DeleteSnapshot

Delete a cluster snapshot by its ID to remove stored backup data and free associated storage in Huawei Cloud CSS.

Instructions

[CSS] 该接口用于删除快照。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>",
      "snapshot_id": "<snapshot_id>"
    },
    "name": "css__DeleteSnapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes删除快照所属的集群的ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
snapshot_idYes要删除快照的ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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, yet it discloses only that a snapshot is deleted. It says nothing about irreversibility, whether the snapshot must be in a specific state, whether the cluster must be running, permission requirements, or side effects on dependent resources.

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?

A single short sentence with no filler and the service tag front-loaded, so nothing is wasted. It is only slightly penalized because the brevity comes at the cost of useful content rather than reflecting a well-scoped minimum.

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

Completeness2/5

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

For a destructive delete operation with no annotations and no output schema, the description is far too thin. An agent gets no warning about irreversibility, error conditions, or required preconditions before invoking a permanent deletion.

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 all three path parameters (cluster_id, project_id, snapshot_id) are documented in the schema with examples, so the baseline is 3. The description adds no meaning beyond the schema, but it also doesn't need to.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb and resource (delete a snapshot) and tags the owning service as [CSS], so the operation itself is unambiguous. However, it only restates the name 'DeleteSnapshot' and does nothing to distinguish it from the many sibling delete-snapshot tools (dws__DeleteSnapshot, evs__DeleteSnapshot, workspace__BatchDeleteDesktopSnapshot).

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?

There is no when-to-use guidance, no prerequisites such as required snapshot or cluster state, and no mention of alternatives when a different delete-snapshot variant or batch deletion would be appropriate. An agent must infer all of this from the name alone.

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