Skip to main content
Glama

copy_file_host_to_guest

Copies a file from the host machine to a specified path inside a VMware guest OS, enabling file transfer to VMs for setup, updates, or data delivery.

Instructions

Copy a file from the host to the guest OS (CopyFileFromHostToGuest).

Args: vm: VM name, substring, or full .vmx path. host_path: Existing source file path on the host. guest_path: Destination file path inside the guest OS. guest_user: Guest OS username. guest_password: Guest OS password (masked in logs/responses).

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": {
      "vm": "<vm>",
      "host_path": "<host_path>",
      "guest_path": "<guest_path>"
    },
    "name": "copy_file_host_to_guest"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
host_pathYes
guest_pathYes
guest_userNo
guest_passwordNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral value by noting that `host_path` must already exist and that `guest_password` is masked in logs/responses, but it is silent on whether an existing `guest_path` is overwritten, whether the VM must be running, and what happens if guest credentials are omitted.

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 purpose sentence followed by a compact Args list that earns its space because the schema carries no parameter descriptions. The Args block is a docstring artifact but is not padded or repetitive.

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?

An output schema exists, so return values need not be explained, and all inputs are covered. For an unannotated file-transfer operation, though, the description should say whether an existing destination is overwritten and what preconditions (running VM, guest auth) must hold.

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 description coverage is 0%, so the description must compensate, and it documents all five parameters with concrete meaning (substring-or-full-.vmx for `vm`, source-vs-destination for the paths, username/password for the guest). The gap is that `guest_user`/`guest_password` are optional with empty defaults, and the description never explains the behavior when they are left unset.

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 first sentence gives a specific verb and resource plus an explicit direction ('from the host to the guest OS'), and even names the underlying operation `CopyFileFromHostToGuest`. That direction is exactly what separates it from the sibling copy_file_guest_to_host.

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?

Usage is implied by the direction wording, which is enough to pick this over the reverse-direction sibling, but there is no explicit when-to-use/when-not-to-use guidance. Nothing states prerequisites such as the VM needing to be powered on or guest credentials being required for the transfer to succeed.

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