Skip to main content
Glama

workspace__UpdateDesktopSids

Updates desktop SIDs to match Windows AD SIDs when they differ, resolving SID mismatches that cause desktop domain-disjoin issues.

Instructions

[WORKSPACE] 该接口用于桌面sid和WindowsAD中的SID不同时,更新桌面SID使其与AD中的SID保持一致,一般用于解决桌面脱域的情况使用。

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_ids": "<desktop_ids>",
      "project_id": "<project_id>"
    },
    "name": "workspace__UpdateDesktopSids"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
desktop_idsYes虚拟机列表。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/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 does disclose the mutation's effect (desktop SID is rewritten to match AD) and the real-world scenario, which is genuine value, but it omits preconditions such as required desktop state, permissions, whether a reboot is needed, and whether the change is reversible.

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 covering condition, action, and rationale with no padding. The bracketed [WORKSPACE] prefix is noise but the rest is tight and well-ordered.

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 two-parameter mutation tool with a fully-described schema and no output schema, the description covers the what and the when. It falls short on operational prerequisites and side effects that an agent would need before invoking a write operation with no annotations to fall back on.

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% and both parameters (project_id, desktop_ids) are documented in the schema, so the baseline of 3 applies. The description adds no meaning about the 1-100 desktop batch limit or how desktops are identified, but nothing is required of it here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (update desktop SID) plus the precise condition that triggers it (desktop SID differs from the SID in Windows AD) and the problem it solves (desktop losing its domain trust, 脱域). An agent can distinguish this from generic siblings such as workspace__UpdateDesktop by the 'SID synchronization' framing alone.

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?

Explicitly says when to use it: when a desktop's SID has drifted from AD and the desktop has dropped off the domain. That is strong positive guidance, but there is no when-not guidance (e.g. don't use if the desktop is not domain-joined) and no named alternative for related rejoin workflows.

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