Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

push_image

Publish a local container image to a registry, optionally selecting HTTP or HTTPS, so the image can be shared or deployed from that registry.

Instructions

Push a local image to a container registry.
scheme may explicitly select http or https; CLI 1.4.1 defaults to https.
The image name should include the registry host for non-Docker Hub registries.
Example: push_image("registry.example.com/myapp:v1.0")

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

Input Schema

NameRequiredDescriptionDefault
imageYes
schemeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does add real behavioral context: the scheme defaults to https and the image name must carry the registry host for non-Docker Hub targets. However, it omits authentication requirements, whether the push overwrites existing tags, and any indication of failure behavior against a remote registry. The added context is genuine but the safety and side-effect profile of a network write operation remains undisclosed.

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?

The purpose is front-loaded in the first sentence, and the remaining sentences each add distinct operational detail. Four short lines plus an inline example, with no filler. The version reference is the one element that could be clearer.

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?

An output schema exists, so return values need not be described. For a network-mutating operation against a remote registry, though, the definition leaves gaps around authentication and failure modes that an agent would want before invoking it. It is adequate but not complete for the tool's complexity.

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 it largely does: 'scheme may explicitly select http or https; CLI 1.4.1 defaults to https' explains the optional parameter's values and default, and the registry-host rule plus the example clarifies the format expected for 'image'. Only the version-scoped wording ('CLI 1.4.1') is slightly opaque.

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 and resource: 'Push a local image to a container registry.' That distinguishes it from pull_image and build_image by action alone. It stops short of explicitly naming or contrasting a sibling, so it lands at 4 rather than 5.

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 only implied by the verb 'push' and by the requirement to qualify the image name with a registry host. There is no explicit statement of when to use this versus build_image or tag_image, and no mention of prerequisites such as a prior build or an active login. The registry-host naming guidance is useful but is parameter guidance rather than when-to-use guidance.

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