Skip to main content
Glama

codeartsbuild__ShowJobBuildSuccessRatio

Query a CodeArts Build job's build success ratio over a specified number of recent days using its job ID and repository name.

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__ShowJobBuildSuccessRatio"
  }
}

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/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, yet it discloses nothing about side effects, permissions, rate limits, or what the success-ratio computation covers. A single phrase cannot establish that this is a read-only aggregation over recent days of build history.

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 text is a single front-loaded phrase with no wasted sentences, but the "[CODEARTSBUILD]" tag is noise and the brevity reflects under-specification rather than tight editing. There is nothing to restructure because almost nothing was written.

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 four parameters (three required), no annotations, and no output schema, the description should explain what the returned ratio represents and over what window, but it does none of this. For a parameterized analytics query it is barely more than a label.

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 branch, job_id, interval, and repository_name are already documented with examples and constraints. The description adds no extra meaning, but the baseline of 3 applies 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.

Purpose3/5

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

"查询构建成功率" names a specific verb (query) and resource (build success ratio), so the core action is identifiable. However, it gives no clue how this differs from the near-identical sibling codeartsbuild__ShowJobSuccessRatio, leaving the agent unable to choose between them from the text alone.

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 (e.g. that a job must have prior build records), and no mention of any alternative tool. The agent must infer applicability entirely from the tool name and schema.

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