Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

inspect_image

Retrieve detailed metadata for a local container image by name or ID to verify configuration and readiness before running or managing containers.

Instructions

Get detailed metadata about a local image by name or ID.

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

Input Schema

NameRequiredDescriptionDefault
imageYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and the word 'Get' usefully signals a read-only operation. It does not disclose what happens when the image is absent locally (error vs. pull), nor whether it works on remote or registry-only references despite specifying 'local image'. The presence of an output schema lowers the need to describe return values.

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?

One short sentence with the action and target front-loaded and no filler. The phrase 'detailed metadata' is slightly vague about what is returned, but that is a minor dilution rather than wasted text.

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?

For a one-parameter tool with an output schema, the description covers the core intent and the identifier format. It leaves gaps around the local-only constraint and failure behavior, which matter because the tool name implies inspection of something the agent may not yet have on disk.

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 single 'image' parameter is documented nowhere in structured data. The description partially compensates by telling the agent it may pass a name or an ID, which is real added meaning. It does not give format examples (name:tag, short vs. full digest) or clarify precedence when both forms could match.

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 states a specific verb ('Get detailed metadata') and resource ('local image'), which separates it from list_images and from the other inspect_* tools that target containers, networks, or volumes. It stops short of explicitly contrasting itself with any named sibling, but the resource noun alone makes the target 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?

Usage is implied rather than stated: an agent can infer this is the tool for examining one image rather than listing images. There is no explicit when-to-use/when-not guidance, no mention of an alternative such as list_images for discovery, and no stated precondition that the image must already exist locally.

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