Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

create_machine

Creates and boots a persistent Linux container machine from an image, with options for CPUs, memory, mounts, and nested virtualization.

Instructions

Create and boot a container machine (a persistent Linux environment) from an image.
home_mount is one of 'ro', 'rw', 'none'.
scheme selects registry http or https; CLI 1.4.1 defaults to https.
Set virtualization=True to enable nested virtualization (requires Apple Container 1.1+,
Apple Silicon M3+, macOS 15+, and a guest kernel built with CONFIG_KVM=y).
Example: create_machine("alpine:3.22", name="dev", cpus=4, memory="8G")

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": {
      "image": "<image>"
    },
    "name": "create_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpusNo
nameNo
imageYes
memoryNo
schemeNo
no_bootNo
home_mountNo
set_defaultNo
virtualizationNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations supplied, the description bears the full behavioral burden. It does disclose useful traits – the machine boots by default, is persistent, and virtualization has hard platform/kernel requirements – but it says nothing about permission needs, failure modes on duplicate names, whether creation is idempotent, or what set_default changes globally.

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?

Front-loaded with the core action, followed by targeted parameter notes and a concrete call example; little waste. The virtualization requirement sentence is long but each clause is a real constraint rather than filler.

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 described, which is appropriate. But for a nine-parameter mutating tool with zero schema descriptions and zero annotations, leaving no_boot and set_default unexplained is a meaningful completeness gap that an agent cannot resolve from structured fields alone.

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 and it only partially does: it defines the home_mount values, explains scheme's http/https choice and default, and gives the format for memory ('8G') and cpus via the example. Non-obvious flags such as no_boot, set_default, and the semantics of name are left entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb+resource ('Create and boot a container machine') and clarifies the artifact ('a persistent Linux environment') plus the source ('from an image'). It does not distinguish itself from siblings like run_machine or create_network, so an agent must infer that this creates rather than runs an existing machine.

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 creation framing and the virtualization prerequisite paragraph gives a concrete condition for enabling a flag. However, there is no explicit when-to-use vs when-not guidance, no mention of what to do if a machine with the same name already exists, and no pointer to run_machine/start_machine for existing machines.

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