Skip to main content
Glama

Copy into sandbox

sandbox_copy_in

Copy a host file or folder—such as build output—onto the sandbox local disk so an AI agent can deploy and test it inside the isolated Windows environment.

Instructions

Copy a host file or folder (e.g. your build output) onto the sandbox local disk. Sources are confined to SANDBOX_MCP_ALLOWED_ROOTS when it is set; when it is empty the copy proceeds but the result carries an unrestricted-roots warning.

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": {
      "hostPath": "<hostPath>"
    },
    "name": "sandbox_copy_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostPathYesAbsolute host path to a file or folder.
sandboxPathNoDestination path inside the sandbox (default C:\apps\<name>).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-alpha.3

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden; it does valuable work by disclosing the SANDBOX_MCP_ALLOWED_ROOTS confinement and the notable fact that an empty value lets the copy proceed with an unrestricted-roots warning. It stays silent on other mutation traits: whether an existing destination is overwritten, whether folder copies recurse, and what happens on a missing or relative host path.

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, no filler, with the primary action front-loaded and the constraint/warning relegated to a second conditional sentence. Every clause adds information an agent would otherwise have to discover by trial.

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

Completeness4/5

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

For a simple two-parameter copy with full schema coverage and no output schema, the description covers direction, source restriction, and the degraded-mode warning, which is the highest-risk behavior. It is only slightly short of complete because overwrite/recursion behavior for destination conflicts is left unstated.

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%, so both parameters are already documented, including the default destination path. The description adds only indirect meaning by tying hostPath to a security constraint (allowed roots) and a typical source (build output); it supplies no syntax, path-format, or precedence detail 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 host file or folder') plus the direction of the transfer ('onto the sandbox local disk'), which unambiguously separates it from sandbox_copy_out. The parenthetical example ('e.g. your build output') further anchors intent.

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 context is implied by the allowed-roots example and the build-output hint, but it never says when to reach for this versus siblings such as sandbox_deploy or sandbox_copy_out, nor any prerequisite ordering (e.g. copy before sandbox_run). The constraints stated are environmental, not selection guidance.

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