Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

create_network

Creates a new container network with a specified name and optional subnet, enabling isolated connectivity for macOS-native containers.

Instructions

Creates a new network with the given name and optional subnet.

`container network create` has no --mtu flag. MTU is set per attachment instead,
e.g. run_container(..., network="my-net,mtu=1400").

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

Input Schema

NameRequiredDescriptionDefault
nameYes
subnetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does non-trivial work: it explains that network creation has no MTU knob and where MTU is applied instead, which is a non-obvious behavioral constraint an agent would otherwise get wrong. It omits things like error behavior on duplicate names/subnet conflicts, but it is a low-risk create operation and the key gotcha is covered.

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?

Three short sentences, front-loaded with the core action followed by the operational caveat and a concrete usage example. Every sentence contributes; no filler.

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?

An output schema exists, so return values need no explanation, and with only two simple parameters the description covers the essential surface plus the MTU caveat. It could go slightly further on subnet format or conflict behavior, but nothing critical for correct invocation is missing.

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 0%, so the description must carry parameter meaning, and it does state that name is required and subnet optional. However, it adds no format detail for subnet (e.g., CIDR notation) or constraints beyond what the property names imply, leaving meaning mostly derivable from the schema itself.

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 ("Creates a new network") and names both configurable inputs (name, optional subnet), so an agent can identify the operation immediately. It does not explicitly contrast itself with siblings like create_volume or remove_network, but the resource 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete when/how-not guidance: MTU cannot be set on the network, and instead must be supplied per attachment via run_container(..., network="my-net,mtu=1400"). That steers an agent away from a wrong assumption. It stops short of stating prerequisites or when to prefer another network-related tool.

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