Skip to main content
Glama

assign_virtual_machine

Move a virtual machine to a different CloudStack account and domain using the VM ID, target account name, and domain ID.

Instructions

Assign a VM to a different account

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": {
      "virtualmachineid": "<virtualmachineid>",
      "account": "<account>",
      "domainid": "<domainid>"
    },
    "name": "assign_virtual_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesTarget account name
domainidYesTarget domain ID
virtualmachineidYesVM ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full burden. It reveals only that the account changes; it says nothing about required permissions, whether the VM must be stopped, what happens to existing resources or ownership, or whether the move is reversible. For a mutation tool this is a substantial 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?

A single short sentence with the key information front-loaded and no filler. It is efficiently sized, though its brevity borders on under-specification rather than pure conciseness.

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 three-required-parameter mutation with no annotations and no output schema, the description omits the operational context an agent needs to invoke it safely: preconditions, side effects, and what the call returns. The structured fields cover the parameter names but nothing covers the behavior.

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 all three parameters (account, domainid, virtualmachineid) are already documented in the schema, making 3 the baseline. The description adds only a hint that the account is the target of the move; it provides no format, constraint, or interaction detail beyond the schema.

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?

"Assign a VM to a different account" states a specific verb (assign), resource (VM), and target (a different account), which is enough to distinguish it from siblings like change_service_offering_virtual_machine or assign_virtual_machine_to_backup_offering. It stops short of naming the sibling it is contrasted with, so it is clear but not maximally differentiated.

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, no prerequisites (e.g., VM power state, permissions), and no mention of alternatives or conditions. The agent must infer entirely from the one-line purpose.

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