Skip to main content
Glama

workspaceapp__BatchRejoinDomain

Rejoins multiple servers to an Active Directory domain in batch to fix servers that have left the domain or lost domain trust.

Instructions

[WORKSPACEAPP] 批量服务器重新加入AD域,一般用于解决服务器脱域的情况使用。

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": "workspaceapp__BatchRejoinDomain"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目唯一标识。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are present, so the description carries the full behavioral burden. It establishes that this is a batch mutation aimed at restoring domain membership, but says nothing about which servers are affected (the only input is project_id, implying all servers in the project), whether the operation requires the servers to be online, whether it is asynchronous, or whether it is reversible. These gaps matter for a write operation with no safety hints.

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?

One compact sentence states the action first and then the use case, with no wasted wording. The bracketed product prefix is slightly noisy but still useful for scoping.

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?

For a batch mutation with no annotations and no output schema, the description is too thin. It does not explain the scope of the batch (all servers under the project), the expected preconditions, or the effect of the call, leaving an agent without the context it needs to invoke this tool safely.

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 only one parameter (project_id) and the schema describes it fully (100% coverage), so the baseline is 3. The description adds no meaning beyond the schema, such as whether the batch covers every server in the project or only ones that have fallen off the domain.

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 and resource: batch-rejoin servers to the AD domain ([WORKSPACEAPP] 批量服务器重新加入AD域). That distinguishes it from unrelated siblings such as BatchRebootServer or BatchReinstallServer, though it never explicitly contrasts itself with them. The '[WORKSPACEAPP]' prefix also helps scope the tool.

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 usage scenario: 'generally used to resolve servers falling off the domain' (一般用于解决服务器脱域的情况), which tells an agent when this tool is relevant. It gives no exclusions, no prerequisites (e.g. AD domain must already be configured), and names no alternative.

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