Skip to main content
Glama
sco-mcp
by A1pine

Fetch ACP job logs

sco_acp_job_logs
Read-onlyIdempotent

Retrieve a snapshot of an ACP job's logs by job ID or name, then rerun to poll for updates. Use workspace, worker, or container options to target specific logs.

Instructions

Return a snapshot of a job's logs (sco acp jobs stream-logs). Streaming mode is never used because a tool call must terminate; rerun to poll.

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": {
      "jobId": "<jobId>"
    },
    "name": "sco_acp_job_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesACP job id (trailing segment of `id` from sco_acp_job_list, e.g. om-59u5pwy4) or job name. The display_name is not accepted by the CLI.
workspaceNoWorkspace name. Defaults to the SCO_WORKSPACE environment variable when omitted.
workerNameNoWorker/pod name such as master-0; defaults to the first pod
containerNameNoContainer inside the worker; defaults to the primary container

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?

Annotations already declare readOnlyHint=true and idempotentHint=true, so safety and repeatability are covered by structured data. The description adds genuinely useful context beyond that — that the result is a bounded snapshot and that fresh content requires repeated polling. It does not mention output size limits, truncation, or whether logs are returned as raw text or structured lines, which matters for a polling tool.

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?

Two short sentences, with the core snapshot semantics front-loaded and the streaming caveat immediately after. No filler, no restatement of the title, and the CLI reference is compactly parenthesized.

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, so the description carries some burden for describing what comes back; 'snapshot of a job's logs' is thin given that log volume, truncation, and format are exactly what a polling agent needs to plan around. It is adequate for a 4-parameter read tool, but leaves the return contract under-specified.

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 every parameter (jobId, workspace, workerName, containerName) is already documented, including defaults and the CLI caveat about display_name. The description adds nothing about parameter meaning or interactions, so the baseline of 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?

The description states a specific verb and resource ('Return a snapshot of a job's logs') and pins down the scope with 'snapshot', which distinguishes it from a describe or list call. It even names the underlying CLI command (`sco acp jobs stream-logs`), but it never explicitly contrasts itself with siblings like sco_acp_job_describe or sco_acp_job_workers, leaving that routing to the reader.

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 real usage guidance: streaming is never used because tool calls must terminate, and the agent should 'rerun to poll'. That tells the caller how to approximate tailing behavior. It stops short of naming an alternative tool or stating when this is the wrong choice versus a describe call.

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