Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

copy_to_container

Copy a file or folder from your host home directory into a container by providing the source path, container ID, and destination path.

Instructions

Copy a file or folder from the host into a container.

The host ``source`` path must be within your home directory. ``dest`` is the
path inside the container.
Example: copy_to_container("~/project/config.yaml", "web", "/etc/app/config.yaml")

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": {
      "source": "<source>",
      "container_id": "<container_id>",
      "dest": "<dest>"
    },
    "name": "copy_to_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
destYes
sourceYes
container_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses the important home-directory restriction on the host source and clarifies the destination path, but it does not state overwrite behavior, required container state, permissions, or error behavior.

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 definition is front-loaded, uses two short sentences, and includes a directly useful example. There is no wasted wording, and the example earns its place by mapping all three positional arguments.

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?

The output schema covers return values, so the description need not explain them. However, for a copy operation with no annotations, it should ideally disclose overwrite behavior and container readiness requirements; the current description is adequate but leaves meaningful behavioral gaps.

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 description coverage is 0%, so the description must compensate. It explains source as a host path within the home directory and dest as the path inside the container, and the example implicitly clarifies container_id as the container name or identifier, but container_id is not explicitly described.

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 from the host into a container.' It also makes the direction explicit, which distinguishes it from the sibling copy_from_container without naming it.

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?

The usage context is clear: copy from the host into a container, with the host source required to be within the home directory. It does not explicitly name alternatives or when-not-to-use cases, but the directional scope is unambiguous.

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