Skip to main content
Glama

workspace__CancelWorkspace

Cancels a Huawei Cloud Workspace service permanently. Ensure all cloud desktops under the current user are deleted first, as cancellation cannot be undone.

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__CancelWorkspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/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 it does disclose the most important trait: the operation is irreversible ('注销后无法恢复'). It does not cover permissions/auth requirements, what happens to adjacent resources (pools, volumes, users), or whether the call is synchronous, leaving meaningful behavioral gaps.

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?

The description is two compact sentences, leading with the action and following with the critical precondition and irreversibility warning. Every clause carries information, with only the redundant '[WORKSPACE]' tag as filler.

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 single-parameter destructive tool with no output schema, the definition supplies the two things an agent most needs: the required prior cleanup and the irreversibility of the operation. A note on permissions or side effects on related resources would make it complete.

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?

There is a single required parameter (project_id) and schema description coverage is 100%, so the schema already documents it fully. When schema description coverage is high, the baseline is 3, and the description adds no extra meaning about the parameter.

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 states a specific verb and resource: deregistering/cancelling the cloud office service ('注销云办公服务'). This is unambiguous about what the tool does. It does not explicitly differentiate itself from similarly named siblings (e.g. DeleteWorkspace in other services), so it falls short of a 5.

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

Usage Guidelines4/5

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

It gives a concrete precondition ('确保当前用户下的云桌面已经删除') that an agent must verify before invoking, which is genuinely actionable guidance. It does not name an alternative or explicitly state when not to use it, so it stops short of a 5.

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