Skip to main content
Glama

codeartsbuild__ShowJobSuccessRatio

Retrieves the build success ratio for a CodeArts Build job within a specified start and end date range, helping assess job reliability over time.

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": {
      "end_time": "<end_time>",
      "job_id": "<job_id>",
      "start_time": "<start_time>"
    },
    "name": "codeartsbuild__ShowJobSuccessRatio"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes构建的任务ID;
end_timeYes区间结束时间,格式yyyy-MM-dd。2022-02-03
start_timeYes区间开始时间,格式yyyy-MM-dd。2022-01-04

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 supplied, so the description carries the full behavioral burden. It does not disclose whether the tool is read-only, what the returned ratio looks like (percentage vs fraction), how it behaves when no builds exist in the range, or whether the time range is inclusive — meaningful gaps for an unannotated tool.

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 compact sentence with the bracket-tag prefix and the core purpose front-loaded. Nothing is redundant, though the sentence is short enough that it could have afforded one more clause of guidance.

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

Completeness3/5

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

With three fully documented required parameters and no output schema, the definition is minimally adequate for invoking the tool. However, given zero annotations and no output schema, it should have explained the return value and edge-case behavior to be complete.

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%, with each of job_id, start_time, and end_time documented including formats and a path/query location. The description only restates the time-range concept and adds no meaning beyond the schema, so the baseline 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?

Description states a specific verb (查看 = view/query) and resource (构建成功率 = build success rate) scoped by start and end time. It is distinguishable from sibling tools like ShowJobBuildTime or ShowJobStatus, though the near-duplicate sibling ShowJobBuildSuccessRatio is not explicitly differentiated.

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?

No when-to-use guidance is given beyond the time-range scoping implied by the parameters. The description does not say when to prefer this over the very similarly named ShowJobBuildSuccessRatio sibling, nor does it state any prerequisites such as the job needing prior build history.

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