Skip to main content
Glama
sco-mcp
by A1pine

Update CCR image labels

sco_ccr_label_update

Set label dimensions on a CCR image, updating only the tags you provide while leaving other dimensions untouched. Requires confirm: true before the change is applied.

Instructions

Set label dimensions on an image (sco ccr labels update). Only the dimensions present in tags are sent. Requires confirm: true.

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>",
      "imageName": "<imageName>",
      "tags": "<tags>"
    },
    "name": "sco_ccr_label_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYesTag values to set; omitted dimensions are left untouched
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.
imageNameYesImage name
namespaceYesCCR namespace (CLI flag -n)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 burden; it does disclose two meaningful behaviors: the mutation is gated on confirm:true and the update is dimension-scoped rather than a full overwrite. It does not address whether existing values inside a named dimension are replaced or appended, whether an empty array clears a dimension, or any permission/namespace requirements.

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 with the action stated first and the constraint second — no filler or hedging. The only cost is that two of the three sentences restate schema content rather than extend it.

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 5-parameter, nested-object mutation tool with no annotations and no output schema, the description covers the essentials to call it safely but leaves behavior under-specified: no note on return shape, on value-replacement versus merging within a dimension, or on failure modes. Adequate but not 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 coverage is 100%, so the schema already documents all five parameters, including the tags merge semantics and the confirm/dryRun gate. The description restates "only the dimensions present in tags are sent" and "Requires confirm: true", both of which are already in the schema text, so it adds no syntax or format detail beyond it.

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?

"Set label dimensions on an image" gives a specific mutation verb and resource, and the parenthetical CLI equivalent anchors it to `sco ccr labels update`. The mutating verb distinguishes it from the read-side siblings (sco_ccr_label_get, sco_ccr_label_list) without naming them, which is sufficient here.

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?

It states the execution prerequisite ("Requires confirm: true") and the partial-update rule ("Only the dimensions present in tags are sent"), which are genuine usage conditions. However, it never says when to reach for this over sco_ccr_label_get/list or what happens with dryRun, so guidance is implied rather than spelled out.

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