Skip to main content
Glama
sco-mcp
by A1pine

Create a CCR image build

sco_ccr_build_create

Builds a remote container image from a local Dockerfile or HTTPS tarball in a CCR namespace; supports dry-run preview and requires confirmation.

Instructions

Trigger a remote image build from a local Dockerfile (sco ccr builds create). Requires confirm: true. The context may be a local directory or an https tarball. Needs a ccr component that ships builds (absent on sco-ccr v1.2.0 — check sco_capabilities first).

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": {
      "namespace": "<namespace>",
      "dockerfile": "<dockerfile>",
      "tag": "<tag>"
    },
    "name": "sco_ccr_build_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesResulting image reference, name:tag (-t)
dryRunNoReturn the exact command line without executing it.
confirmNoMust be true to actually execute a mutating command. When omitted or false the tool refuses and shows the command it would have run.
contextNoBuild context: local path or https tarball URL (-c)
namespaceYesCCR namespace (CLI flag -n)
dockerfileYesPath to the Dockerfile (-f)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key traits: this is a mutating remote operation, it refuses without confirm: true, and it depends on a component version that may lack the subcommand. It does not describe how the build is tracked afterward (build id, polling via build_get/log).

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?

Three short sentences, front-loaded with the action, then the confirm gate, then the version prerequisite. Dense and useful, though the parenthetical CLI hint and backticked tokens add some visual noise.

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?

Covers the prerequisites and safety gate for a six-parameter mutation tool with no annotations and no output schema. The one remaining gap is the return/follow-up story: an agent is not told whether the call returns a build ID or where to poll status.

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 100%, so the schema already documents all six parameters including confirm and dryRun. The description reinforces the confirm requirement and the context value forms (local dir vs https tarball) but adds little syntax or meaning beyond the property descriptions.

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?

States a specific verb and resource ('Trigger a remote image build from a local Dockerfile') and even names the CLI equivalent `sco ccr builds create`, which pins down the action unambiguously against siblings like sco_ccr_build_get/list/log that inspect builds rather than start them.

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?

Gives concrete preconditions: confirm: true is required, and the agent should call sco_capabilities first because `builds` is absent on sco-ccr v1.2.0. It also clarifies the context can be a local directory or an https tarball. It stops short of routing between this tool and the read-side build siblings.

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