Skip to main content
Glama
vmware-console-mcp

vmware-console-mcp

by zxrobin01

esxi_datastore_ls

List files and folders in a VMware datastore path to inspect storage contents. Use it to browse datastore directories for VM files and configurations.

Instructions

List a datastore path (govc datastore.ls -l).

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

Input Schema

NameRequiredDescriptionDefault
pathNoe.g. [datastore1] or [datastore1] folder/
aliasYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not state that the operation is read-only, whether listing is recursive (`-l` long format implies detail but that is only inferable from the CLI hint), what the output looks like, or how errors surface. For a filesystem-listing tool with zero annotation coverage this is a substantial gap.

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

Conciseness3/5

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

The single short sentence is front-loaded and free of padding, but here brevity reflects under-specification rather than discipline — the one sentence plus a CLI hint is all the agent gets for a tool with two parameters and no annotations.

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 no annotations, no output schema, and one of two parameters undocumented, the description would need to explain read-only behavior, the meaning of `alias`, and roughly what listing returns. It does none of these, leaving the agent to infer essential details from a terse govc command reference.

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 only 50%: `path` has an example format ("[datastore1] or [datastore1] folder/"), but the required `alias` parameter has no description anywhere, and the description text adds no parameter meaning beyond the schema. The description does not explain that `alias` identifies which ESXi host/datastore connection the path resolves against.

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?

"List a datastore path" conveys a verb (list) and a resource (datastore path), and the parenthetical ties it to `govc datastore.ls -l`, so the intent is roughly graspable. But it never states that it enumerates the contents/entries at that datastore path, and it draws no boundary against sibling tools like esxi_datastore_mkdir, esxi_datastore_rm, or 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 when-to-use or when-not-to-use guidance and no named alternative. The only contextual cue is the embedded govc command, which assumes the agent already knows govc semantics and does not tell it how this differs from other datastore siblings.

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