Skip to main content
Glama

workspace__RegisterDomain

Rejoins a Windows desktop to an Active Directory domain to resolve domain disconnection issues. Provide the desktop ID and project ID to restore domain membership.

Instructions

[WORKSPACE] 该接口用于Windows桌面重新加入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": {
      "desktop_id": "<desktop_id>",
      "project_id": "<project_id>"
    },
    "name": "workspace__RegisterDomain"
  }
}

Input Schema

NameRequiredDescriptionDefault
desktop_idYes桌面ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a state-changing operation on a desktop but says nothing about required permissions, whether the machine is rebooted, whether the existing (broken) domain relationship is replaced or lost, or whether the call is synchronous. For an unannotated mutation tool this is a significant gap.

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 front-loaded sentence with a service tag and the operational scenario, with no wasted wording. It is efficient, though the bracketed service prefix carries little selection value.

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?

With only two fully documented path parameters and no output schema, the call signature is clear. However, for a desktop-mutating operation with no annotations, the description should indicate prerequisites (desktop powered on, network reachability) and the expected outcome; it does not.

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 coverage is 100%, and both desktop_id and project_id are documented in the schema itself, so the baseline is 3. The description adds no further meaning about the identifiers (e.g. where to obtain desktop_id or whether the project must match).

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 states a specific verb+resource: re-joining a Windows desktop to an AD domain. The added note that it is for resolving desktops that have lost their domain trust makes the intent unambiguous. It does not name or distinguish from any sibling (e.g. other domain-management tools), so it stops short of 5.

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 clearly states the scenario in which the tool applies: a Windows desktop that has fallen out of the AD domain and needs re-joining. That is real when-to-use context. It gives no exclusions or alternatives (e.g. what to use if the desktop was never joined), which keeps it below 5.

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