Skip to main content
Glama

workspace__DeleteDesktop

Deletes a single Workspace desktop permanently, with options to force deletion, remove associated users, and send notification emails.

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

Input Schema

NameRequiredDescriptionDefault
desktop_idYes桌面ID。
project_idYes项目ID。
delete_usersNo删除桌面后,如果当前用户没有其它桌面,可以删除桌面用户。true:删除用户,false:不删除用户,默认为false。
is_force_deleteNo是否强制删除。
email_notificationNo删除桌面后,是否给桌面用户发送系统通知邮件。true:发送,false:不发送。默认为true。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the critical trait that deletion is irreversible ("删除后无法恢复"). However, it omits permission requirements, cascading effects (schemas show optional user deletion and notification emails), and any confirmation/undo semantics beyond the warning.

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 the tag prefix and the irreversibility caveat front-loaded; nothing is wasted. It is perhaps too terse rather than verbose, but structure is clean.

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 destructive 5-parameter operation with no annotations and no output schema, the description covers purpose and irreversibility but leaves side effects and authorization context to the schema. Adequate but with clear gaps for a high-risk mutation.

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%, including detailed documentation for delete_users, is_force_delete, and email_notification, so the schema already does the heavy lifting. The description adds no parameter-level meaning beyond what the schema provides, making baseline 3 appropriate.

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 and resource ("删除单个桌面" – delete a single desktop), which distinguishes it from the batch-deletion siblings such as BatchDeleteDesktopSnapshot and DeleteDesktopPool. It does not explicitly name an alternative, but the scope is unambiguous.

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 explicit when-to-use or when-not-to-use guidance, no prerequisites, and no named alternatives. The irreversibility warning implies caution, but the agent must infer the conditions that select this tool over the batch or pool deletion siblings.

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