Skip to main content
Glama

workspace__BatchRestoreDesktopSnapshot

Restore multiple desktop snapshots in a Huawei Cloud workspace project to recover several desktops together.

Instructions

[WORKSPACE] 批量恢快照。

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": {
      "project_id": "<project_id>"
    },
    "name": "workspace__BatchRestoreDesktopSnapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
snapshot_idsNo桌面快照记录id数组,最多支持100。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.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 and it discloses almost nothing: it does not say the operation is destructive/state-overwriting, whether existing desktop data is replaced, whether it is reversible, what permissions are needed, or what happens on partial failure across up to 100 snapshots. Only the term "恢复" weakly signals a mutating operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is free of padding but is not concise so much as truncated, containing an apparent typo ("恢" for "恢复") and no front-loaded scope statement. Brevity here costs clarity rather than earning it.

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

Completeness1/5

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

For a batch, state-changing operation with no annotations and no output schema, the description should explain impact, safety, and result expectations; instead it is a six-character fragment. Nothing an agent needs to invoke it correctly beyond the schema is present.

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%, with both project_id and snapshot_ids documented in the schema including the max-100 limit, so the schema does the work. The description adds no additional meaning about parameter semantics, which is the expected baseline here.

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 batch operation on snapshots ("批量恢快照"), which is a recognizable verb+resource pair, but it is a truncated fragment missing a character and never clarifies that these are desktop snapshots rather than the snapshot resources exposed by siblings like css__RestoreSnapshot or drs__BatchRestoreTask. An agent could identify the rough intent but not reliably distinguish it from other restore tools.

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, and no mention of the alternative single-snapshot or create/delete snapshot operations in the sibling list. The only hint of scope is the word "批量", which implies multiple snapshots but is not stated as 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