Skip to main content
Glama

Create Virtual_machine

netbox_create_virtual_machine

Add a new virtual machine record to NetBox, specifying required name and optional attributes such as cluster, host device, disk, memory, status, and custom fields.

Instructions

Create a new virtual_machine in NetBox.

This adds a new row to NetBox. Ask before calling if the user wanted a dry-run.

Returns: Markdown summary of the newly created object (default) or JSON with the full NetBox response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diskNoDisk (MB).
nameYesVM name (required).
roleNoDevice role id.
siteNoSite id.
tagsNoOptional array of tag slugs to apply to the object.
vcpusNo
memoryNoMemory (MB).
serialNo
statusNoactive
tenantNo
clusterNoCluster id (VM needs a cluster or a device).
commentsNo
platformNo
device_idNoHost device id (alternative to cluster). Exposed as device_id (not device) for the bridge; mapped to the API field device on write.
descriptionNo
primary_ip4No
primary_ip6No
custom_fieldsNoOptional object of custom-field slugs -> values. Only include fields defined on your NetBox instance.
config_templateNo
response_formatNoOutput format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls.markdown
local_context_dataNo
virtual_machine_typeNoVM type id.
Behavior3/5

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

Annotations already indicate a write operation (readOnlyHint=false) and non-destructive nature. The description adds context about return format and a safety caution (dry-run), but does not provide deeper behavioral details like side effects or permissions. With annotations present, the description provides moderate added value.

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 concise: three sentences covering purpose, a behavioral note, and return format. No redundant or irrelevant information, and it is front-loaded with the primary action.

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?

Given the tool's complexity (22 parameters, no output schema, no examples), the description lacks critical guidance on parameter combinations (e.g., need for cluster or device_id), prerequisites, or error handling. While the return format is noted, the description is insufficient for an agent to confidently invoke the tool without additional context.

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

Parameters2/5

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

The input schema has 22 parameters with 50% description coverage. The tool description does not elaborate on any parameter meanings, expected values, or usage patterns beyond the schema. It fails to compensate for the parameters that are undocumented in the schema.

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 clearly states 'Create a new virtual_machine in NetBox', specifying the verb (create) and resource (virtual_machine). It distinguishes from numerous sibling tools that perform other operations on VMs or different objects.

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 explicitly advises to ask the user if they want a dry-run before calling, providing a clear usage guideline for non-idempotent operations. However, it does not explicitly compare to alternatives like update or get, though the purpose is self-evident.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZenixSolutions/netbox-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server