Skip to main content
Glama

codeartsbuild__ShowReportSummary

Fetches the coverage report summary for a CodeArts Build job by job ID and build number, so you can review test coverage results for a specific build.

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>"
    },
    "name": "codeartsbuild__ShowReportSummary"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes构建的任务ID;
build_noYes构建任务的构建编号,从1开始,每次构建递增1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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. '获取' weakly implies a read-only retrieval, but nothing is said about permissions, whether the report may be stale or unavailable for a build, what the payload contains, or any rate/scope limits. For a report-retrieval tool with zero annotation coverage this is a substantial gap.

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?

It is a single short phrase with no wasted clauses, so it is concise, but the brevity comes from under-specification rather than tight editing. The bracket tag and the word '接口' consume much of the text without conveying information.

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?

The tool has two required parameters and no output schema, so the description is the only place to explain what a coverage summary returns and when it is empty. It provides none of that, leaving the agent unable to anticipate the response or failure modes.

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%: both job_id (32-char hex job identifier) and build_no (incrementing build number starting at 1) are fully documented in the schema. The description adds no meaning beyond that, so the baseline 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 reads only "[CODEARTSBUILD] 获取覆盖率接口" — 'get coverage-rate interface'. It names a resource (coverage) but leaves the operation vague, and '接口' (interface) is meta filler rather than a description of what is retrieved. Nothing distinguishes it from sibling summary/report tools such as ShowReport or ShowJobBuildSuccessRatio.

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, and no statement of which alternative to pick when an agent wants a coverage report versus a build record or build info. The agent must infer usage entirely from the name and the two required parameters.

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