Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

get_logs

Fetch recent stdout and stderr from a specific container to inspect runtime output and diagnose issues.

Instructions

Fetch recent stdout/stderr from a specific container.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
container_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only the data source (stdout/stderr from one container). It says nothing about whether logs are truncated, how far back "recent" reaches, whether the call blocks or streams, or what happens for a stopped or unknown container.

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?

A single well-formed sentence with the resource and scope front-loaded and no filler. Its brevity is close to under-specification rather than verbosity, but structurally it is clean.

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

Completeness2/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, but the tool still has two undocumented parameters, no annotations, and close sibling alternatives (machine_logs, system_logs) that the description does not help disambiguate. For a 2-parameter log-fetch operation this leaves too much unresolved.

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

Parameters2/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 explain both parameters. It only loosely implies the container_id ("a specific container") and never mentions the limit parameter at all—an agent cannot tell whether limit means lines, bytes, or seconds, or that it defaults to 100.

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 gives a specific verb ("Fetch") and a concrete resource ("recent stdout/stderr") scoped to "a specific container," which is enough for an agent to understand the operation. It does not explicitly differentiate from siblings like machine_logs or system_logs, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to choose this over machine_logs or system_logs, nor any stated preconditions such as the container needing to exist or be running. The only usage hint is the word "recent," which is not a selection criterion.

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