Skip to main content
Glama

codeartsbuild__DownloadRealTimeLog

Download real-time build logs for a CodeArts Build job by specifying the job ID, build number, and log offset, with an optional length limit.

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": {
      "build_no": "<build_no>",
      "job_id": "<job_id>",
      "offset": "<offset>"
    },
    "name": "codeartsbuild__DownloadRealTimeLog"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes构建的任务ID;
lengthNo可控制返回内容长度,默认值为1000000
offsetYes偏移量,传入前一次请求返回的offset
build_noYes构建任务的构建编号,从1开始,每次构建递增1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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 behavioral burden and it delivers almost nothing: no auth/permission requirements, no indication of whether the log is streamed or snapshot, no rate-limit or freshness caveats. The word "real-time" hints that content grows and must be re-polled via the offset token, but that inference has to come from the schema, not the description.

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

Conciseness2/5

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

The text is short but that is under-specification rather than conciseness: a single bracketed vendor tag plus a fragment that repeats the name. There is no structure, no front-loaded explanation of purpose, and no sentence that carries information an agent could act on beyond the title.

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

Completeness1/5

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

For a four-parameter, three-required network log-retrieval tool with no annotations and no output schema, the description should explain what is returned, how paging terminates, and what distinguishes a real-time log from the static log siblings. None of that is present, so the definition is inadequate even though the input schema is well documented.

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%: job_id, build_no, offset, and length all have inline descriptions, including the note that offset should be the value returned by the previous request. The description adds no additional parameter meaning, so the baseline of 3 applies.

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

Purpose2/5

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

The description "[CODEARTSBUILD] 下载构建实时日志" is essentially a re-statement of the tool name DownloadRealTimeLog in another language, with a vendor prefix. It conveys the verb (download) and resource (build real-time log) but adds no scope detail and gives no basis for distinguishing it from sibling log tools such as DownloadBuildLog, DownloadTaskLog, 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 when-to-use guidance, no statement of when this real-time log endpoint is preferable to the other download-log siblings, and no prerequisites. The only usage signal in the definition is the pagination mechanism implied by the schema's offset/length fields, not by the prose.

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