Skip to main content
Glama

Copy file into sandbox

box_copy_in
Idempotent

Copies a file or folder from the Windows host into a running Windows Sandbox at C:\winbox\in<name>, waits until the guest sees it, and returns the guest path for box_exec.

Instructions

Copy a file or folder from the Windows host into the sandbox at C:\winbox\in<name> (read-only inside the sandbox) and wait up to 90 s until the guest can see it. Overwrites a previously copied item with the same name. Returns the guest path to pass to box_exec. Requires a running sandbox.

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": {
      "host_path": "<host_path>"
    },
    "name": "box_copy_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
host_pathYesAbsolute path of an existing file or folder on the Windows host, e.g. C:\builds\app.msi.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

The annotations already declare that this is a mutating but idempotent operation; the description adds concrete behavior beyond them, including the fixed destination, the read-only guest view, the 90-second visibility wait, overwrite-on-same-name behavior, and the return value. None of this conflicts with the annotations.

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 front-loaded with the core action and destination, then adds the timeout, overwrite behavior, return value, and prerequisite in compact sentences. There is no redundant wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter copy tool with no output schema, the description covers the essential behavior an agent needs: source platform, destination, safety-relevant overwrite behavior, timing, prerequisite, and how to use the returned path.

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 100% and the single host_path parameter is already documented as an absolute existing file or folder path on the Windows host. The description reinforces that source context but does not add detailed parameter syntax beyond 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 states a specific verb and resource (copy a file or folder), the source platform, the exact destination, and the result. An agent can distinguish this inbound-copy behavior from sibling tools like box_exec without opening a schema.

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?

It gives clear operating context: the sandbox must be running, the copied item is read-only in the guest, and the returned guest path is intended for box_exec. It does not explicitly name a sibling alternative or exclusion, but the usage context is otherwise clear.

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