Skip to main content
Glama

deploy_virtual_machine

Deploy a new CloudStack virtual machine by specifying zone, template, and service offering, with optional network, SSH key, and user-data configuration.

Instructions

Deploy a new virtual machine

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": {
      "serviceofferingid": "<serviceofferingid>",
      "templateid": "<templateid>",
      "zoneid": "<zoneid>"
    },
    "name": "deploy_virtual_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoVM name
zoneidYesZone ID
keypairNoSSH key pair name
userdataNoUser data (base64 encoded)
networkidsNoNetwork IDs (comma-separated)
templateidYesTemplate ID
displaynameNoVM display name
securitygroupidsNoSecurity group IDs (comma-separated)
serviceofferingidYesService offering ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the action without behavioral details. It doesn't disclose that this is a destructive/write operation, potential costs, time requirements, authentication needs, or what happens on failure. For a complex deployment tool, this leaves critical behavioral traits unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words. It's front-loaded with the core action and resource. While it lacks detail, what's present is structurally sound and appropriately concise for a tool name that clearly indicates the function.

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 complex deployment tool with 9 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what 'deploy' means operationally, what happens after deployment, error conditions, or return values. The context demands more guidance about this significant infrastructure operation.

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 parameters are well-documented in the schema. The description adds no parameter-specific information beyond implying deployment involves some configuration. It doesn't explain relationships between parameters or provide usage examples, but the schema provides adequate baseline documentation.

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

Purpose3/5

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

The description 'Deploy a new virtual machine' clearly states the action (deploy) and resource (virtual machine), but it's vague about scope and doesn't distinguish from siblings like 'create_volume' or 'create_network'. It specifies 'new' which helps differentiate from mutation tools like 'change_service_offering_virtual_machine', but lacks detail on what deployment entails.

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?

No guidance is provided on when to use this tool versus alternatives. For example, it doesn't mention prerequisites like needing a template or service offering, or when to use 'deploy_virtual_machine' versus 'scale_virtual_machine' or 'migrate_virtual_machine'. The description offers no context for tool selection.

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