Skip to main content
Glama
sco-mcp
by A1pine

Read a CCR build log

sco_ccr_build_log

Fetch the unparsed log for a CCR image build using its namespace and build ID to inspect build output and diagnose failures.

Instructions

Fetch the log of an image build (sco ccr builds log). Logs are returned as-is, not parsed. Needs a ccr component that ships builds — check sco_capabilities.

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>",
      "buildId": "<buildId>"
    },
    "name": "sco_ccr_build_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
buildIdYesBuild id
namespaceYesCCR namespace (CLI flag -n)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose that logs are returned raw and unparsed, which is genuinely useful output context. However, it says nothing about whether the call is read-only (only implied by "Fetch"), how large logs are handled, truncation or streaming behavior, or what happens for a nonexistent buildId.

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?

Three short sentences, each earning its place: purpose first, then output shape, then the prerequisite check. No filler or repetition of the title.

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?

There is no output schema and no annotations, so the description is the only source of return-value and safety context; it covers the raw-text nature of the return but omits log size limits, error behavior, and permission requirements. Adequate for a simple two-parameter read, but not fully self-sufficient.

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%, with both namespace (noted as CLI flag -n) and buildId documented in the schema itself. The description adds no meaning beyond that, so the baseline 3 applies.

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 and resource ("Fetch the log of an image build") and even names the underlying CLI command, which makes it distinguishable from sco_ccr_build_get and sco_ccr_build_list. It stops short of explicitly contrasting itself with those siblings, but the log-vs-metadata distinction is clear from the wording.

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 a concrete precondition ("Needs a ccr component that ships `builds`") and routes the agent to sco_capabilities to verify it before calling. It does not state when-not to use it or name an alternative log source, so it falls short of full when/when-not guidance.

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