Skip to main content
Glama

codeartsbuild__ShowJobBuildTime

Retrieves CodeArts Build job duration data for a specified repository and time interval, enabling analysis of recent build-time trends and identification of slow jobs.

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": {
      "interval": "<interval>",
      "job_id": "<job_id>",
      "repository_name": "<repository_name>"
    },
    "name": "codeartsbuild__ShowJobBuildTime"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNo代码仓分支名。
job_idYes构建的任务ID;
intervalYes查询时间,查最近几天的。
repository_nameYes代码仓名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2/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 burden, and it discharges almost none of it. The word 洞察 hints at an aggregated/analytical view rather than a raw record, but there is no statement of required permissions, whether data is aggregated per day, or whether results are limited by the interval cap.

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 not concise in the meaningful sense: it is a single four-character phrase with no front-loaded scope, no verb-object detail, and no structure. Brevity here reflects under-specification rather than economy.

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 three-required-parameter analytics endpoint with no annotations and no output schema, the description should at minimum indicate what is returned (duration values over the queried interval) and how interval/repository scope the result. None of that is present, leaving the agent to infer the entire contract from parameter names.

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%: all four parameters (branch, job_id, interval, repository_name) have inline descriptions, examples, patterns, and bounds, so semantics are fully documented in structured data. The description adds nothing beyond that, which meets the baseline-3 bar when the schema does the heavy lifting.

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 bilingual restatement of the tool name ShowJobBuildTime, with the vendor prefix adding no meaning. It gives no hint of scope (per-job? per-branch? over what window?) and does nothing to distinguish it from nearby siblings such as ShowJobBuildSuccessRatio or ShowJobSuccessRatio, which read similarly at the name level.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 when-not-to-use guidance, and no named alternative. An agent cannot tell from this text why it would pick this duration-analysis tool over the success-ratio tools or over ShowBuildRecord, which also carry timing data.

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