Skip to main content
Glama

workspace__BatchAttachInstances

Assigns multiple Workspace desktops to users or user groups in batch, supporting per-desktop user details and allocation strategies for project-scoped desktop access.

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

Input Schema

NameRequiredDescriptionDefault
usersNo用户信息列表。
desktopsNo桌面信息列表。
project_idYes项目ID。
assign_modelNo批量分配桌面策略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing beyond the bare operation. It does not mention that this is a mutating operation on desktop-user bindings, that a desktop can hold only one user unless it is a multi-user desktop, that up to 100 desktops are processed per call, or what happens on partial failure or re-assignment.

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

Conciseness3/5

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

A single short sentence with no filler and zero structural noise, so nothing is wasted. However, terseness here is under-specification rather than crispness; the sentence is too small for the operation it labels.

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

Completeness2/5

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

This is a high-complexity batch mutation with four top-level parameters, heavy nesting, and 100% schema coverage but no annotations and no output schema. One sentence cannot convey the assignment model (assign_model dimensions/strategies), the precedence of attach_user_infos over user_name, or result semantics, so the definition is materially incomplete for the tool's complexity.

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 every parameter, including the deeply nested users/desktops/attach_user_infos/assign_model structures, is already documented in the schema. The description adds no meaning beyond it, which is the baseline case for high-coverage schemas rather than an omission an agent would be harmed by.

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?

"批量分配桌面给用户" gives a verb (批量分配) and resources (桌面/用户), so the operation is intelligible. But it is essentially a restatement of the tool name BatchAttachInstances, and it never distinguishes this from workspace__AttachInstances (singular) or workspace__BatchAssociateInstances, so sibling selection is left to guesswork.

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 at all: no statement of prerequisites (project scope, permissions), no guidance on single-user vs. multi-user desktops, and no indication of when to pick this tool over the closely-named AttachInstances or BatchAssociateInstances 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