Skip to main content
Glama

workspace__UpdateTerminalsBindingDesktops

Updates terminal-to-desktop binding settings by applying a policy to a specified MAC address and desktop, helping you reassign or correct associations.

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": {
      "desktop_name": "<desktop_name>",
      "id": "<id>",
      "mac": "<mac>",
      "project_id": "<project_id>"
    },
    "name": "workspace__UpdateTerminalsBindingDesktops"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes策略id。
macYes终端MAC地址。
project_idYes项目ID。
descriptionNo描述。
desktop_nameYes虚拟机名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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, yet it discloses nothing beyond 'modify'. It does not say whether the binding is replaced or merged, whether omitted optional fields (e.g. description) are cleared, what permissions are required, or what happens on MAC/desktop mismatch.

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?

It is a single short sentence with nothing wasted and the prefix tag [WORKSPACE] front-loads scope. But its brevity comes from under-specification rather than efficiency; the whole definition is roughly ten words for a five-parameter mutation.

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?

Given a mutation with five parameters, no annotations, and no output schema, the definition is thin. The schema compensates for field-level meaning, but mutating a terminal-to-desktop binding has real consequences (endpoint re-association) that the description never addresses, and the ambiguity with the '*Config' sibling remains.

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%, with each of the five parameters individually documented (policy id, MAC address, project ID, description, VM name), so the schema already does the semantic work. The description adds no meaning about how those fields interact—for example, whether mac plus desktop_name form the binding key—so baseline 3 applies.

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 ('修改', modify) and resource ('终端与桌面绑定配置', terminal-to-desktop binding configuration), so an agent can tell this is a mutation of binding settings rather than a create/delete/list. It does not, however, distinguish itself from the near-identical sibling 'UpdateTerminalsBindingDesktopsConfig', leaving the boundary between 'binding' and 'binding config' unresolved.

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 guidance on when to use this tool versus CreateTerminalsBindingDesktops, DeleteTerminalsBindingDesktops, or UpdateTerminalsBindingDesktopsConfig. No prerequisites (existing binding required? project scope?) or exclusions are stated, so the agent must infer everything from the name.

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