Skip to main content
Glama

codeartsbuild__DownloadTaskLog

Downloads build step logs for a specified CodeArts Build task and record, with optional log-level filtering for troubleshooting.

Instructions

[CODEARTSBUILD] 下载构建步骤日志

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": {
      "record_id": "<record_id>",
      "task_name": "<task_name>"
    },
    "name": "codeartsbuild__DownloadTaskLog"
  }
}

Input Schema

NameRequiredDescriptionDefault
log_levelNo日志等级 值为INFO | DEBUG。
record_idYes记录ID,36位数字、小写字母、'-'组组合。
task_nameYes步骤名称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the full burden falls on the description, which provides only a label. It does not disclose permission requirements, what happens if the step log is unavailable, or the output format, and 'download' implies a retrieval side effect that is left unexplained.

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?

A single short phrase with no wasted words and the key action front-loaded. It is economical, though its brevity borders on under-specification.

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?

For a tool with two required parameters and no output schema, the description should state what the download returns, for example whether it writes a file or returns the text. Nothing beyond the title-level label is provided.

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 record_id, task_name, and log_level are fully documented in the schema. The description adds no meaning beyond that, 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 gives a specific verb and resource combination ('下载' + '构建步骤日志'), which is distinct from a generic build log. It is clear what the tool does, but it does not differentiate from closely related sibling tools such as DownloadBuildLog or DownloadLogByRecordId.

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 guidance on when to use this tool versus the similarly named log-download tools in the catalog. The definition does not state any conditions or exclusions.

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