Skip to main content
Glama

workspace__ExecuteDesktopPoolAction

Executes batch power actions—start, stop, restart, or hibernate—on desktops in a Workspace desktop pool for a specified project and operation type.

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

Input Schema

NameRequiredDescriptionDefault
typeNo执行类型。例如type为HARD,op_type为os-stop代表强制关机。
op_typeYes操作类型。
pool_idYes桌面池ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It discloses the batch power actions, but it does not state permission requirements, irreversibility, async behavior, impact on active user sessions, or what happens if some desktops fail.

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 definition is a single front-loaded sentence with no obvious filler. The initial '操作桌面池' is slightly redundant before the clarifying action list, but overall it is well sized for the amount of information conveyed.

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?

The schema fully documents all four parameters and the description explains the action scope, but there is no output schema and no annotations. For a state-changing batch operation, the definition leaves out important operational context such as permissions, asynchronous execution, and failure behavior.

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%, so the schema already documents the parameters. The description adds some meaning by indicating that op_type corresponds to batch power actions, but it does not map specific operation values such as os-start or os-stop, or clarify how type HARD/SOFT interacts with each operation.

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 the resource (desktop pool) and the specific batch actions it performs: power on, shut down, restart, and hibernate. This is clear enough to distinguish it from general pool management tools, although it does not explicitly contrast itself with sibling tools such as ExecuteDesktopPoolScript.

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 description implies when to use the tool: for batch power-state operations on desktops within a pool. However, it gives no explicit when-not guidance or named alternatives for closely related operations, leaving the agent to infer routing from sibling names.

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