Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

tag_image

Assign a new name or tag to a local container image by specifying its source and target references.

Instructions

Tag a local image with a new name/tag.
Example: tag_image("myapp:latest", "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": {
      "source": "<source>",
      "target": "<target>"
    },
    "name": "tag_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
targetYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not state whether the source image must already exist, what happens on failure, whether existing tags are overwritten or accumulated, or whether anything is pushed remotely. Only the word 'local' hints at a prerequisite.

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 sentence plus one illustrative example, front-loaded with the action. Every line contributes; the example is the highest-value part. It could be slightly tighter by combining the example into a parameter explanation.

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 explained. For a simple two-parameter operation the purpose and example are adequate, but the absence of annotations means prerequisites and mutation behavior remain unspecified, leaving the definition only minimally complete.

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 description coverage is 0%, with only bare 'Source' and 'Target' titles, so the description must compensate. The example does map the parameters concretely (source = existing local reference, target = new registry-qualified name:tag), which is genuinely useful. It still leaves format rules, tag defaults, and validation behavior unexplained.

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 and resource: 'Tag a local image with a new name/tag.' That is clearer than the name alone and rules out build/pull/push semantics. It doesn't explicitly differentiate from siblings such as push_image, but the operation is 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 only implied: 'local image' suggests the source must already exist locally, and the example shows the call shape. There is no explicit when-to-use guidance, no mention of what to do instead if the image is absent (pull_image/build_image), and no note that tagging does not push to the registry.

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