Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

system_df

Report disk usage for images, containers, and volumes so you can see space held and reclaimable space before pruning.

Instructions

Report disk usage for images, containers, and volumes.

Use this before pruning to see how much space each category is holding and how
much of it is reclaimable. Requires the container system service to be running.

Returns:
    On success: {"status": "ok", "disk_usage": {...}}
        The payload has "containers", "images", and "volumes" keys, each with
        active / total counts and sizeInBytes / reclaimable byte counts.
    On error:   {"status": "error", "message": str, "details": str}

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": "system_df"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A4.4/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 well: it discloses the service-running prerequisite and describes both success and error response shapes, including that byte counts include a 'reclaimable' subset. It does not state whether the call is read-only or has side effects, but the 'report' framing and before-pruning guidance imply a passive measurement.

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 one-line purpose, then usage, then a clearly labelled Returns block. The Returns block partially duplicates the declared output schema, but it is well organized and free of filler.

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

Completeness5/5

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

For a zero-parameter read tool, everything needed to invoke it correctly is present: purpose, prerequisite, when to call it, and the shape of both success and error payloads.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, and the schema is an empty object, so the baseline of 4 applies; there is no parameter meaning to add or omit.

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?

States a specific verb and resource ('Report disk usage for images, containers, and volumes') and enumerates the exact categories covered, which cleanly separates it from sibling list_/inspect_ tools that enumerate individual objects rather than aggregate usage.

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?

Gives an explicit usage condition — 'Use this before pruning to see how much space each category is holding and how much of it is reclaimable' — and states the prerequisite that the container system service must be running. It does not name a specific sibling pruner tool, but the when-to-use context is clear.

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