Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

set_machine

Configures a container machine's CPU, memory, home mount mode, and nested virtualization settings; changes apply after restart and target the default machine when no name is provided.

Instructions

Set container machine configuration (takes effect after restart). home_mount is one
of 'ro', 'rw', 'none'. virtualization toggles nested virtualization (requires Apple
Container 1.1+, Apple Silicon M3+, macOS 15+, and a guest kernel with CONFIG_KVM=y).
Applies to the default machine if name is omitted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpusNo
nameNo
memoryNo
home_mountNo
virtualizationNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the restart-to-apply semantics and the substantial platform prerequisites for 'virtualization' (Apple Container 1.1+, M3+, macOS 15+, CONFIG_KVM=y). It still doesn't say whether omitted fields are left untouched, whether this is reversible, or what errors occur on unsupported hardware.

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?

Three tight sentences, front-loaded with the action and its restart caveat, then parameter specifics. The parenthetical requirement list is dense but each clause carries distinct information; no filler sentences.

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, and the description covers the highest-risk behaviors (restart requirement, virtualization prerequisites, default targeting). For a 5-parameter mutation tool with zero annotation and zero schema-description coverage, however, leaving cpus/memory unexplained and partial-update semantics unstated is a real gap.

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% across 5 parameters, so the description must compensate. It explains home_mount's accepted values ('ro', 'rw', 'none'), clarifies virtualization as a nested-virtualization toggle, and explains name's default-machine fallback — but 'cpus' and 'memory' (including memory's string format) receive no mention at all.

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?

The description opens with a specific verb+resource pair: 'Set container machine configuration,' which distinguishes it from create_machine, delete_machine, and inspect_machine siblings. It never explicitly names an alternative, but the mutate-configuration intent is unambiguous.

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?

It supplies two useful usage facts: changes only take effect after a restart, and the default machine is targeted when 'name' is omitted. What's missing is when to prefer this over create_machine, or whether the machine must be stopped/running for the change to apply.

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