Skip to main content
Glama
vmware-console-mcp

vmware-console-mcp

by zxrobin01

esxi_add_host

Register an ESXi or vCenter host and validate its connection before saving credentials, enabling the MCP server to manage its virtual machines.

Instructions

Register an ESXi/vCenter host. Validates connectivity with govc about unless test=false. Password can be given directly (stored in config file, 0600 best-effort) or via password_env (recommended).

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": {
      "alias": "<alias>",
      "host": "<host>",
      "user": "<user>"
    },
    "name": "esxi_add_host"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesIP or hostname (https assumed)
noteNo
testNoTest connection before saving, default true
userYes
aliasYes
insecureNoSkip TLS verification, default true for self-signed ESXi
passwordNo
datacenterNoOptional datacenter name (vCenter only)
password_envNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations present the description carries the full burden, and it discloses meaningful behavior: a connectivity probe via "govc about" before saving, the fact that the record is persisted into a config file, and the 0600 best-effort file permission on a directly supplied password. It leaves out what happens when validation fails (abort vs. save anyway) and whether re-registering an existing alias overwrites or errors.

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?

Two sentences, front-loaded with the action, then the validation trigger and credential options. Every clause carries information an agent needs; there is no filler or repetition of the title.

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?

This is a nine-parameter mutating tool with no annotations and no output schema, so the description should do more. Credential storage and the validation step are well covered, but the required alias/host/user semantics, the meaning of insecure's default, and the success/failure outcome are not described.

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 coverage is only 44% across nine parameters, so the description needs to compensate; it adds real meaning for password vs. password_env (secret handling and the recommendation) and for test (validation bypass). It says nothing about alias, user, note, insecure, or datacenter beyond what the schema already declares, so roughly half the parameters remain semantically thin.

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?

"Register an ESXi/vCenter host" is a specific verb plus resource, and it is clearly separable from siblings like esxi_hosts, esxi_host_info, esxi_test_host, and esxi_remove_host. It does not explicitly name those siblings, but the register-versus-list/test/remove distinction is unambiguous from the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage (registering a target before other operations) and gives one concrete conditional: validation runs unless test=false. It also recommends password_env over inline password. However, it never says when to prefer esxi_test_host over this tool's built-in validation, nor when registration should be skipped because a host already exists.

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