Skip to main content
Glama

codeartspipeline__ShowPipelineLog

Retrieve pipeline execution logs by project, pipeline, run, job, and step IDs to inspect build or deployment output and diagnose failures.

Instructions

[CODEARTSPIPELINE] 查询流水线日志

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": {
      "job_run_id": "<job_run_id>",
      "limit": "<limit>",
      "pipeline_id": "<pipeline_id>",
      "pipeline_run_id": "<pipeline_run_id>",
      "project_id": "<project_id>",
      "sort": "<sort>",
      "step_run_id": "<step_run_id>"
    },
    "name": "codeartspipeline__ShowPipelineLog"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortYes排序规则["asc","desc"]
limitYes最大日志行数
end_offsetNo日志结束偏移
job_run_idYes流水线任务ID
project_idYes项目ID
pipeline_idYes流水线ID
step_run_idYes流水线步骤ID
start_offsetNo日志起始偏移
pipeline_run_idYes流水线运行实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses nothing: not that this is a read-only operation, not that the log is paginated via start_offset/end_offset and limit, not what happens when an offset exceeds the log length, and not what the response contains. For a 9-parameter tool with zero annotation coverage this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single line is front-loaded and free of waste, but it is under-specified rather than concise; the '[CODEARTSPIPELINE]' prefix consumes part of the only sentence without adding usable information. Nothing is redundant, but much is missing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 9 parameters, 7 required, no annotations and no output schema, the agent needs more than a six-character purpose statement — at minimum that the tool is read-only, that log retrieval is offset/limit based, and that a run ID plus job/step run ID are all required. Virtually all of that is absent.

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% and every parameter carries a Chinese description (offsets, limit, sort order, path IDs), so the schema does the heavy lifting. The description adds no meaning beyond that — in particular it never explains the interaction between limit and the two offsets — so the baseline of 3 is the correct ceiling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('查询流水线日志' / query pipeline logs), so the agent knows it is a read of pipeline execution logs. Beyond that it gives no scope detail — which run, which step — and does nothing to distinguish it from siblings such as codeartspipeline__ShowPipelineRunDetail, which could plausibly also surface run information.

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?

There is no when-to-use guidance, no prerequisites, and no mention of any alternative tool. The agent must infer from the name alone that this is the tool for retrieving log content, and cannot tell how it relates to ShowPipelineRunDetail or ShowPipelineArtifacts.

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