Skip to main content
Glama

pangea_publish_image

Publish a local OCI/Docker archive or Docker image tag by normalizing and streaming it to a Pangea project registry; supports resume and platform selection.

Instructions

Normalize (if needed) and stream a local OCI/docker-save archive (.tar) or local Docker image tag (from_docker) to the project's Pangea registry via POST /v1/projects/{pid}/images.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pangea_publish_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
resumeNoDerive deterministic idempotency key from archive digests
projectNoOptional project ID (prj_...) or name
platformNoTarget platform when selecting from a multi-arch archive (default: linux/amd64)
directoryNoOptional local directory containing pangea.yaml
project_idNoOptional project ID (prj_...)
from_dockerNoLocal Docker image tag/reference to export via docker save and publish directly
request_keyNoOptional 16–100 char idempotency key
archive_pathNoLocal path to an OCI or docker-save archive (.tar); automatically normalized for Pangea
wait_secondsNoSeconds to poll receipt completion (default: 300)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that archives are normalized 'if needed', that the transfer is a POST stream to a project-scoped endpoint, and the resume/idempotency mechanism, but it says nothing about required credentials, whether an existing image tag is overwritten, size/time limits, or what happens when polling with wait_seconds times out.

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 dense sentence with no filler, front-loading the action and the two input forms. The trailing REST endpoint reference adds little for an agent that cannot call HTTP directly, but it is not harmful.

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 mutation tool with nine entirely optional parameters, no annotations, and no output schema, the description covers the input modes but omits authentication context, overwrite behavior, and any indication of what the returned receipt or polling result looks like. Adequate to attempt a call, insufficient to predict its effects.

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 coverage is 100%, so the baseline is 3, but the description adds genuine meaning the schema does not: it frames archive_path and from_docker as alternative source modes and clarifies the normalization applied to the archive. It still leaves the relationship between project and project_id, and when resume/request_key should be used, 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?

States a specific verb+resource: 'stream a local OCI/docker-save archive (.tar) or local Docker image tag ... to the project's Pangea registry', and names the endpoint used. It does not distinguish itself from a sibling like pangea_deploy_image, so an agent cannot tell from this text alone whether publishing is a separate step from deploying.

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?

The description implies two mutually exclusive input paths (archive_path or from_docker) but gives no when-to-use guidance, no prerequisites (auth, project resolution, existing-image handling), and never mentions the sibling pangea_deploy_image as an alternative or follow-on step. Usage must be inferred entirely.

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

Deploy Server

Other Tools