Skip to main content
Glama
Apple Container MCP Server

Apple Container MCP Server

by joeshirey

registry_login

Log in to a container registry so pull and push operations can authenticate; credentials are sent via stdin to avoid exposing them in process arguments.

Instructions

Log in to a container registry so that pull/push operations can authenticate.
Example: registry_login("registry.example.com", "myuser", "mypassword")
scheme may explicitly select http or https; CLI 1.4.1 defaults to https.
Note: credentials are passed via stdin to avoid exposing them in process arguments.

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": {
      "server": "<server>",
      "username": "<username>",
      "password": "<password>"
    },
    "name": "registry_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemeNo
serverYes
passwordYes
usernameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It usefully discloses that credentials are passed via stdin and that scheme defaults to https on CLI 1.4.1, but it does not explain whether credentials are persisted, whether existing login state is overwritten, or how authentication failures surface.

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?

The description is front-loaded with the purpose, then provides a concrete example, scheme behavior, and a security note. Every sentence adds useful information with no wasted wording.

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 four-parameter login tool with an output schema, the definition covers the core action, required parameters via example, scheme default, and the stdin credential-handling detail. It is nearly complete, though persistence and failure behavior could be clearer.

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%, so the description must compensate. The example shows server, username, and password usage, and the scheme note explains http/https selection with an https default, but server formatting and credential handling are only partially specified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: log in to a container registry, with the goal that pull/push operations can authenticate. This clearly separates the tool from sibling operations such as registry_logout, build_image, and pull/push-related tools.

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

Usage Guidelines4/5

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

It gives a clear usage context: use this so pull/push operations can authenticate. It does not explicitly state when not to use it or mention registry_logout as the corresponding cleanup step, but the operational context is clear.

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