Skip to main content
Glama

workspace__DeleteDesktopPool

Deletes a desktop pool only after it has no desktops; the removal is irreversible, so confirm the pool is empty before using.

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

Input Schema

NameRequiredDescriptionDefault
pool_idYes桌面池ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the two most important traits for a destructive tool: the empty-pool precondition and irreversibility ('删除后无法恢复'). It omits permissions required, whether deletion is synchronous, and any cascade behavior for associated 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?

Two short clauses with zero padding; the precondition and the irreversibility warning are both front-loaded and each earns its place. Slightly more structure (e.g. separating the guard condition from the warning) would make it crisper.

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?

For a two-parameter destructive operation with no annotations and no output schema, the description covers the critical safety facts (empty pool required, irreversible) but leaves the agent guessing about failure modes, required permissions, and what happens to a populated pool. Adequate but not 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?

Schema description coverage is 100% — both pool_id and project_id are documented in the schema with format hints and examples. The description adds no additional meaning about these identifiers, so the baseline of 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?

The description names a specific verb+resource ('删除桌面池' / delete desktop pool) and adds a scoping precondition ('当桌面池内无桌面时') that separates it from volume-level deletions such as DeleteDesktopPoolVolumes. It is clear what the tool does, though it does not explicitly name a sibling to route against.

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?

The precondition 'only when the pool contains no desktops' is an implicit when-to-use rule and good guidance. However, it gives no positive alternative for the blocked case (e.g. delete desktops/sub-resources first, or use DeleteDesktopPoolVolumes for volume cleanup), so the agent must infer the fallback path.

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