Skip to main content
Glama
vmware-console-mcp

vmware-console-mcp

by zxrobin01

esxi_datastore_rm

Deletes a specified file or directory from an ESXi datastore using the host alias and path, removing contents recursively by default.

Instructions

Remove a file or directory from an ESXi datastore (govc datastore.rm; recursive by default).

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>",
      "path": "<path>"
    },
    "name": "esxi_datastore_rm"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
aliasYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.2/5.0
Behavior3/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 does disclose one important trait: recursion is on by default, so removing a directory deletes its contents. However, it never states that the operation is irreversible, whether there is a confirmation step, or what permissions/alias context are required to reach the datastore.

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 front-loaded sentence with no filler; the verb and resource come first and the recursion caveat follows immediately. The govc CLI mapping is of marginal use to an agent but is compact and does not bloat the text.

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 destructive, non-reversible operation with zero annotation coverage, no output schema, and undocumented parameters, the definition is far too thin. It omits permission prerequisites, failure behavior for missing paths, and any explanation of the required 'alias' argument.

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?

Schema description coverage is 0%, so the description must explain both parameters and it explains neither. The meaning of 'path' is loosely recoverable from 'file or directory,' but 'alias' (presumably the host/connection identifier) is left entirely undefined in both schema and description.

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 names a specific verb ('Remove') and a precisely scoped resource ('a file or directory from an ESXi datastore'), which cleanly separates it from siblings like esxi_datastore_ls, esxi_datastore_mkdir, esxi_datastore_upload, and esxi_datastore_download.

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 explicit guidance on when to use this versus the other datastore tools, nor any caution about confirming before deletion. The only usage-relevant information is the parenthetical note that it is recursive by default, which is inferred context rather than stated guidance.

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