Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

machine_logs

Fetch container machine logs for a named or default machine, and optionally retrieve the boot log or limit trailing output lines.

Instructions

Fetch container machine logs (default machine if name omitted). Set boot=True for the boot log; limit caps the number of trailing lines.

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

Input Schema

NameRequiredDescriptionDefault
bootNo
nameNo
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose useful behavior: name omitted falls back to the default machine, boot selects the boot log, and limit takes trailing lines. It does not state read-only safety, error behavior for unknown machines, or whether limit=null means unbounded, so gaps remain.

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?

Two compact sentences, front-loaded with the core action, followed by the two non-obvious flags. No filler or restated title.

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?

For a 3-parameter read tool with an output schema and no annotations, the definition covers all parameters and the default-machine behavior. The remaining gap is sibling differentiation and edge-case semantics for null limit.

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?

Schema description coverage is 0%, so the description must compensate and largely does: it defines the default-machine fallback for name, the purpose of boot, and the trailing-lines semantics of limit. Only the null/unbounded case for limit and the format of name (ID vs. display name) are left ambiguous.

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?

States a specific verb and resource: 'Fetch container machine logs', scoped to a machine. It implicitly separates machine-level logs from the sibling system_logs/get_logs by naming 'machine', but never explicitly contrasts with them, so the agent must infer the boundary.

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 rather than stated: fetch machine logs, pass boot=True for the boot log. There is no explicit when-to-use-this-vs-get_logs/system_logs guidance and no exclusions or prerequisites, leaving sibling selection to inference.

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