Skip to main content
Glama

create_instance

Destructive

Create a new Google Compute Engine virtual machine (VM) instance. Requires project, zone, and instance name as input. If machine_type is not provided, it defaults to e2-medium. If image_project and image_family are not provided, it defaults to debian-12 image from debian-cloud project. guest_accelerator and maintenance_policy can be optionally provided. Proceed only if there is no error in response and the status of the operation is DONE without any errors. To get details of the operation, use the get_zone_operation tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRequired. Identifier. The instance name.
zoneYesRequired. The zone of the instance.
projectYesRequired. Project ID for this request.
imageFamilyNoOptional. The image family of the instance.
machineTypeNoOptional. The machine type of the instance.
imageProjectNoOptional. The image project of the instance.
guestAcceleratorsNoOptional. The list of attached accelerators. Each entry specifies the accelerator type (short name or full/partial URL, e.g., 'nvidia-tesla-p4') and the count.
maintenancePolicyNoOptional. The maintenance policy option for the instance.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationNameNoThe operation name of the instance creation.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate this is a write operation (readOnlyHint=false) with destructive potential (destructiveHint=true). The description adds useful behavioral context by explaining the asynchronous operation monitoring: check for errors and wait for status DONE, and use get_zone_operation for details. It also reveals default image and machine type behavior, which is not discoverable from the schema alone. It does not contradict the annotations.

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?

The description is efficiently structured: purpose first, then requirements, defaults, optional parameters, and finally success criteria. It is somewhat long, and the phrase 'without any errors' is redundant, but every sentence contributes actionable information. The front-loaded purpose makes it easy to scan quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the rich annotations, complete schema coverage, and the presence of an output schema, the description covers essential operational details: prerequisites, default values, optional configuration, and how to verify a successful operation via get_zone_operation. No critical information is missing for an agent to safely invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema documents all parameters, but the description adds value by specifying defaults for machineType and imageProject/imageFamily, and by naming guestAccelerators and maintenancePolicy as optional. It uses slightly different parameter names ('guest_accelerator' vs 'guestAccelerators'), which is a minor inconsistency, but the overall meaning is still conveyed.

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?

The description opens with a specific verb and resource: 'Create a new Google Compute Engine virtual machine (VM) instance.' This clearly distinguishes create_instance from sibling tools like delete_instance, reset_instance, or start_instance. It also lists required parameters, making the tool's scope immediately obvious.

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?

The description gives practical context: required inputs (project, zone, name), default machine type and image, and optional parameters. It also instructs the agent to check the operation status and references get_zone_operation. It does not explicitly state exclusions or when to prefer alternatives, but the create/delete/update sibling set makes the use case clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool targets a distinct resource-action combination. For resources with both basic and detailed getters (reservations, templates), the suffixes clearly differentiate them, and list vs get distinctions are unambiguous. No two tools appear to do the same thing.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (e.g., create_instance, list_disks, get_zone_operation). Getters consistently use descriptive suffixes like basic_info, details, or properties. No mixed naming conventions or vague verbs.

Tool Count4/5

29 tools is slightly above the ideal range but justified given the breadth of Google Compute Engine resources covered (instances, disks, templates, reservations, commitments, MIGs, snapshots, images, machine types, accelerator types). Each tool serves a specific purpose and contributes to the overall scope.

Completeness2/5

The toolset is heavily read-oriented. While instances have full lifecycle coverage (create, delete, start, stop, reset, set machine type), most other resources lack write operations: disks, templates, reservations, commitments, snapshots, and MIGs only have get/list tools. This creates dead ends for agents needing to create or modify these resources, which is a significant gap for a GCE management server.

Resources